All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
maketriggerslidingwindow_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: maketriggerslidingwindow_icarus.fcl
3 # Purpose: Runs `icarus::trigger::SlidingWindowTrigger` module.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: January 7, 2020
6 #
7 # This is a top-level configuration that can be run directly.
8 #
9 # Required inputs
10 # ----------------
11 #
12 # * discriminated (LVDS) signals (with threshold)
13 #
14 
16 #include "rootoutput_icarus.fcl"
17 #include "trigger_icarus.fcl"
18 
19 process_name: TrgSlideWindow
20 
21 
22 services: {
23 
24  # this provides: file service, random management (unused),
25  # Geometry, detector properties and clocks
26  @table::icarus_common_services
27 
28  # currently unused (remove the line if they start mattering):
29  LArPropertiesService: @erase
30  DetectorClocksService: @erase
31  DetectorPropertiesService: @erase
32 
33  TFileService: @erase
34 
35 } # services
36 
37 
38 physics: {
39 
40  producers: {
41 
42  trigslidewindow: {
43 
44  module_type: SlidingWindowTrigger
45 
46  TriggerGatesTag: "lvdsgates"
47 
48  Thresholds: @local::icarus_triggergate_basic.ChannelThresholds # from trigger_icarus.fcl
49 
50  WindowSize: 30
51 
52  # number of optical channel used as offset for sliding window [as WindowSize]
53  Stride: 15
54 
55  # channels not included in the input
56  MissingChannels: @local::icarus_trigger_channel_ignore
57 
58  # name of the category used for the output
59  LogCategory: "SlidingWindowTrigger"
60 
61  } # trigslidewindow
62 
63  } # producers
64 
65  trigger: [ trigslidewindow ]
66  output: [ rootoutput ]
67 
68  trigger_paths: [ trigger ]
69  end_paths: [ output ]
70 
71 } # physics
72 
73 
74 outputs: {
75 
76  rootoutput: @local::icarus_rootoutput # from rootoutput_icarus.fcl
77 
78 } # outputs
79 
80 
81 #
82 # add debug output to its own file
83 #
84 services.message.destinations.SlidingWindowLog: {
85  type: file
86  filename: "SlidingWindowTrigger.log"
87  threshold: DEBUG
88  categories: {
89  SlidingWindowTrigger: { limit: -1 }
90  default: { limit: 0 }
91  }
92 } # services.messages.destinations.SlidingWindowLog
93 
BEGIN_PROLOG BeamGateDuration pmtthr physics producers trigtilewindowORS Thresholds
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
BEGIN_PROLOG icarus_trigger_channel_ignore
services DetectorClocksService
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
* file
Definition: file_to_url.sh:69
BEGIN_PROLOG could also be dds filename
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
BEGIN_PROLOG triggeremu_data_config_icarus settings sequence::triggeremu_data_config_icarus settings PMTADCthresholds sequence::triggeremu_data_config_icarus settings PMTADCthresholds WindowSize
size_t Stride(bool allow_default)
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::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
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