All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
createtree_timed_tracks_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: createtree_timed_tracks_icarus.fcl
3 # Purpose: Store selected timed tracks with energy estimation and trigger emulation into flat ROOT trees.
4 # Authors: Animesh Chatterjee (ANC238@pitt.edu),
5 # Gianluca Petrillo (petrillo@slac.stanford.edu),
6 # Jacob Zettlemoyer (jzettle@fnal.gov)
7 # Date: September 22, 2021
8 #
9 #
10 
11 BEGIN_PROLOG
12 ###
13 ### fix settings (so that will not be overridden later);
14 ### these are defined in `triggeremu_data_config_icarus.fcl`
15 ###
16 
17 # do not emulate any fixed level threshold (only `pmtthr`)
18 triggeremu_data_config_icarus.settings.PMTADCthresholds @protect_ignore: []
19 
20 
21 END_PROLOG
22 
23 
24 #include "messages_icarus.fcl"
25 #include "rootoutput_icarus.fcl"
27 #include "trigger_icarus.fcl"
30 #include "calorimetry_icarus.fcl"
31 
32 BEGIN_PROLOG
33 
35  module_type: "TimeTrackTreeStorage"
36  BeamGateProducer: "daqTrigger"
37  TriggerProducer: "daqTrigger"
38  MODA: 0.930
39  MODB: 0.212
40  Wion: 0.0000236016
41  Efield: 0.5
42  ForceDowngoing: true
43 }
44 
46 
47  module_type: BeamGateInfoFromTracks
48 
49  GateStartOffset: "-15 us"
50  GateEndOffset: "+5 us"
51 
52  T0Producer: @nil # must override
53  T0selProducer: @nil # must override
54 
56 
57 
58 END_PROLOG
59 
60 # ------------------------------------------------------------------------------
61 process_name: storeTree
62 
63 
64 # ------------------------------------------------------------------------------
65 services: {
66  message: @local::icarus_message_services_interactive_debug
67  @table::triggeremu_data_config_icarus.services # from triggeremu_data_config_icarus.fcl
68  @table::icarus_common_services
69  TimeTracker: {}
70  TFileService: {
71  fileName: "timedtracks_store_triggeremu.root"
72  }
73 }
74 
75 # customization of message destinations from trigger emulation
76 services.message.destinations: {
77  @table::services.message.destinations
78  @table::triggeremu_data_config_icarus.messagedestinations
79 }
80 
81 services.SpaceChargeService: @local::icarus_spacecharge
82 
83 physics: {
84  filters: {
85  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
86  t0selectorW: {
87  module_type: TimedTrackSelector
88 
89  #TrackTimeTags: [ pandoraGausCryoW, pandoraGausCryoE ]
90  TrackTimeTags: [ pandoraGausCryoW ]
91 
92  } # t0selectorW
93 
94  t0selectorE: {
95  module_type: TimedTrackSelector
96  TrackTimeTags: [ pandoraGausCryoE ]
97  }
98  }
99 
100  producers: {
101 
102  gatesFromTracksE: {
104 
105  T0Producer: pandoraGausCryoE
106  T0selProducer: t0selectorE
107  }
108 
109  gatesFromTracksW: {
111 
112  T0Producer: pandoraGausCryoW
113  T0selProducer: t0selectorW
114  }
115 
116  @table::triggeremu_data_config_icarus.producers # from triggeremu_data_config_icarus.fcl
117 
118  #calorimetry
119 
120  calorimetryCryoE: @local::caloskim_calorimetry
121  calorimetryCryoW: @local::caloskim_calorimetry
122 
123  }
124 
125  analyzers: {
126  t0TreeStoreW: {
128  PFPproducer: "pandoraGausCryoW"
129  T0Producer: "pandoraGausCryoW"
130  T0selProducer: "t0selectorW"
131  TrackProducer: "pandoraTrackGausCryoW"
132  TrackFitterProducer: "pandoraTrackGausCryoW"
133  CaloProducer: "calorimetryCryoW"
134  FlashProducer: "opflashCryoW"
135  EmulatedTriggers: [
136  { Name: "M1" TriggerTag: "simTiledORM1W" },
137  { Name: "S3" TriggerTag: "simTiledORS3W" },
138  { Name: "S5" TriggerTag: "simTiledORS5W" },
139  { Name: "S8" TriggerTag: "simTiledORS8W" },
140  { Name: "S10" TriggerTag: "simTiledORS10W" },
141  { Name: "S15" TriggerTag: "simTiledORS15W" },
142  { Name: "M1s" TriggerTag: "simSlidingORM1W" },
143  { Name: "S3s" TriggerTag: "simSlidingORS3W" },
144  { Name: "S5s" TriggerTag: "simSlidingORS5W" },
145  { Name: "S8s" TriggerTag: "simSlidingORS8W" },
146  { Name: "S10s" TriggerTag: "simSlidingORS10W" },
147  { Name: "S15s" TriggerTag: "simSlidingORS15W" }
148  ]
149  LogCategory: "TimeTrackTreeStorageCryoW"
150  SelectEvents: [ "selectionW" ]
151  }
152 
153  t0TreeStoreE: {
155  PFPproducer: "pandoraGausCryoE"
156  T0Producer: "pandoraGausCryoE"
157  T0selProducer: "t0selectorE"
158  TrackProducer: "pandoraTrackGausCryoE"
159  TrackFitterProducer: "pandoraTrackGausCryoE"
160  CaloProducer: "calorimetryCryoE"
161  FlashProducer: "opflashCryoE"
162  EmulatedTriggers: [
163  { Name: "M1" TriggerTag: "simTiledORM1E" },
164  { Name: "S3" TriggerTag: "simTiledORS3E" },
165  { Name: "S5" TriggerTag: "simTiledORS5E" },
166  { Name: "S8" TriggerTag: "simTiledORS8E" },
167  { Name: "S10" TriggerTag: "simTiledORS10E" },
168  { Name: "S15" TriggerTag: "simTiledORS15E" },
169  { Name: "M1s" TriggerTag: "simSlidingORM1E" },
170  { Name: "S3s" TriggerTag: "simSlidingORS3E" },
171  { Name: "S5s" TriggerTag: "simSlidingORS5E" },
172  { Name: "S8s" TriggerTag: "simSlidingORS8E" },
173  { Name: "S10s" TriggerTag: "simSlidingORS10E" },
174  { Name: "S15s" TriggerTag: "simSlidingORS15E" }
175  ]
176  LogCategory: "TimeTrackTreeStorageCryoE"
177  SelectEvents: [ "selectionE" ]
178  }
179 
180  } #analyzers
181 
182  selectionW: [ "t0selectorW", "gatesFromTracksW", @sequence::triggeremu_data_config_icarus.producerpathW ]
183  selectionE: [ "t0selectorE", "gatesFromTracksE", @sequence::triggeremu_data_config_icarus.producerpathE ]
184  runprod: [calorimetryCryoE, calorimetryCryoW]
186  ana: [ t0TreeStoreW, t0TreeStoreE ]
187  streams: [ "rootoutput" ]
188  end_paths: [ ana ]
189 
190 } # physics
191 
192 physics.producers.calorimetryCryoE.TrackModuleLabel: "pandoraTrackGausCryoE"
193 physics.producers.calorimetryCryoW.TrackModuleLabel: "pandoraTrackGausCryoW"
194 
195 # disable the functionality of the module without removing it from path (for convenience)
196 physics.producers.pmtfixedthr.module_type: DummyProducer
197 
198 
199 # ------------------------------------------------------------------------------
200 outputs: {
201  rootoutput: {
202  @table::icarus_rootoutput
203 
204  fileProperties: { maxInputFiles: 1 }
205  checkFileName: false
206 
207  # these data products are enough to rerun this job (until hits are needed):
208  outputCommands: [
209  "drop *"
210  , "keep sbn::PMTconfiguration_*_*_*", "keep *_daqTrigger_*_*"
211  , "keep *_pandoraGausCryo*_*_stage1", "drop *recob::SpacePoint*_pandoraGausCryo*_*_stage1", "keep *_pandoraTrackGausCryo*_*_stage1"
212  , "keep *_cluster3DCryo*_*_*", "drop *recob::SpacePoint*_cluster3DCryo*_*_*"
213  , "keep *_opflashCryo*_*_*"
214  , "keep *_*_*_TrgEmu", "keep *_*_*_T0sel"
215  , "keep *_*_*_storeTree"
216  ]
217 
218  }
219 }
220 
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name local::throughgoing_selection SelectEvents
float MODB
Definition: dedx.py:124
Module which does nothing.
float MODA
Definition: dedx.py:123
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
process_name gaushitTPC3 gaushitTPC3 filters
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name opflashCryoW ana
BEGIN_PROLOG gatesFromTracksW selectionE
BEGIN_PROLOG caloskim_calorimetry
float Efield
Definition: dedx.py:126
process_name drop *_gatesFromTracks *_ *_ drop simTiled *_ *_ *_ drop simSliding *_ *_ *_ *physics analyzers t0TreeStoreE sequence::triggeremu_data_config_icarus simulationEast physics selectionW
BEGIN_PROLOG gatesFromTracks_icarus
BEGIN_PROLOG gatesFromTracksW gatesFromTracksE streams
BEGIN_PROLOG vertical distance to the surface Name
BEGIN_PROLOG BeamGateDuration protect_ignore
BEGIN_PROLOG timetracktreestorage_base
outputs out1 outputCommands
process_name drop *_gatesFromTracks *_ *_ drop simTiled *_ *_ *_ drop simSliding *_ *_ *_ *physics analyzers t0TreeStoreE CaloProducer
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
int Wion
Definition: dedx.py:125
services SpaceChargeService which is ok physics runprod
process_name analyzers
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name