2 #include "services_lariat.fcl"
3 #include "largeantmodules_lariat.fcl"
4 #include "detsimmodules_lariat.fcl"
6 process_name: MarleyGen
10 # Load the service that manages root files for histograms.
11 TFileService: { fileName: "marley_hist.root" }
13 RandomNumberGenerator: {} #ART native random number generator
14 @table::lariat_simulation_services
18 #Start each new event with an empty event.
21 module_type: EmptyEvent
22 maxEvents: 100 # Number of events to create
23 firstRun: 1 # Run number to use for this file
24 firstEvent: 1 # number of first event in the file
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
35 generator: @local::standard_marley
36 # Track particles in the detector using Geant4
37 largeant: @local::lariat_largeant
38 # Simulate TPC wire responses
39 daq: @local::lariat_simwire
40 rns: { module_type: "RandomNumberSaver" }
43 #define the producer and filter modules for this path, order matters,
44 #filters reject all following items.
45 #see lines starting physics.producers below
46 simulate: [ generator, largeant, daq, rns ]
48 #define the output stream, there could be more than one if using filters
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 SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
62 module_type: RootOutput
63 fileName: "marley_gen.root" #default file name, can override from command line with -o or --output
67 # Adjustments to the standard LArG4 parameters
68 services.LArG4Parameters.ParticleKineticEnergyCut: 1.0e-5 # GeV
69 services.LArG4Parameters.StoreTrajectories: true
70 services.LArG4Parameters.KeepEMShowerDaughters: true
71 # Use NeutronHP data (very important for neutrino-induced neutron emission!)
72 # which is not enabled by default in LArSoft.
73 services.LArG4Parameters.UseCustomPhysics: true
74 services.LArG4Parameters.EnabledPhysics: [ "LowEnergyEm",