1 #include "services_dune.fcl"
2 #include "textfilegen.fcl"
8 # Load the service that manages root files for histograms.
9 TFileService: { fileName: "histAntiMuonCutEvents_1000.root" }
11 RandomNumberGenerator: {} #ART native random number generator
12 FileCatalogMetadata: @local::art_file_catalog_mc
13 @table::dune35t_simulation_services_legacy
17 #Start each new event with an empty event.
20 module_type: EmptyEvent
21 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22 maxEvents: 10 # Number of events to create
23 firstRun: 1 # Run number to use for this file
24 firstEvent: 1 # number of first event in the file
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
35 generator: @local::standard_textfilegen
36 rns: { module_type: "RandomNumberSaver" }
39 #define the producer and filter modules for this path, order matters,
40 #filters reject all following items. see lines starting physics.producers below
41 simulate: [ rns, generator ]
43 #define the output stream, there could be more than one if using filters
46 #trigger_paths is a keyword and contains the paths that modify the art::event,
47 #ie filters and producers
48 trigger_paths: [simulate]
50 #end_paths is a keyword and contains the paths that do not modify the art::Event,
51 #ie analyzers and output streams. these all run simultaneously
55 #block to define where the output goes. if you defined a filter in the physics
56 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
62 module_type: RootOutput
63 fileName: "AntiMuonCutEvents_LSU_v2_dune35t_%tc_gen.root" #default file name, can override from command line with -o or --output
70 #Name of text file input
71 physics.producers.generator.InputFileName: "AntiMuonCutEvents_1000.txt"
72 physics.producers.generator.MoveY: 900 #new y postion for all particles