All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
maketriggerplots_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: maketriggerplots_icarus.fcl
3 # Purpose: Runs `icarus::trigger::MajorityTriggerEfficiencyPlots` module.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: January 9, 2020
6 #
7 # This is a top-level configuration that can be run directly.
8 #
9 # Required inputs
10 # ----------------
11 #
12 # * discriminated waveforms (with threshold)
13 #
14 
16 #include "trigger_icarus.fcl"
17 
18 process_name: TrgPlots
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: MajorityTriggerEfficiencyPlots
41 
42  TriggerGatesTag: lvdsgates
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  MinimumPrimitives: [ 1, 2, 3, 4, 5, 8, 12, 20, 50 ]
49 
50  # duration of the beam gate (BNB: 1.6 us; NuMI: 9.5 us)
51  BeamGateDuration: @local::BNB_settings.spill_duration # from trigger_icarus.fcl
52 
53  # message facility stream
54  LogCategory: "MajorityTriggerEfficiencyPlots"
55 
56  } # triggerplots
57 
58  } # analyzers
59 
60  plots: [ triggerplots ]
61 
62  trigger_paths: []
63  end_paths: [ plots ]
64 
65 } # physics
66 
67 
68 #
69 # add debug output to its own file
70 #
71 services.message.destinations.MajorityTriggerEfficiencyPlotsLog: {
72  type: file
73  filename: "MajorityTriggerEfficiencyPlots.log"
74  threshold: DEBUG
75  categories: {
76  MajorityTriggerEfficiencyPlots: { limit: -1 }
77  default: { limit: 0 }
78  }
79 } # services.messages.destinations.MajorityTriggerEfficiencyPlotsLog
80 
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