All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackedOpticalTriggerGate.h
Go to the documentation of this file.
1 /**
2  * @file icaruscode/PMT/Trigger/Utilities/TrackedOpticalTriggerGate.h
3  * @brief A simple alias for a most commonly used `TrackedTriggerGate` type.
4  * @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5  * @date January 7, 2022
6  * @see icaruscode/PMT/Trigger/Utilities/TrackedTriggerGate.h
7  *
8  * This library is header-only.
9  */
10 
11 #ifndef ICARUSCODE_PMT_TRIGGER_UTILITIES_TRACKEDOPTICALTRIGGERGATE_H
12 #define ICARUSCODE_PMT_TRIGGER_UTILITIES_TRACKEDOPTICALTRIGGERGATE_H
13 
14 
15 // ICARUS libraries
18 
19 
20 // -----------------------------------------------------------------------------
21 
22 namespace icarus::trigger {
23 
24  /**
25  * @brief `TrackedTriggerGate` wrapper to trigger gate type commonly stored.
26  * @tparam TrackedType type of tracked objects
27  *
28  * The data in the gate, of type `icarus::trigger::OpticalTriggerGateData_t`,
29  * is accessed via `gate()` and it is owned (i.e. if its source is a data
30  * product, this is a copy of that data and not a reference to it).
31  *
32  * Tracking information stores pointers to existing `TrackedType` objects
33  * (typically `raw::OpDetWaveform` or `sbn::OpDetWaveformMeta`).
34  *
35  */
36  template <typename TrackedType>
39 
40 
41 } // namespace icarus::trigger
42 
43 // -----------------------------------------------------------------------------
44 
45 #endif // ICARUSCODE_PMT_TRIGGER_UTILITIES_TRACKEDOPTICALTRIGGERGATE_H
A wrapper to trigger gate objects tracking the input of operations.
A trigger gate data object for optical detector electronics.
icarus::trigger::ReadoutTriggerGate< TriggerGateTick_t, TriggerGateTicks_t, raw::Channel_t > OpticalTriggerGateData_t
Type of trigger gate data serialized into art data products.
A wrapper to trigger gate objects tracking the contributions.
icarus::trigger::TrackedTriggerGate< icarus::trigger::OpticalTriggerGateData_t, TrackedType const * > TrackedOpticalTriggerGate
TrackedTriggerGate wrapper to trigger gate type commonly stored.