protodune_optical_tutorial_resimulate.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "mccheatermodules.fcl"
6 #include "photpropservices_dune.fcl"
7 #include "opticaldetectormodules_dune.fcl"
8 #include "opticaldetectorservices_dune.fcl"
9 #include "FlashMatchAna.fcl"
10 
11 
12 process_name: OpticalResim
13 
14 services:
15 {
16  # Load the service that manages root files for histograms.
17  TFileService: { fileName: "protodune_optical_tutorial_resimulate_hist.root" }
18  TimeTracker: {}
19  RandomNumberGenerator: {} #ART native random number generator
20  message: @local::standard_info
21  @table::protodune_simulation_services
22 }
23 
24 
25 
26 ########################################
27 # Set a new photon detector efficiency #
28 ########################################
29 
30 services.OpDetResponseInterface.QuantumEfficiency: 0.00574 # This is 2x the nominal
31 
32 
33 source:
34 {
35  module_type: RootInput
36  maxEvents: -1 # Run over all events
37  #specify from command line with -s or --source
38 
39 }
40 
41 
42 physics:
43 {
44 
45  # Run both detector simulation and reconstruction
46  producers:
47  {
48  opdigi: @local::dunefd_opdigi_threegang # simple digitizer with no noise and high saturation
49  ophit: @local::dunefd_ophit
50  opflash: @local::dunefd_opflash
51  rns: { module_type: "RandomNumberSaver" }
52  }
53 
54  # Run both analyzers we've looked at
55  analyzers:
56  {
57  opflashana: @local::dunefd_opflashana
58  flashmatch: @local::marley_flashmatchana
59  }
60 
61  simulate: [ opdigi, ophit, opflash, rns ]
62  analyzeIt: [ opflashana, flashmatch ]
63  stream1: [ out1 ]
64 
65  trigger_paths: [simulate]
66  end_paths: [analyzeIt, stream1]
67 }
68 
69 outputs:
70 {
71  out1:
72  {
73  module_type: RootOutput
74  fileName: "protodune_optical_tutorial_resimulate_gen.root"
75  #default file name, can override from command line with -o or --output
76  }
77 }