#include <OpFlash.h>
|
| OpFlash ()=default |
|
| OpFlash (double time, double timewidth, double abstime, unsigned int frame, std::vector< double > PEperOpDet, bool InBeamFrame, int OnBeamTime, double FastToTotal, double xCenter, double xWidth, double yCenter, double yWidth, double zCenter, double zWidth, std::vector< double > WireCenters=std::vector< double >(0), std::vector< double > WireWidths=std::vector< double >(0)) |
| Constructor: all data members directly initialized. More...
|
|
| OpFlash (double time, double timewidth, double abstime, unsigned int frame, std::vector< double > PEperOpDet, bool InBeamFrame=0, int OnBeamTime=0, double FastToTotal=1, double yCenter=0, double yWidth=0, double zCenter=0, double zWidth=0, std::vector< double > WireCenters=std::vector< double >(0), std::vector< double > WireWidths=std::vector< double >(0)) |
| Constructor: all data members directly initialized except x coordinate. More...
|
|
double | Time () const |
|
double | TimeWidth () const |
|
double | AbsTime () const |
|
unsigned int | Frame () const |
|
double | PE (unsigned int i) const |
|
std::vector< double > const & | PEs () const |
| Returns a vector with a number of photoelectrons per channel. More...
|
|
bool | hasXCenter () const |
| Returns whether the estimated center on x direction is available. More...
|
|
double | XCenter () const |
| Returns the estimated center on x direction (. More...
|
|
double | XWidth () const |
|
double | YCenter () const |
|
double | YWidth () const |
|
double | ZCenter () const |
|
double | ZWidth () const |
|
bool | InBeamFrame () const |
|
int | OnBeamTime () const |
|
std::vector< double > const & | WireCenters () const |
|
std::vector< double > const & | WireWidths () const |
|
double | TotalPE () const |
|
double | FastToTotal () const |
|
|
static constexpr double | NoCenter = std::numeric_limits<double>::max() |
| Special value used for absence of center location information. More...
|
|
Definition at line 20 of file OpFlash.h.
recob::OpFlash::OpFlash |
( |
| ) |
|
|
default |
recob::OpFlash::OpFlash |
( |
double |
time, |
|
|
double |
timewidth, |
|
|
double |
abstime, |
|
|
unsigned int |
frame, |
|
|
std::vector< double > |
PEperOpDet, |
|
|
bool |
InBeamFrame, |
|
|
int |
OnBeamTime, |
|
|
double |
FastToTotal, |
|
|
double |
xCenter, |
|
|
double |
xWidth, |
|
|
double |
yCenter, |
|
|
double |
yWidth, |
|
|
double |
zCenter, |
|
|
double |
zWidth, |
|
|
std::vector< double > |
WireCenters = std::vector<double>(0) , |
|
|
std::vector< double > |
WireWidths = std::vector<double>(0) |
|
) |
| |
Constructor: all data members directly initialized.
Definition at line 18 of file OpFlash.cxx.
std::vector< double > fPEperOpDet
Number of PE on each PMT.
double fYCenter
Geometric center in y [cm].
double fTime
Time on trigger time scale [us].
double FastToTotal() const
double fZCenter
Geometric center in z [cm].
double fXWidth
Estimated width in x [cm].
double fZWidth
Geometric width in z [cm].
double fYWidth
Geometric width in y [cm].
unsigned int fFrame
Frame number.
double fFastToTotal
Fast to total light ratio.
double fAbsTime
Time by PMT readout clock.
double fXCenter
Estimated center in x [cm].
std::vector< double > fWireWidths
Geometric width in each view.
bool fInBeamFrame
Is this in the beam frame?
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].
recob::OpFlash::OpFlash |
( |
double |
time, |
|
|
double |
timewidth, |
|
|
double |
abstime, |
|
|
unsigned int |
frame, |
|
|
std::vector< double > |
PEperOpDet, |
|
|
bool |
InBeamFrame = 0 , |
|
|
int |
OnBeamTime = 0 , |
|
|
double |
FastToTotal = 1 , |
|
|
double |
yCenter = 0 , |
|
|
double |
yWidth = 0 , |
|
|
double |
zCenter = 0 , |
|
|
double |
zWidth = 0 , |
|
|
std::vector< double > |
WireCenters = std::vector<double>(0) , |
|
|
std::vector< double > |
WireWidths = std::vector<double>(0) |
|
) |
| |
Constructor: all data members directly initialized except x coordinate.
Definition at line 46 of file OpFlash.cxx.
54 time, timewidth, abstime, frame,
57 std::move(WireCenters), std::move(WireWidths)
static constexpr double NoCenter
Special value used for absence of center location information.
double FastToTotal() const
double recob::OpFlash::AbsTime |
( |
| ) |
const |
|
inline |
Definition at line 108 of file OpFlash.h.
double fAbsTime
Time by PMT readout clock.
double recob::OpFlash::FastToTotal |
( |
| ) |
const |
|
inline |
Definition at line 119 of file OpFlash.h.
double fFastToTotal
Fast to total light ratio.
unsigned int recob::OpFlash::Frame |
( |
| ) |
const |
|
inline |
Definition at line 109 of file OpFlash.h.
unsigned int fFrame
Frame number.
bool recob::OpFlash::hasXCenter |
( |
| ) |
const |
|
inline |
Returns whether the estimated center on x direction is available.
Definition at line 112 of file OpFlash.h.
static constexpr double NoCenter
Special value used for absence of center location information.
double fXCenter
Estimated center in x [cm].
bool recob::OpFlash::InBeamFrame |
( |
| ) |
const |
|
inline |
Definition at line 122 of file OpFlash.h.
bool fInBeamFrame
Is this in the beam frame?
int recob::OpFlash::OnBeamTime |
( |
| ) |
const |
|
inline |
Definition at line 123 of file OpFlash.h.
int fOnBeamTime
Is this in time with beam?
double recob::OpFlash::PE |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 110 of file OpFlash.h.
std::vector< double > fPEperOpDet
Number of PE on each PMT.
std::vector< double > const & recob::OpFlash::PEs |
( |
| ) |
const |
|
inline |
Returns a vector with a number of photoelectrons per channel.
Definition at line 111 of file OpFlash.h.
std::vector< double > fPEperOpDet
Number of PE on each PMT.
double recob::OpFlash::Time |
( |
| ) |
const |
|
inline |
Definition at line 106 of file OpFlash.h.
double fTime
Time on trigger time scale [us].
double recob::OpFlash::TimeWidth |
( |
| ) |
const |
|
inline |
Definition at line 107 of file OpFlash.h.
double fTimeWidth
Width of the flash in time [us].
double recob::OpFlash::TotalPE |
( |
| ) |
const |
Definition at line 68 of file OpFlash.cxx.
std::vector< double > fPEperOpDet
Number of PE on each PMT.
std::vector< double > const & recob::OpFlash::WireCenters |
( |
| ) |
const |
|
inline |
Definition at line 120 of file OpFlash.h.
std::vector< double > fWireCenters
Geometric center in each view.
std::vector< double > const & recob::OpFlash::WireWidths |
( |
| ) |
const |
|
inline |
Definition at line 121 of file OpFlash.h.
std::vector< double > fWireWidths
Geometric width in each view.
double recob::OpFlash::XCenter |
( |
| ) |
const |
|
inline |
Returns the estimated center on x direction (.
- See Also
hasXCenter()
).
Definition at line 113 of file OpFlash.h.
double fXCenter
Estimated center in x [cm].
double recob::OpFlash::XWidth |
( |
| ) |
const |
|
inline |
Definition at line 114 of file OpFlash.h.
double fXWidth
Estimated width in x [cm].
double recob::OpFlash::YCenter |
( |
| ) |
const |
|
inline |
Definition at line 115 of file OpFlash.h.
double fYCenter
Geometric center in y [cm].
double recob::OpFlash::YWidth |
( |
| ) |
const |
|
inline |
Definition at line 116 of file OpFlash.h.
double fYWidth
Geometric width in y [cm].
double recob::OpFlash::ZCenter |
( |
| ) |
const |
|
inline |
Definition at line 117 of file OpFlash.h.
double fZCenter
Geometric center in z [cm].
double recob::OpFlash::ZWidth |
( |
| ) |
const |
|
inline |
Definition at line 118 of file OpFlash.h.
double fZWidth
Geometric width in z [cm].
double recob::OpFlash::fAbsTime |
|
private |
Time by PMT readout clock.
Definition at line 32 of file OpFlash.h.
double recob::OpFlash::fFastToTotal |
|
private |
Fast to total light ratio.
Definition at line 43 of file OpFlash.h.
unsigned int recob::OpFlash::fFrame |
|
private |
bool recob::OpFlash::fInBeamFrame |
|
private |
Is this in the beam frame?
Definition at line 44 of file OpFlash.h.
int recob::OpFlash::fOnBeamTime |
|
private |
Is this in time with beam?
Definition at line 45 of file OpFlash.h.
std::vector< double > recob::OpFlash::fPEperOpDet |
|
private |
Number of PE on each PMT.
Definition at line 34 of file OpFlash.h.
double recob::OpFlash::fTime { 0.0 } |
|
private |
double recob::OpFlash::fTimeWidth |
|
private |
Width of the flash in time [us].
Definition at line 31 of file OpFlash.h.
std::vector< double > recob::OpFlash::fWireCenters |
|
private |
Geometric center in each view.
Definition at line 35 of file OpFlash.h.
std::vector< double > recob::OpFlash::fWireWidths |
|
private |
Geometric width in each view.
Definition at line 36 of file OpFlash.h.
double recob::OpFlash::fXCenter { NoCenter } |
|
private |
Estimated center in x [cm].
Definition at line 37 of file OpFlash.h.
double recob::OpFlash::fXWidth { NoCenter } |
|
private |
Estimated width in x [cm].
Definition at line 38 of file OpFlash.h.
double recob::OpFlash::fYCenter |
|
private |
Geometric center in y [cm].
Definition at line 39 of file OpFlash.h.
double recob::OpFlash::fYWidth |
|
private |
Geometric width in y [cm].
Definition at line 40 of file OpFlash.h.
double recob::OpFlash::fZCenter |
|
private |
Geometric center in z [cm].
Definition at line 41 of file OpFlash.h.
double recob::OpFlash::fZWidth |
|
private |
Geometric width in z [cm].
Definition at line 42 of file OpFlash.h.
constexpr double recob::OpFlash::NoCenter = std::numeric_limits<double>::max() |
|
static |
Special value used for absence of center location information.
Definition at line 24 of file OpFlash.h.
The documentation for this class was generated from the following files: