2 #include "IonAndScint_dune.fcl"
3 #include "elecdrift_dune.fcl"
4 #include "PDFastSim_dune.fcl"
5 #include "services_vdcoldbox.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 # the correct config should be added to dune/Simulation/larg4services_dune.fcl
21 gdmlFileName_ : @local::dunevdcb_geo.GDML
22 volumeNames : [ "volTPCActive" ]
25 @table::common_larg4_services
27 @table::vdcb_sim_base_services
30 ##services.OpDetResponseInterface.QuantumEfficiency: 0.001
32 #source is now a root file
35 module_type: RootInput
36 maxEvents: -1 # Number of events to create
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 largeant: @local::vdcb_tde_larg4
48 IonAndScint: @local::vdcb_tde_ionandscint
49 IonAndScintExternal: @local::vdcb_tde_ionandscint_external
50 elecDrift: @local::vdcb_tde_elecdrift
51 PDFastSimAr: @local::vdcb_tde_pdfastsim_par_ar_fastonly
52 PDFastSimArExternal: @local::vdcb_tde_pdfastsim_par_ar_external_fastonly
53 ## PDFastSimXe: @local::vdcb_tde_pdfastsim_par_xe
54 ## PDFastSimXeExternal: @local::vdcb_tde_pdfastsim_par_xe_external
55 rns: { module_type: "RandomNumberSaver" }
58 #define the producer and filter modules for this path, order matters,
59 #filters reject all following items. see lines starting physics.producers below
60 simulate: [ rns, largeant, IonAndScint, IonAndScintExternal, elecDrift, PDFastSimAr, PDFastSimArExternal ]
61 # simulate: [ rns, largeant , IonAndScint, IonAndScintExternal, elecDrift, PDFastSimAr, PDFastSimXe, PDFastSimArExternal, PDFastSimXeExternal ]
63 #define the output stream, there could be more than one if using filters
66 #trigger_paths is a keyword and contains the paths that modify the art::event,
67 #ie filters and producers
68 trigger_paths: [simulate]
70 #end_paths is a keyword and contains the paths that do not modify the art::Event,
71 #ie analyzers and output streams. these all run simultaneously
77 #block to define where the output goes. if you defined a filter in the physics
78 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
79 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
84 module_type: RootOutput
85 fileName: "%ifb_g4.root"