2 # File: triggersim_icarus_data.fcl
3 # Purpose: Runs a chain to simulate ICARUS trigger primitives on ICARUS data.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
8 # This is a top-level configuration that can be run directly.
12 # * pre-trigger: 9 us ( = (buffer length) x (1 - post_trigger_fraction) = 30 us x (1 - 70%))
13 # * beam gate: 1.6 us opening at trigger time (centered with a 25% margin)
19 # * optical detector readout: `daqPMT`
20 # * PMT configuration: `pmtconfig` (run data product)
26 # 20210517 (petrillo@slac.stanford.edu) [v1.0]
27 # : original version based on `triggersim_singlemodule_icarus.fcl` v1.0
28 # 20210721 (petrillo@slac.stanford.edu) [v1.1]
29 # : rely on `pmtconfig` from decoding (by now it's "standard")
46 # We can set the beam gate and trigger time according to the decoded trigger;
47 # for a minimum bias run, trigger and beam gate opening happen at the same time;
48 # while for a run with active trigger logic, trigger time is fixed while the
49 # beam gate opening time varies event by event and is expressed with respect to
50 # the trigger. Note that in simulation the opposite happens: beam gate time is
51 # fixed and triggers can be simulated relative to it.
53 services.DetectorClocksService.TrigModuleName:
"daqTrigger"
57 # different input labels
59 physics.producers.discrimopdaq.OpticalWaveforms:
"daqPMT"
60 physics.producers.pmtbaselines.OpticalWaveforms:
"daqPMT"
64 # * PMT configuration from data product
65 # * baseline from PMT configuration
66 # * discrimination from PMT configuration
68 services.IICARUSChannelMap: @local::icarus_channelmappinggservice
71 physics.producers.pmtconfigbaselines: {
73 module_type: PMTWaveformBaselinesFromReadoutConfiguration
75 # label of input digitized optical waveform data product
78 # label of PMT configuration
79 PMTconfigurationTag:
"pmtconfig"
81 # produce plots on the extracted baseline
82 PlotBaselines:
true #
default
84 # print on screen the baselines (good for debugging)
87 # tag of the module output to console via message facility
88 OutputCategory:
"PMTWaveformBaselines" #
default
90 } #
physics.producers.pmtconfigbaselines
97 # input optical waveform data product tag:
101 Baselines:
"pmtconfigbaselines" #
from data products
103 # threshold configuration
104 ThresholdsFromPMTconfig:
"pmtconfig"
108 # choosing the discrimination algorithm: fixed length gates
110 TriggerGateBuilder: {
111 @table::icarus_fixedtriggergate #
from trigger_icarus.fcl
113 ChannelThresholds: @local::PMTthresholds # ignored: overridden by
module
117 } # TriggerGateBuilder
120 # message facility stream
121 OutputCategory:
"DiscriminatePMTwaveforms"
126 physics.producers.lvdsgatesOR.Thresholds: [
"pmtthr:" ]
174 physics.producers.discrimopdaq: @erase
175 physics.producers.pmtbaselines: @erase
187 # trigger simulation: tiling
191 # trigger simulation: sliding
199 # disable truth information
201 physics.analyzers.effTiledOR.OnlyPlotCategories: [
"All" ]
202 physics.analyzers.effTiledOR.GeneratorTags: []
203 physics.analyzers.effTiledOR.DetectorParticleTag: @erase
204 physics.analyzers.effTiledOR.EnergyDeposits: []
206 physics.analyzers.effTiledORE.OnlyPlotCategories: [
"All" ]
207 physics.analyzers.effTiledORE.GeneratorTags: []
208 physics.analyzers.effTiledORE.DetectorParticleTag: @erase
209 physics.analyzers.effTiledORE.EnergyDeposits: []
211 physics.analyzers.effTiledORW.OnlyPlotCategories: [
"All" ]
212 physics.analyzers.effTiledORW.GeneratorTags: []
213 physics.analyzers.effTiledORW.DetectorParticleTag: @erase
214 physics.analyzers.effTiledORW.EnergyDeposits: []
216 physics.analyzers.effSlidingOR.OnlyPlotCategories: [
"All" ]
217 physics.analyzers.effSlidingOR.GeneratorTags: []
218 physics.analyzers.effSlidingOR.DetectorParticleTag: @erase
219 physics.analyzers.effSlidingOR.EnergyDeposits: []
221 physics.analyzers.effSlidingORE.OnlyPlotCategories: [
"All" ]
222 physics.analyzers.effSlidingORE.GeneratorTags: []
223 physics.analyzers.effSlidingORE.DetectorParticleTag: @erase
224 physics.analyzers.effSlidingORE.EnergyDeposits: []
226 physics.analyzers.effSlidingORW.OnlyPlotCategories: [
"All" ]
227 physics.analyzers.effSlidingORW.GeneratorTags: []
228 physics.analyzers.effSlidingORW.DetectorParticleTag: @erase
229 physics.analyzers.effSlidingORW.EnergyDeposits: []
233 # ------------------------------------------------------------------------------
234 # --- Configuration override guide
235 # ------------------------------------------------------------------------------
237 # The default values of the trigger configuration are in one way or the other
238 # coming from `trigger_icarus.fcl`.
242 # ------------------------------------------------------------------------------
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 sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM5O5
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM1
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simTiledORS3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM5O5
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simSlidingORS8
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
BEGIN_PROLOG LVDSsignalWidth
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simSlidingORS3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM2
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG lvdsgatesOR
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM2
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM4O4
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigtilewindowORW
BEGIN_PROLOG BeamGateDuration pmtthr
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM3O3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simTiledORS10
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simTiledORS5
BEGIN_PROLOG GateDuration
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigslidewindowORW
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM6
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigslidewindowORE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simSlidingORS10
BEGIN_PROLOG BeamGateDuration protect_ignore
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM5
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM4
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simSlidingORM6O6
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigtilewindowOR
physics producers discrimopdaq OpticalWaveforms
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 simTiledORM3O3
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simSlidingORS5
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigslidewindowOR
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM1
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simTiledORS8
BEGIN_PROLOG BeamGateDuration pmtthr physics producers trigtilewindowORS pmtthr physics producers trigtilewindowORC pmtthr physics producers trigtilewindowORN pmtthr physics producers trigtilewindowORE pmtthr physics producers trigtilewindowORSE pmtthr physics producers trigtilewindowORCE pmtthr physics producers trigtilewindowORNE pmtthr physics producers trigtilewindowORW pmtthr physics producers trigtilewindowORSW pmtthr physics producers trigtilewindowORCW pmtthr physics producers trigtilewindowORNW pmtthr physics producers trigslidewindowOR pmtthr physics producers trigslidewindowORE pmtthr physics producers trigslidewindowORW pmtthr physics analyzers effTiledOR pmtconfigbaselines
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM4O4
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG trigtilewindowORE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM4
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simTiledORM6O6
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG simTiledORS15
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM5