All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triggeremu_only_data_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: triggeremu_only_data_icarus.fcl
3 # Purpose: Emulation of ICARUS trigger (no plots, only trigger outcome).
4 # Authors: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: November 9, 2021
6 #
7 #
8 # This configuration runs the trigger emulation on time intervals ("beam gates")
9 # provided as input, allegedly around the time of reconstructed cathode-crossing
10 # tracks.
11 # The required data products with track times (beam-gate-like intervals) must be
12 # called `gatesFromTracksE` and `gatesFromTracksW`.
13 #
14 #
15 # Changes
16 # --------
17 #
18 # 20211109 (petrillo@slac.stanford.edu) [v1.0]
19 # : original version based on `triggersim_data_icarus.fcl` v1.1
20 # and `triggersim_icarus_data.fcl` v1.0
21 # 20211122 (petrillo@slac.stanford.edu) [v2.0]
22 # : using TriggerSimulationOnGates instead of SlidingWindowTriggerSimulation;
23 # requires non-standard external input
24 #
25 
27 #include "rootoutput_icarus.fcl"
28 #include "trigger_icarus.fcl"
30 
31 
32 # ------------------------------------------------------------------------------
33 process_name: TrgEmu
34 
35 
36 # ------------------------------------------------------------------------------
37 services: {
38 
39  # uncommon services for trigger emulation (may be overridden below)
40  @table::triggeremu_data_config_icarus.services # from triggeremu_data_config_icarus.fcl
41 
42  # this provides: file service, random management (unused),
43  # Geometry, detector properties and clocks
44  @table::icarus_common_services
45 
46  # art resource tracking services may take a lot of memory on the long run
47  MemoryTracker: @erase
48 # TimeTracker: @erase
49 
50  # currently unused (remove the line if they start mattering):
51  LArPropertiesService: @erase
52  DetectorPropertiesService: @erase
53 
54 } # services
55 
56 
57 # customization of message destinations from trigger emulation
58 services.message.destinations: {
59  @table::services.message.destinations
60  @table::triggeremu_data_config_icarus.messagedestinations
61  TriggerEmuSlidingORsimLog: @erase # this can get huge
62 }
63 
64 
65 # ------------------------------------------------------------------------------
66 physics: {
67 
68  producers: {
69 
70  @table::triggeremu_data_config_icarus.producers # from triggeremu_data_config_icarus.fcl
71 
72  } # producers
73 
74  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
75  triggeremuE: @local::triggeremu_data_config_icarus.producerpathE
76  triggeremuW: @local::triggeremu_data_config_icarus.producerpathW
77 
78  streams: [ "rootoutput" ]
79 
80  trigger_paths: [ triggeremuE, triggeremuW ]
81  end_paths: [ streams ]
82 
83  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
84 
85 } # physics
86 
87 
88 # ------------------------------------------------------------------------------
89 outputs: {
90  rootoutput: {
91  @table::icarus_rootoutput
93  "drop *"
94  , "keep sbn::PMTconfiguration_*_*_*", "keep *_daqTrigger_*_*"
95  , "keep *_*_*_stage1", "drop *_cluster3D*_*_*", "drop *recob::SpacePoint*_*_*_*"
96  , "keep *_*_*_TrgEmu", "keep *_*_*_T0sel"
97  ]
98  }
99 }
100 
101 
102 # ------------------------------------------------------------------------------
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
echo $PWD find $PWD name *fcl xargs perl wapi e s & MemoryTracker
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
BEGIN_PROLOG gatesFromTracksW gatesFromTracksE streams
outputs out1 outputCommands
BEGIN_PROLOG sequence::triggeremu_data_config_icarus producerpathE triggeremuW
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