All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SROpFlash.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SROPFLASH.h
3 // \brief Adaptation of recob::OpFlash (https://nusoft.fnal.gov/larsoft/doxsvn/html/classrecob_1_1OpFlash.html).
4 // \author jsmedley@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef SROPFLASH_H
7 #define SROPFLASH_H
8 
11 #include <vector>
12 
13 namespace caf
14 {
15  /// Optical Flash -- a summary of multiple optical hits that have been determined to be associated
16  class SROpFlash
17  {
18  public:
19  SROpFlash();
20 
21  bool onbeamtime { false }; //!< Is this in time with beam?
22  int cryo { kUninitializedInt }; //!< 0 for SBND/ICARUS East, 1 for ICARUS West.
23  int firstpmt { kUninitializedInt }; //!< Channel number of first hit
24  float time { kSignalingNaN }; //!< Time on trigger time scale [us].
25  float timewidth { kSignalingNaN }; //!< Width of the flash in time [us].
26  float timemean { kSignalingNaN }; //!< Mean time of hits [us].
27  float timesd { kSignalingNaN }; //!< Standard deviation of hit times [us].
28  float firsttime { kSignalingNaN }; //!< Time of first hit [us].
29  float totalpe { kSignalingNaN }; //!< Total number of PE across all PMTs.
30  float fasttototal { kSignalingNaN }; //!< Fast to total light ratio.
32 
33  SRVector3D center; //!< Geometric center in <x,y,z> [cm].
34  SRVector3D width; //!< Geometric width in <x,y,z> [cm].
35 
36  void setDefault();
37 
38  };
39 
40 } // end namespace
41 
42 #endif // SROPFLASH_H
43 //////////////////////////////////////////////////////////////////////////////
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
SRVector3D width
Geometric width in &lt;x,y,z&gt; [cm].
Definition: SROpFlash.h:34
float totalpe
Total number of PE across all PMTs.
Definition: SROpFlash.h:29
Optical Flash – a summary of multiple optical hits that have been determined to be associated...
Definition: SROpFlash.h:16
float timewidth
Width of the flash in time [us].
Definition: SROpFlash.h:25
void setDefault()
Definition: SROpFlash.cxx:17
float fasttototal
Fast to total light ratio.
Definition: SROpFlash.h:30
SRVector3D center
Geometric center in &lt;x,y,z&gt; [cm].
Definition: SROpFlash.h:33
int cryo
0 for SBND/ICARUS East, 1 for ICARUS West.
Definition: SROpFlash.h:22
constexpr int kUninitializedInt
Definition: SRConstants.h:9
bool onbeamtime
Is this in time with beam?
Definition: SROpFlash.h:21
float firsttime
Time of first hit [us].
Definition: SROpFlash.h:28
float timemean
Mean time of hits [us].
Definition: SROpFlash.h:26
constexpr float kSignalingNaN
Definition: SRConstants.h:8
float timesd
Standard deviation of hit times [us].
Definition: SROpFlash.h:27
int firstpmt
Channel number of first hit.
Definition: SROpFlash.h:23
float peperwall[2]
Definition: SROpFlash.h:31
float time
Time on trigger time scale [us].
Definition: SROpFlash.h:24