24 static constexpr
double NoCenter = std::numeric_limits<double>::max();
52 OpFlash(
double time,
double timewidth,
double abstime,
unsigned int frame,
53 std::vector< double > PEperOpDet,
55 double xCenter,
double xWidth,
56 double yCenter,
double yWidth,
57 double zCenter,
double zWidth,
58 std::vector<double>
WireCenters = std::vector<double>(0),
59 std::vector<double>
WireWidths = std::vector<double>(0));
62 OpFlash(
double time,
double timewidth,
double abstime,
unsigned int frame,
63 std::vector< double > PEperOpDet,
64 bool InBeamFrame=0,
int OnBeamTime=0,
double FastToTotal=1,
65 double yCenter=0,
double yWidth=0,
66 double zCenter=0,
double zWidth=0,
67 std::vector<double>
WireCenters = std::vector<double>(0),
68 std::vector<double>
WireWidths = std::vector<double>(0));
74 unsigned int Frame()
const;
75 double PE(
unsigned int i)
const;
78 std::vector<double>
const&
PEs()
const;
std::vector< double > fPEperOpDet
Number of PE on each PMT.
std::vector< double > const & WireCenters() const
double fYCenter
Geometric center in y [cm].
static constexpr double NoCenter
Special value used for absence of center location information.
double fTime
Time on trigger time scale [us].
double FastToTotal() const
double fZCenter
Geometric center in z [cm].
double PE(unsigned int i) const
double fXWidth
Estimated width in x [cm].
double fZWidth
Geometric width in z [cm].
bool hasXCenter() const
Returns whether the estimated center on x direction is available.
double fYWidth
Geometric width in y [cm].
unsigned int fFrame
Frame number.
unsigned int Frame() const
double fFastToTotal
Fast to total light ratio.
double fAbsTime
Time by PMT readout clock.
double fXCenter
Estimated center in x [cm].
std::vector< double > const & WireWidths() const
std::vector< double > fWireWidths
Geometric width in each view.
std::vector< double > const & PEs() const
Returns a vector with a number of photoelectrons per channel.
bool fInBeamFrame
Is this in the beam frame?
double XCenter() const
Returns the estimated center on x direction (.
int fOnBeamTime
Is this in time with beam?
std::vector< double > fWireCenters
Geometric center in each view.
double fTimeWidth
Width of the flash in time [us].