prodnuescatter_dunefd.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "NuEScatterGen.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "singles_dune.fcl"
6 
7 process_name: NueScatterGen
8 
9 services:
10 {
11  # Load the service that manages root files for histograms.
12  TFileService: { fileName: "nuescatter_hist.root" }
13  TimeTracker: {}
14  MemoryTracker: { } # default is one
15  RandomNumberGenerator: {} #ART native random number generator
16  FileCatalogMetadata: @local::art_file_catalog_mc
17  @table::dunefd_simulation_services
18 }
19 services.OpDigiProperties: @local::dunefd_opdigiproperties
20 services.PhotonVisibilityService.XMin: 0.0
21 
22 #Start each new event with an empty event.
23 source:
24 {
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
30 }
31 
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.
35 physics:
36 {
37 
38  producers:
39  {
40  generator: @local::standard_nuescattergen_solar
41  largeant: @local::dunefd_largeant
42  daq: @local::dunefd_simwire
43  rns: { module_type: "RandomNumberSaver" }
44  }
45 
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 ]
50 
51  #define the output stream, there could be more than one if using filters
52  stream1: [ out1 ]
53 
54  #trigger_paths is a keyword and contains the paths that modify the art::event,
55 
56  #ie filters and producers
57  trigger_paths: [simulate]
58 
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
61  end_paths: [stream1]
62 }
63 
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)
67 outputs:
68 {
69  out1:
70  {
71  module_type: RootOutput
72  fileName: "nuescatter_gen_dunefd.root"
73  dataTier: "generated"
74  compressionLevel: 1
75  }
76 }
77 
78 
79 services.Geometry: @local::dune10kt_1x2x6_geo
80 
81 services.LArG4Parameters.UseCustomPhysics: true
82 services.LArG4Parameters.EnabledPhysics: [ "LowEnergyEm",
83  "FastOptical",
84  "SynchrotronAndGN",
85  "Ion",
86  "NeutronHP",
87  "Decay",
88  "HadronElastic",
89  "Stopping" ]
90 services.LArG4Parameters.ParticleKineticEnergyCut: 1.0e-5 # GeV
91 services.LArG4Parameters.StoreTrajectories: true
92 services.LArG4Parameters.KeepEMShowerDaughters: true