All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SROpFlash.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SROpFlash.cxx
3 // \brief Adaptation of recob::OpFlash (https://nusoft.fnal.gov/larsoft/doxsvn/html/classrecob_1_1OpFlash.html). This SR code copied/based on other SR objects.
4 // \author jsmedley@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 
8 
9 #include <climits>
10 
11 namespace caf
12 {
13 
15  {}
16 
18  {
19 
20  onbeamtime = false;
21  cryo = -5;
22  firstpmt = -5;
23  time = -9999.f;
24  timewidth = -5.f;
25  timemean = -9999.f;
26  timesd = -5.f;
27  firsttime = -9999.f;
28  totalpe = -5.f;
29  fasttototal = -5.f;
30  peperwall[0] = -5.f;
31  peperwall[1] = -5.f;
32 
33  center = SRVector3D(-9999.f, -9999.f, -9999.f);
34  width = SRVector3D(-9999.f, -9999.f, -9999.f);
35  }
36 
37 } // end namespace caf
38 ////////////////////////////////////////////////////////////////////////
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
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
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
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