2 # File: gencosmics_test.fcl
3 # Brief: cosmic ray generation test with standard geometry
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: February 24th, 2015
8 # Cosmic ray generation test, with a "neutral" geometry.
11 # 20150224 (petrillo@fnal.gov) [v1.0]
12 # original version from prodcosmics.fcl, with ArgoNeuT geometry
15 #include "services_argoneut.fcl"
18 process_name: CosmicsGen
22 # Load the service that manages root files for histograms.
23 TFileService: { fileName: "cosmics_hist.root" }
25 RandomNumberGenerator: {} #ART native random number generator
26 @table::argoneut_simulation_services
29 #Start each new event with an empty event.
32 module_type: EmptyEvent
33 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
34 maxEvents: 10 # Number of events to create
35 firstRun: 1 # Run number to use for this file
36 firstEvent: 1 # number of first event in the file
39 # Define and configure some modules to do work on each event.
40 # First modules are defined; they are scheduled later.
41 # Modules are grouped by type.
47 generator: @local::argoneut_cry
48 rns: { module_type: "RandomNumberSaver" }
51 #define the producer and filter modules for this path, order matters,
52 #filters reject all following items. see lines starting physics.producers below
53 simulate: [ generator, rns ]
55 #define the output stream, there could be more than one if using filters
58 #trigger_paths is a keyword and contains the paths that modify the art::event,
59 #ie filters and producers
60 trigger_paths: [simulate]
62 #end_paths is a keyword and contains the paths that do not modify the art::Event,
63 #ie analyzers and output streams. these all run simultaneously
67 #block to define where the output goes. if you defined a filter in the physics
68 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
69 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
74 module_type: RootOutput
75 fileName: "cosmics_gen.root" #default file name, can override from command line with -o or --output