1 #include "services_dune.fcl"
2 #include "largeantmodules_dune.fcl"
3 #include "photpropservices_dune.fcl"
8 services: @local::protodunedphase_simulation_services_legacy
10 # Load the service that manages root files for histograms.
11 services.TFileService: { fileName: "cosmics_corsika_rotation_hist.root" }
12 services.TimeTracker: {}
13 services.MemoryTracker: { } # default is one
14 services.RandomNumberGenerator: {} #ART native random number generator
15 services.Geometry: @local::protodunedphase_geo
16 services.DetectorPropertiesService: @local::protodunedphase_detproperties
18 #source is now a root file
20 module_type: RootInput
21 maxEvents: 100 # Number of events to create
25 # Define and configure some modules to do work on each event.
26 # First modules are defined; they are scheduled later.
27 # Modules are grouped by type.
33 rns: { module_type: "RandomNumberSaver" }
34 largeant: @local::dunefd_largeant
37 #define the producer and filter modules for this path, order matters,
38 #filters reject all following items. see lines starting physics.producers below
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
57 SelectEvents: {SelectEvents: [XXX]}
58 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
63 module_type: RootOutput
64 fileName: "%ifb_g4.root" #default file name, can override from command line with -o or --output
65 dataTier: "cosmic-detsim"
70 services.DetectorPropertiesService.Electronlifetime: 3000.0 #in us
71 services.LArG4Parameters.MinNumberOfElCluster: 20
73 services.PhotonVisibilityService: @local::protodunedp_photonvisibilityservice
74 services.PhotonVisibilityService.Interpolate: true