All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triggeremu_prep_data_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: triggeremu_prep_data_icarus.fcl
3 # Purpose: Preparation for emulation of ICARUS trigger.
4 # Authors: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: November 9, 2021
6 #
7 #
8 # This configuration runs the first stage of trigger emulation, that is the
9 # waveform discrimination. Its output does not retain the full PMT waveform
10 # information, reducing the size of the data.
11 #
12 # At this point, low level PMT readout-related choices are set, like the
13 # discrimination thresholds and the PMT channel pairing (LVDS) logic and map.
14 #
15 #
16 # Changes
17 # --------
18 #
19 # 20220118 (petrillo@slac.stanford.edu) [v1.0]
20 # : original version based on `triggeremu_only_data_icarus.fcl` v2.0
21 #
22 
24 #include "rootoutput_icarus.fcl"
25 #include "trigger_icarus.fcl"
27 
28 
29 # ------------------------------------------------------------------------------
30 process_name: TrgPrep
31 
32 
33 # ------------------------------------------------------------------------------
34 services: {
35 
36  # uncommon services for trigger emulation (may be overridden below)
37  @table::triggeremu_data_config_icarus.services # from triggeremu_data_config_icarus.fcl
38 
39  # this provides: file service, random management (unused),
40  # Geometry, detector properties and clocks
41  @table::icarus_common_services
42 
43  # art resource tracking services may take a lot of memory on the long run
44  MemoryTracker: @erase
45 # TimeTracker: @erase
46 
47  # currently unused (remove the line if they start mattering):
48  LArPropertiesService: @erase
49  DetectorPropertiesService: @erase
50 
51 } # services
52 
53 
54 # customization of message destinations from trigger emulation
55 services.message.destinations.TriggerEmuTriggerThresholdLog: @local::triggeremu_data_config_icarus.messagedestinations.TriggerEmuTriggerThresholdLog
56 services.message.destinations.TriggerEmuLVDSORLog: @local::triggeremu_data_config_icarus.messagedestinations.TriggerEmuLVDSORLog
57 
58 
59 # ------------------------------------------------------------------------------
60 physics: {
61 
62  producers: {
63 
64  @table::triggeremu_data_config_icarus.producers # from triggeremu_data_config_icarus.fcl
65 
66  } # producers
67 
68  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
69  triggeremuprep: @local::triggeremu_data_config_icarus.simulationBase
70 
71  streams: [ "rootoutput" ]
72 
73  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
74 
75 } # physics
76 
77 
78 # ------------------------------------------------------------------------------
79 outputs: {
80  rootoutput: {
81  @table::icarus_rootoutput
83  "drop *"
84  , "keep sbn::PMTconfiguration_*_*_*", "keep *_daqTrigger_*_*"
85  , "keep *_*_*_stage1", "drop *_cluster3D*_*_*", "drop *recob::SpacePoint*_*_*_*"
86  , "keep *_*_*_TrgPrep", "keep *_*_*_TrgEmu", "keep *_*_*_T0sel"
87  ]
88  }
89 }
90 
91 
92 # ------------------------------------------------------------------------------
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
BEGIN_PROLOG gatesFromTracksW gatesFromTracksE streams
outputs out1 outputCommands
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name