All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simulate_majority_trigger_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: simulate_majority_trigger_icarus.fcl
3 # Purpose: Runs `icarus::trigger::MajorityTriggerSimulation` module.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: April 17, 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 # Output
15 # -------
16 #
17 # Data products:
18 # * `majoritytrigger1:THR`, `majoritytrigger2:THR`, ...:
19 # `raw::Trigger` collections for (MajorityTriggerSimulation);
20 # the number in the instance name is the minimum requirement, while the
21 # instance name represents the discrimination threshold used for input.
22 #
23 # Plots:
24 # * `majoritytrigger1`, `majoritytrigger2`: basic trigger response
25 # distributions
26 #
27 
29 #include "rootoutput_icarus.fcl"
30 #include "trigger_icarus.fcl"
31 
32 process_name: MajTrg
33 
34 
35 services: {
36 
37  # this provides: file service, random management (unused),
38  # Geometry, detector properties and clocks
39  @table::icarus_common_services
40 
41  # currently unused (remove the line if they start mattering):
42  LArPropertiesService: @erase
43  DetectorPropertiesService: @erase
44 
45 } # services
46 
47 
48 majoritytriggerTemplate: {
49 
50  module_type: MajorityTriggerSimulation
51 
52  TriggerGatesTag: "lvdsgates"
53 
54  Thresholds: @local::icarus_triggergate_basic.ChannelThresholds # from trigger_icarus.fcl
55 
56  ###
57  ### requirement:
58  ###
59  MinimumPrimitives: @nil # need to replace
60 
61  # Beam gate:
62  # duration (BNB: 1.6 us; NuMI: 9.5 us)
63  BeamGateDuration: @local::BNB_settings.spill_duration # from trigger_icarus.fcl
64  BeamBits: @local::BNB_settings.trigger_bits # from trigger_icarus.fcl
65 
66 
67  # this should probably be 12 or 24 ns
68  TriggerTimeResolution: "8 ns"
69 
70  # name of the category used for the output
71  LogCategory: "MajorityTrigger"
72 
73 } # majoritytriggerTemplate
74 
75 
76 physics: {
77 
78  producers: {
79 
80  majoritytrigger1: {
81  @table::majoritytriggerTemplate
82  MinimumPrimitives: 1
83  } # majoritytrigger1
84 
86  @table::majoritytriggerTemplate
87  MinimumPrimitives: 2
89 
91  @table::majoritytriggerTemplate
92  MinimumPrimitives: 3
94 
96  @table::majoritytriggerTemplate
97  MinimumPrimitives: 4
99 
101  @table::majoritytriggerTemplate
102  MinimumPrimitives: 5
103  } # majoritytrigger5
104 
106  @table::majoritytriggerTemplate
107  MinimumPrimitives: 8
108  } # majoritytrigger8
109 
111  @table::majoritytriggerTemplate
112  MinimumPrimitives: 12
114 
116  @table::majoritytriggerTemplate
117  MinimumPrimitives: 20
119 
120  majoritytrigger50: {
121  @table::majoritytriggerTemplate
122  MinimumPrimitives: 50
123  } # majoritytrigger50
124 
125  } # producers
126 
127  trigger: [
128  majoritytrigger1,
136  majoritytrigger50
137  ]
138  output: [ rootoutput ]
139 
140  trigger_paths: [ trigger ]
141  end_paths: [ output ]
142 
143 } # physics
144 
145 
146 outputs: {
147 
148  rootoutput: @local::icarus_rootoutput # from rootoutput_icarus.fcl
149 
150 } # outputs
151 
152 
153 #
154 # add debug output to its own file
155 #
156 services.message.destinations.MajorityTriggerLog: {
157  type: file
158  filename: "MajorityTriggerSim.log"
159  threshold: DEBUG
160  categories: {
161  MajorityTrigger: { limit: -1 }
162  default: { limit: 0 }
163  }
164 } # services.messages.destinations.MajorityTriggerLog
165 
process_name majoritytrigger12
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 majoritytrigger5
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
process_name majoritytrigger4
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
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
replace invalid UTF-8 sequences with U+FFFD
process_name majoritytrigger20
process_name majoritytrigger2
process_name majoritytrigger3
process_name majoritytrigger8
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