1 #include "seedservice.fcl"
2 #include "genie_eventweight.fcl"
4 process_name: GenieEventWeightTest
7 # Make all uncaught exceptions fatal.
8 scheduler: { defaultExceptions: false }
10 # Provides random numbers needed for the "multisim" reweighting strategy
11 NuRandomService: @local::random_NuRandomService
13 # art native random number generator
14 RandomNumberGenerator: {}
16 # NOTE: the GenieEventWeight class currently does not make any analysis
17 # histograms. It might be useful to add this functionality at some point for
18 # diagnostic purposes.
19 # Load the service that manages root files for histograms.
20 #TFileService: { fileName: "genie_reweight_hist.root" }
23 #source is now a root file
26 module_type: RootInput
27 maxEvents: -1 # Number of events to create (-1 means "process all of them")
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
36 genieeventweightTest: @local::genie_eventweight
37 rns: { module_type: "RandomNumberSaver" }
40 # Define the output stream, there could be more than one if using filters
43 # Define the producer and filter modules for this path, order matters,
44 # filters reject all following items.
45 simulate: [ rns, genieeventweightTest ]
47 trigger_paths: [ simulate ]
49 # end_paths is a keyword and contains the paths that do not modify the
50 # art::Event, i.e., analyzers and output streams. These all run simultaneously
51 end_paths: [ stream1 ]
54 # Block to define where the output goes. If you defined a filter in the physics
55 # block and put it in the trigger_paths then you need to put a SelectEvents:
56 # {SelectEvents: [XXX]}
57 # Entry in the output stream you want those to go to, where XXX is the label of
58 # the filter module(s)
61 module_type: RootOutput
62 # default file name, can override from command line with -o or --output
63 fileName: "%ifb_%tc_rewgt.root"
64 dataTier: "reconstructed"