All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TriggerTypes.h
Go to the documentation of this file.
1 /**
2  * @file icaruscode/PMT/Trigger/Algorithms/TriggerTypes.h
3  * @brief Simple type definitions for trigger algorithms.
4  * @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5  * @date April 1, 2019
6  * @see `icaruscode/PMT/Trigger/Algorithms/TriggerGateBuilder.cxx`
7  *
8  */
9 
10 #ifndef ICARUSCODE_PMT_TRIGGER_ALGORITHMS_TRIGGERTYPES_H
11 #define ICARUSCODE_PMT_TRIGGER_ALGORITHMS_TRIGGERTYPES_H
12 
13 
14 // LArSoft libraries
15 #include "lardataalg/DetectorInfo/DetectorTimingTypes.h" // detinfo::timescales
16 #include "lardataalg/Utilities/quantities/spacetime.h" // util::quantities::microsecond
17 #include "lardataobj/RawData/OpDetWaveform.h" // raw::ADC_Count_t
18 
19 
20 namespace icarus::trigger {
21 
22  //
23  // quantities
24  //
26 
27  using namespace util::quantities::time_literals;
28 
29  //
30  // times and time scales
31  //
35 
36 
37  // --- BEGIN Data type definitions -------------------------------------------
38 
39  /// ADC counts for optical detector readout.
41 
42  // --- END Data type definitions ---------------------------------------------
43 
44 
45 } // namespace icarus::trigger
46 
47 
48 #endif // ICARUSCODE_PMT_TRIGGER_ALGORITHMS_TRIGGERTYPES_H
microsecond_as<> microsecond
Type of time stored in microseconds, in double precision.
Definition: spacetime.h:119
timescale_traits< OpticalTimeCategory >::tick_interval_t optical_time_ticks
A value measured in the specified unit.
Definition: quantities.h:566
timescale_traits< OpticalTimeCategory >::time_point_t optical_time
A point in time on the optical detector electronics time scale.
timescale_traits< OpticalTimeCategory >::tick_t optical_tick
Dimensioned variables representing space or time quantities.
Data types for detinfo::DetectorTimings.