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 
    8 # This configuration runs the trigger emulation on time intervals ("beam gates") 
    9 # provided as input, allegedly around the time of reconstructed cathode-crossing 
   11 # The required data products with track times (beam-gate-like intervals) must be 
   12 # called `gatesFromTracksE` and `gatesFromTracksW`. 
   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 
   32 # ------------------------------------------------------------------------------ 
   36 # ------------------------------------------------------------------------------ 
   39   # uncommon services for trigger emulation (may be overridden below) 
   40   @table::triggeremu_data_config_icarus.services # 
from triggeremu_data_config_icarus.fcl
 
   42   # this provides: file service, random management (unused), 
   43   #                Geometry, detector properties and clocks 
   44   @table::icarus_common_services
 
   46   # art resource tracking services may take a lot of memory on the long run 
   50   # currently unused (remove the line if they start mattering): 
   51   LArPropertiesService:      @erase
 
   52   DetectorPropertiesService: @erase
 
   57 # customization of message destinations from trigger emulation 
   60   @table::triggeremu_data_config_icarus.messagedestinations
 
   61   TriggerEmuSlidingORsimLog: @erase # 
this can 
get huge
 
   65 # ------------------------------------------------------------------------------ 
   70     @table::triggeremu_data_config_icarus.producers # 
from triggeremu_data_config_icarus.fcl
 
   74   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   75   triggeremuE: @local::triggeremu_data_config_icarus.producerpathE
 
   76   triggeremuW: @local::triggeremu_data_config_icarus.producerpathW
 
   83   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   88 # ------------------------------------------------------------------------------ 
   91     @table::icarus_rootoutput
 
   94       , 
"keep sbn::PMTconfiguration_*_*_*", 
"keep *_daqTrigger_*_*" 
   95       , 
"keep *_*_*_stage1", 
"drop *_cluster3D*_*_*", 
"drop *recob::SpacePoint*_*_*_*" 
   96       , 
"keep *_*_*_TrgEmu", 
"keep *_*_*_T0sel" 
  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