All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triggeremu_only_onspill_data_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: triggeremu_only_onspill_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 a time interval ("beam gate")
9 # configured to match the beam gate.
10 #
11 # It uses and abuses the trigger simulation targetted to multiple tracks
12 # (for the only reason that other configuration is already available for that).
13 #
14 #
15 # Changes
16 # --------
17 #
18 # 20211129 (petrillo@slac.stanford.edu) [v1.0]
19 # : original version based on `triggeremu_only_data_icarus.fcl` v1.1
20 #
21 
23 #include "rootoutput_icarus.fcl"
24 #include "trigger_icarus.fcl"
26 
27 
28 # ------------------------------------------------------------------------------
29 BEGIN_PROLOG
30 
32  module_type: WriteBeamGateInfo
33 
34  BeamGates: [
35  {
36  Duration: "30 us"
37  Start: "-15 us"
38  }
39  ]
41 
42 END_PROLOG
43 
44 
45 # ------------------------------------------------------------------------------
46 process_name: TrgEmu
47 
48 
49 # ------------------------------------------------------------------------------
50 services: {
51 
52  # uncommon services for trigger emulation (may be overridden below)
53  @table::triggeremu_data_config_icarus.services # from triggeremu_data_config_icarus.fcl
54 
55  # this provides: file service, random management (unused),
56  # Geometry, detector properties and clocks
57  @table::icarus_common_services
58 
59  # art resource tracking services may take a lot of memory on the long run
60  MemoryTracker: @erase
61 # TimeTracker: @erase
62 
63  # currently unused (remove the line if they start mattering):
64  LArPropertiesService: @erase
65  DetectorPropertiesService: @erase
66 
67 } # services
68 
69 
70 # customization of message destinations from trigger emulation
71 services.message.destinations: {
72  @table::services.message.destinations
73  @table::triggeremu_data_config_icarus.messagedestinations
74 }
75 
76 
77 # ------------------------------------------------------------------------------
78 physics: {
79 
80  producers: {
81 
82  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
83 
84  # not actually on tracks: it's a fixed gate!
87 
88  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
89 
90  @table::triggeremu_data_config_icarus.producers # from triggeremu_data_config_icarus.fcl
91 
92  } # producers
93 
94  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
95  triggeremuE: [ gatesFromTracksE, @sequence::triggeremu_data_config_icarus.producerpathE ]
96  triggeremuW: [ gatesFromTracksW, @sequence::triggeremu_data_config_icarus.producerpathW ]
97 
98  streams: [ "rootoutput" ]
99 
100  trigger_paths: [ triggeremuE, triggeremuW ]
101  end_paths: [ streams ]
102 
103  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
104 
105 } # physics
106 
107 
108 # ------------------------------------------------------------------------------
109 outputs: {
110  rootoutput: {
111  @table::icarus_rootoutput
112  outputCommands: [
113  "drop *"
114  , "keep sbn::PMTconfiguration_*_*_*", "keep *_daqTrigger_*_*"
115 # , "keep *_*_*_stage1"
116  , "keep *_*_*_TrgEmu"
117 # , "keep *_*_*_T0sel"
118  ]
119  }
120 }
121 
122 
123 # ------------------------------------------------------------------------------
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 extended_trigger_gate_30us_icarus
BEGIN_PROLOG gatesFromTracksW gatesFromTracksE streams
outputs out1 outputCommands
BEGIN_PROLOG sequence::triggeremu_data_config_icarus producerpathE triggeremuW
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
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