standard_detsim_dune10ktdphase_light.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "marley_dune.fcl"
4 #include "photpropservices_dune.fcl"
5 #include "opticaldetectormodules_dune.fcl"
6 #include "largeantmodules_dune.fcl"
7 #include "tools_dune.fcl"
8 
9 process_name: detsim_light
10 
11 services:
12 {
13  # Load the service that manages root files for histograms.
14  TFileService: { fileName: "%ifb_detsim_hist.root" }
15  TimeTracker: {}
16  MemoryTracker: { } # default is one
17  RandomNumberGenerator: {} # ART native random number generator
18  FileCatalogMetadata: @local::art_file_catalog_mc
19  @table::dunefddphase_simulation_services_legacy
20  PhotonVisibilityService: @local::dunefddphase_PhotonVisibilityService
21  NuRandomService: @local::random_NuRandomService # seedservice.fcl
22  OpDigiProperties: @local::dunefddphase_OpDigiProperties
23 }
24 
25 # Start each new event with an empty event.
26 source:
27 {
28  module_type: RootInput
29  maxEvents: -1 # Number of events to create
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  rns: { module_type: "RandomNumberSaver" }
41  opdigi: @local::dunefddphase_opdigi
42  }
43 
44  simulate: [ rns, opdigi]
45  analyzeit: []
46  stream1: [out1 ]
47 
48  # Trigger_paths is a keyword and contains the paths that modify the art::event,
49  # ie filters and producers
50  trigger_paths: [ simulate ]
51 
52  # end_paths is a keyword and contains the paths that do not modify the art::Event,
53  # ie analyzers and output streams. These all run simultaneously
54  end_paths: [ analyzeit, stream1 ]
55 }
56 
57 # Block to define where the output goes. If you defined a filter in the physics
58 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
59 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
60 outputs:
61 {
62  out1:
63  {
64  module_type: RootOutput
65  fileName: "%ifb_detsim.root" # Default file name, can override from command line with -o or --output
66  dataTier: "detsim"
67  compressionLevel: 1
68  }
69 }
70 
71 
72 services.LArG4Parameters.MinNumberOfElCluster: 20