All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triggeremu_proper_data_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: triggeremu_proper_data_icarus.fcl
3 # Purpose: Emulation of ICARUS trigger (on top of "prepared" input).
4 # Authors: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: November 9, 2021
6 #
7 # This configuration runs the second and last stage of trigger emulation,
8 # that is the waveform discrimination. Its output does not retain the full PMT
9 # waveform information, reducing the size of the data.
10 #
11 # Changes
12 # --------
13 #
14 # 20220118 (petrillo@slac.stanford.edu) [v1.0]
15 # : original version based on `triggeremu_only_data_icarus.fcl` v2.0
16 #
17 
19 #include "rootoutput_icarus.fcl"
20 #include "trigger_icarus.fcl"
22 
23 
24 # ------------------------------------------------------------------------------
25 process_name: TrgEmu
26 
27 
28 # ------------------------------------------------------------------------------
29 services: {
30 
31  # uncommon services for trigger emulation (may be overridden below)
32  @table::triggeremu_data_config_icarus.services # from triggeremu_data_config_icarus.fcl
33 
34  # this provides: file service, random management (unused),
35  # Geometry, detector properties and clocks
36  @table::icarus_common_services
37 
38  # art resource tracking services may take a lot of memory on the long run
39  MemoryTracker: @erase
40 # TimeTracker: @erase
41 
42  # currently unused (remove the line if they start mattering):
43  LArPropertiesService: @erase
44  DetectorPropertiesService: @erase
45 
46 } # services
47 
48 
49 # customization of message destinations from trigger emulation
50 services.message.destinations.TriggerEmuSlidingWindowORLog: @local::triggeremu_data_config_icarus.messagedestinations.TriggerEmuSlidingWindowORLog
51 
52 
53 # ------------------------------------------------------------------------------
54 physics: {
55 
56  producers: {
57 
58  @table::triggeremu_data_config_icarus.producers # from triggeremu_data_config_icarus.fcl
59 
60  } # producers
61 
62  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
63  triggeremuprep: @local::triggeremu_data_config_icarus.simulationBase
64 
65  triggeremuE: [
66  @sequence::triggeremu_data_config_icarus.simulationPrepEast,
67  @sequence::triggeremu_data_config_icarus.simulationEast
68  ]
69 
70  triggeremuW: [
71  @sequence::triggeremu_data_config_icarus.simulationPrepWest,
72  @sequence::triggeremu_data_config_icarus.simulationWest
73  ]
74 
75  triggeremu: [
76  @sequence::triggeremu_data_config_icarus.simulationPrepFull,
77  @sequence::triggeremu_data_config_icarus.simulationFull
78  ]
79 
80  streams: [ "rootoutput" ]
81 
82  trigger_paths: [ triggeremuE, triggeremuW ]
83  end_paths: [ streams ]
84 
85  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
86 
87 } # physics
88 
89 
90 # ------------------------------------------------------------------------------
91 outputs: {
92  rootoutput: {
93  @table::icarus_rootoutput
95  "drop *"
96  , "keep sbn::PMTconfiguration_*_*_*", "keep *_daqTrigger_*_*"
97  , "keep *_*_*_stage1", "drop *_cluster3D*_*_*", "drop *recob::SpacePoint*_*_*_*"
98  , "keep *_*_*_TrgPrep", "keep *_*_*_TrgEmu", "keep *_*_*_T0sel"
99  ]
100  }
101 }
102 
103 
104 # ------------------------------------------------------------------------------
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
process_name sequence::triggeremu_data_config_icarus simulationEast sequence::triggeremu_data_config_icarus simulationWest triggeremu
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