1 #include "services_microboone.fcl"
2 #include "backtrackerservice.fcl"
3 #include "particleinventoryservice.fcl"
5 #include "largeantmodules.fcl"
6 #include "detsimmodules.fcl"
7 #include "mccheatermodules.fcl"
8 #include "photpropservices.fcl"
9 #include "opticaldetectormodules.fcl"
11 process_name: SinglesGen
15 # Load the service that manages root files for histograms.
16 TFileService: { fileName: "single_hist_uboone.root" }
18 RandomNumberGenerator: {} #ART native random number generator
19 @table::microboone_simulation_services
20 BackTrackerService: @local::microboone_backtrackerservice # defined in backtrackerservice.fcl
21 ParticleInventoryService: @local::standard_particleinventoryservice # defined in backtrackerservice.fcl
23 services.PhotonVisibilityService: @local::standard_photonvisibilityservice
25 #Start each new event with an empty event.
28 module_type: EmptyEvent
29 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
30 maxEvents: 5 # Number of events to create
31 firstRun: 1 # Run number to use for this file
32 firstEvent: 1 # number of first event in the file
35 # Define and configure some modules to do work on each event.
36 # First modules are defined; they are scheduled later.
37 # Modules are grouped by type.
43 generator: @local::microboone_singlep
44 largeant: @local::microboone_largeant
45 daq: @local::microboone_simwire
46 backtrack: @local::standard_backtrackerloader
51 largana: @local::microboone_largeantana
52 pmtresponse: @local::microboone_simphotoncounter
55 #define the producer and filter modules for this path, order matters,
56 #filters reject all following items. see lines starting physics.producers below
57 simulate: [ generator, largeant, daq, backtrack ]
58 analyzeIt: [ largana, pmtresponse ]
59 #define the output stream, there could be more than one if using filters
62 #trigger_paths is a keyword and contains the paths that modify the art::event,
63 #ie filters and producers
64 trigger_paths: [simulate]
66 #end_paths is a keyword and contains the paths that do not modify the art::Event,
67 #ie analyzers and output streams. these all run simultaneously
68 end_paths: [analyzeIt, stream1]
71 #block to define where the output goes. if you defined a filter in the physics
72 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
73 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
78 module_type: RootOutput
79 fileName: "single_gen_uboone.root" #default file name, can override from command line with -o or --output
83 # set quantum efficiency supressed scint yield to 0.03 * 24000
84 services.DetectorPropertiesService.ScintYield: 720
86 # enable optical physics in LArG4
87 services.LArG4Parameters.EnabledPhysics: [ "Em",
95 "NeutronTrackingCut" ]
97 # enable this custom physics list
98 services.LArG4Parameters.UseCustomPhysics: true
100 # disable cerenkov light
101 services.DetectorPropertiesService.EnableCerenkovLight: true