1 #include "LArG4_dune.fcl"
2 #include "IonAndScint_dune.fcl"
3 #include "PDFastSim_dune.fcl"
4 #include "services_dune.fcl"
5 ##include "services_refactored_pdune.fcl"
11 # Load the service that manages root files for histograms.
12 TFileService: { fileName: "g4_hist.root" }
14 MemoryTracker: {} # default is one
15 RandomNumberGenerator: {} #ART native random number generator
16 FileCatalogMetadata: @local::art_file_catalog_mc
18 @table::dunefd_1x2x6_simulation_services_refactored
19 #@table::dunefd_larg4_services
21 NuRandomService: @local::dune_prod_seedservice
24 #services.Geometry: @local::dune10kt_1x2x6_v4_refactored_geo
25 #services.LArG4Detector: @local::dune10kt_1x2x6_v4_larg4detector
28 #services.LArG4Parameters.UseModBoxRecomb: true
30 #source is now a root file
33 module_type: RootInput
34 maxEvents: -1 # Number of events to create
37 # Define and configure some modules to do work on each event.
38 # First modules are defined; they are scheduled later.
39 # Modules are grouped by type.
45 largeant: @local::dunefd_larg4
46 IonAndScint: @local::dunefd_ionandscint
47 PDFastSimAr: @local::dunefd_pdfastsim_par_ar_refl
48 PDFastSimXe: @local::dunefd_pdfastsim_par_xe_refl
49 rns: { module_type: "RandomNumberSaver" }
52 #define the producer and filter modules for this path, order matters,
53 #filters reject all following items. see lines starting physics.producers below
54 simulate: [ rns, largeant, IonAndScint, PDFastSimAr, PDFastSimXe ]
56 #define the output stream, there could be more than one if using filters
59 #trigger_paths is a keyword and contains the paths that modify the art::event,
60 #ie filters and producers
61 trigger_paths: [simulate]
63 #end_paths is a keyword and contains the paths that do not modify the art::Event,
64 #ie analyzers and output streams. these all run simultaneously
68 #block to define where the output goes. if you defined a filter in the physics
69 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
70 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
75 module_type: RootOutput
76 fileName: "%ifb_g4.root"