1 # Modified by Jingbo Wang (jiowang@ucdavis.edu) on April 17, 2019
3 #include "services_dune.fcl"
4 #include "largeantmodules_dune.fcl"
5 #include "photpropservices_dune.fcl"
6 #include "opticaldetectormodules_dune.fcl"
12 # Load the service that manages root files for histograms.
13 TFileService: { fileName: "gen_protoDUNE_hist.root" }
16 RandomNumberGenerator: {} #ART native random number generator
17 FileCatalogMetadata: @local::art_file_catalog_mc
18 @table::protodune_simulation_services
21 services.LArG4Parameters.SkipWireSignalInTPCs: [0,3,4,7,8,11]
23 #source is now a root file
26 module_type: RootInput
28 fileNames: ["gen_protoDUNE_g4.root"]
31 # Define and configure some modules to do work on each event.
32 # First modules are defined; they are scheduled later.
33 # Modules are grouped by type.
39 largeant: @local::dunefd_largeant
41 module_type: "larsim/ElectronDrift/ShiftEdepSCE"
42 EDepTag: "largeant:TPCActive"
45 rns: { module_type: "RandomNumberSaver" }
48 #define the producer and filter modules for this path, order matters,
49 #filters reject all following items. see lines starting physics.producers below
50 simulate: [ rns, largeant, ionization ]
52 #define the output stream, there could be more than one if using filters
55 #trigger_paths is a keyword and contains the paths that modify the art::event,
56 #ie filters and producers
57 trigger_paths: [simulate]
59 #end_paths is a keyword and contains the paths that do not modify the art::Event,
60 #ie analyzers and output streams. these all run simultaneously
64 #block to define where the output goes. if you defined a filter in the physics
65 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
66 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
71 module_type: RootOutput
72 fileName: "%ifb_g4.root"
79 services.LArG4Parameters.FillSimEnergyDeposits: true
80 services.SpaceCharge.EnableSimEfieldSCE: true
81 services.SpaceCharge.EnableSimSpatialSCE: true
82 services.SpaceCharge.EnableSimulationSCE: true
83 services.SpaceCharge.RepresentationType: Voxelized
84 services.SpaceCharge.InputFilename: "SpaceChargeProtoDUNE/dispOutput_ProtoDUNESP_withFlowNegX_E500.root"