All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
makeslidingwindowtriggerplots_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: makeslidingwindowtriggerplots_icarus.fcl
3 # Purpose: Runs `icarus::trigger::SlidingWindowTriggerEfficiencyPlots` module.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: April 2, 2020
6 #
7 # This is a top-level configuration that can be run directly.
8 #
9 # Required inputs
10 # ----------------
11 #
12 # * sliding window discriminated waveforms (with threshold)
13 #
14 
16 #include "trigger_icarus.fcl"
17 
18 process_name: SlideTrgPlots
19 
20 
21 services: {
22 
23  # this provides: file service, random management (unused),
24  # geometry, detector properties and clocks
25  @table::icarus_common_services
26 
27  # currently unused (remove the line if they start mattering):
28  LArPropertiesService: @erase
29  DetectorPropertiesService: @erase
30 
31 } # services
32 
33 
34 physics: {
35 
36  analyzers: {
37 
38  triggerplots: {
39 
40  module_type: SlidingWindowTriggerEfficiencyPlots
41 
42  TriggerGatesTag: trigslidewindow
43 
44  # select the thresholds to process (mandatory)
45  Thresholds: @local::icarus_triggergate_basic.ChannelThresholds # from trigger_icarus.fcl
46 
47  # minimum number of trigger primitives required for the trigger to fire
48  Patterns: [
49  {
50  inMainWindow: 5
51  },
52  {
53  inMainWindow: 8
54  },
55  {
56  inMainWindow: 3
57  inOppositeWindow: 1
58  },
59  {
60  inMainWindow: 3
61  inOppositeWindow: 3
62  }
63  ] # Patterns
64 
65 
66  # duration of the beam gate (BNB: 1.6 us; NuMI: 9.5 us)
67  BeamGateDuration: @local::BNB_settings.spill_duration # from trigger_icarus.fcl
68 
69  # message facility stream
70  LogCategory: "SlidingWindowTriggerEfficiencyPlots"
71 
72  } # triggerplots
73 
74  } # analyzers
75 
76  plots: [ triggerplots ]
77 
78  trigger_paths: []
79  end_paths: [ plots ]
80 
81 } # physics
82 
83 
84 #
85 # add debug output to its own file
86 #
87 services.message.destinations.SlidingWindowTriggerEfficiencyPlotsLog: {
88  type: file
89  filename: "SlidingWindowTriggerEfficiencyPlots.log"
90  threshold: DEBUG
91  categories: {
92  SlidingWindowTriggerEfficiencyPlots: { limit: -1 }
93  default: { limit: 0 }
94  }
95 } # services.messages.destinations.SlidingWindowTriggerEfficiencyPlotsLog
96 
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
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
std::vector< PlotDef > plots
Definition: demo.h:54
BEGIN_PROLOG BNB_settings
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
process_name analyzers
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name