All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triggersim_westmodule_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: triggersim_westmodule_icarus.fcl
3 # Purpose: Runs a chain to simulate ICARUS trigger primitives.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: March 18, 2021
6 # Version: 1.0
7 #
8 # This is a top-level configuration that can be run directly.
9 #
10 #
11 # The steps are:
12 #
13 # * pmtbaselines (PMTWaveformBaselines): computes baselines for all PMT
14 # waveforms
15 # * discrimopdaq (DiscriminatePMTwaveforms): from each PMT extracts a gate
16 # signal according to each of the configured thresholds;
17 # for each threshold all gates are stored in their own data product
18 # * lvdsgatesOR (LVDSgates): pairs each of the discriminated waveforms above
19 # to reproduce the 192 hardware channels from PMT feeding the trigger
20 # the pairing is performed as an OR of the two gates in the pair;
21 # * trigtilewindowORN (SlidingWindowTrigger): applies a sliding window of 30
22 # PMT and keeps only the ones on east cryostat (C:0); it uses OR paired
23 # output from LVDS simulation;
24 # * effTiledORN (SlidingWindowTriggerEfficiencyPlots): produces plots of
25 # efficiency of a trigger requiring patterns of sliding window triggers,
26 # with minimum LVDS trigger primitives in each sliding window, to be
27 # present at the same time and in coincidence with a 1.6 us beam gate;
28 #
29 #
30 # Required inputs
31 # ----------------
32 #
33 # * optical detector readout: `opdaq`
34 #
35 #
36 # Changes
37 # --------
38 #
39 # 20210318 (petrillo@slac.stanford.edu) [v1.0]
40 # : original version based on `triggersim_eastmodule_icarus.fcl` v1.0
41 #
42 
43 
44 # ------------------------------------------------------------------------------
45 BEGIN_PROLOG
46 
47 
48 # list of the sliding windows that are enabled (all others are disabled)
49 EnabledWindows @protect_ignore: [ 10, 11, 12, 13, 14, 15 ]
50 EnabledWindowsSliding @protect_ignore: [ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
51 EnabledWindowsE @protect_ignore: [ 10, 11, 12 ]
52 EnabledWindowsSlidingE @protect_ignore: [ 10, 11, 12, 13, 14 ]
53 EnabledWindowsW @protect_ignore: [ 13, 14, 15 ]
54 EnabledWindowsSlidingW @protect_ignore: [ 15, 16, 17, 18, 19 ]
57 EnabledWindowsSW @protect_ignore: [ 13 ]
58 EnabledWindowsC @protect_ignore: [ 11, 14 ]
60 EnabledWindowsCW @protect_ignore: [ 14 ]
61 EnabledWindowsN @protect_ignore: [ 12, 15 ]
63 EnabledWindowsNW @protect_ignore: [ 15 ]
64 
65 
66 END_PROLOG
67 # ------------------------------------------------------------------------------
68 
70 
71 # ------------------------------------------------------------------------------
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsSlidingE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindows
BEGIN_PROLOG BeamGateDuration protect_ignore
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsS
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsSE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsCE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsNE
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsW
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsSlidingW
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows EnabledWindowsE