1 #include "services_dune.fcl"
2 #include "NuEScatterGen.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "singles_dune.fcl"
7 process_name: NueScatterGen
11 # Load the service that manages root files for histograms.
12 TFileService: { fileName: "nuescatter_hist.root" }
14 MemoryTracker: { } # default is one
15 RandomNumberGenerator: {} #ART native random number generator
16 FileCatalogMetadata: @local::art_file_catalog_mc
17 @table::dunefd_simulation_services
19 services.OpDigiProperties: @local::dunefd_opdigiproperties
20 services.PhotonVisibilityService.XMin: 0.0
22 #Start each new event with an empty event.
25 module_type: EmptyEvent
26 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
27 maxEvents: 10 # Number of events to create
28 firstRun: 1 # Run number to use for this file
29 firstEvent: 1 # number of first event in the file
32 # Define and configure some modules to do work on each event.
33 # First modules are defined; they are scheduled later.
34 # Modules are grouped by type.
40 generator: @local::standard_nuescattergen_solar
41 largeant: @local::dunefd_largeant
42 daq: @local::dunefd_simwire
43 rns: { module_type: "RandomNumberSaver" }
46 #define the producer and filter modules for this path, order matters,
47 #filters reject all following items. see lines starting physics.producers below
48 #simulate: [ rns, generator ]
49 simulate: [ rns, generator, largeant, daq ]
51 #define the output stream, there could be more than one if using filters
54 #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: "nuescatter_gen_dunefd.root"
79 services.Geometry: @local::dune10kt_1x2x6_geo
81 services.LArG4Parameters.UseCustomPhysics: true
82 services.LArG4Parameters.EnabledPhysics: [ "LowEnergyEm",
90 services.LArG4Parameters.ParticleKineticEnergyCut: 1.0e-5 # GeV
91 services.LArG4Parameters.StoreTrajectories: true
92 services.LArG4Parameters.KeepEMShowerDaughters: true