1 #include "services_microboone.fcl"
2 #include "time_memory_tracker_microboone.fcl"
3 #include "seedservice_microboone.fcl"
4 #include "genie_eventweight.fcl"
6 process_name: GenieEventWeight
10 scheduler: { defaultExceptions: false } # Make all uncaught exceptions fatal.
11 # Load the service that manages root files for histograms.
12 TFileService: { fileName: "genie_reweight_hist.root" }
13 TimeTracker: @local::microboone_time_tracker
14 MemoryTracker: @local::microboone_memory_tracker
15 RandomNumberGenerator: {} #ART native random number generator
16 message: @local::microboone_message_services_prod_debug
17 FileCatalogMetadata: @local::art_file_catalog_mc
18 @table::microboone_simulation_services
22 services.DetectorPropertiesService.NumberTimeSamples: 6400
23 services.DetectorPropertiesService.ReadOutWindowSize: 6400
24 services.DetectorClocksService.InheritClockConfig: false
25 services.DetectorClocksService.TriggerOffsetTPC: -0.400e3
27 #source is now a root file
30 module_type: RootInput
31 maxEvents: -1 # Number of events to create
34 # Define and configure some modules to do work on each event.
35 # First modules are defined; they are scheduled later.
36 # Modules are grouped by type.
40 genieeventweight: @local::genie_eventweight
41 rns: { module_type: "RandomNumberSaver" }
44 #define the output stream, there could be more than one if using filters
47 #define the producer and filter modules for this path, order matters,
48 #filters reject all following items. see lines starting physics.producers below
49 simulate: [ rns, genieeventweight ]
52 trigger_paths: [simulate]
54 #end_paths is a keyword and contains the paths that do not modify the art::Event,
55 #ie analyzers and output streams. these all run simultaneously
56 end_paths: [stream1,ana]
59 #block to define where the output goes. if you defined a filter in the physics
60 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
61 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
66 module_type: RootOutput
67 fileName: "%ifb_%tc_rewgt.root" #default file name, can override from command line with -o or --output
68 dataTier: "reconstructed"