1 #include "services_dune.fcl"
2 #include "CORSIKAGendp.fcl"
4 process_name: CorsikaGen
6 services: @local::protodunedphase_simulation_services_legacy
8 # Load the service that manages root files for histograms.
9 services.TFileService: { fileName: "cosmics_corsika_rotation_hist.root" }
10 services.RandomNumberGenerator: {} #ART native random number generator
12 #Start each new event with an empty event.
15 module_type: EmptyEvent
16 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
17 maxEvents: 100 # Number of events to create
18 firstRun: 1 # Run number to use for this file
19 firstEvent: 1 # number of first event in the file
22 # Define and configure some modules to do work on each event.
23 # First modules are defined; they are scheduled later.
24 # Modules are grouped by type.
30 rns: { module_type: "RandomNumberSaver" }
31 generator: @local::standard_CORSIKAGendp_CMC
34 #define the producer and filter modules for this path, order matters,
35 #filters reject all following items. see lines starting physics.producers below
40 #define the output stream, there could be more than one if using filters
43 #trigger_paths is a keyword and contains the paths that modify the art::event,
44 #ie filters and producers
45 trigger_paths: [simulate]
47 #end_paths is a keyword and contains the paths that do not modify the art::Event,
48 #ie analyzers and output streams. these all run simultaneously
52 #block to define where the output goes. if you defined a filter in the physics
53 #block and put it in the trigger_paths then you need to put a
54 SelectEvents: {SelectEvents: [XXX]}
55 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
60 module_type: RootOutput
61 fileName: "cosmics_protodunedp_gen.root" #default file name, can override from command line with -o or --output
62 dataTier: "cosmic-gen"
67 #specific to cosmic sim
68 physics.producers.generator.DoRotation: true
70 physics.producers.generator.SampleTime: 8e-3
71 physics.producers.generator.TimeOffset: -4e-3 #4.0 ms readout should start at -0.875 ms to match data
72 physics.producers.generator.BufferBox: [ -300.0, 300.0, -300.0, 300.0, -300.0, 300.0 ] #in cm
73 physics.producers.generator.ShowerAreaExtension: 2000
74 physics.producers.generator.RandomXZShift: 2000 #amount to randomly shift shower start point in x & z [cm] (default is 1000)
75 physics.producers.generator.ProjectToHeight: 856 #height to which particles are projected in cm
77 physics.producers.generator.ShowerInputFiles: [
78 "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/Cosmics/CERN/CORSIKA/standard/p_showers_*",
79 "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/Cosmics/CERN/CORSIKA/standard/He_showers_*",
80 "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/Cosmics/CERN/CORSIKA/standard//N_showers_*",
81 "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/Cosmics/CERN/CORSIKA/standard//Mg_showers_*",
82 "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/Cosmics/CERN/CORSIKA/standard//Fe_showers_*"
83 ] #list of sqlite dbs with corsika showers