#include <Shower.h>
Public Member Functions | |
Shower () | |
Shower (TVector3 const &dcosVtx, TVector3 const &dcosVtxErr, TVector3 const &xyz, TVector3 const &xyzErr, std::vector< double > TotalEnergy, std::vector< double > TotalEnergyErr, std::vector< double > dEdx, std::vector< double > dEdxErr, int bestplane, int id, double length, double openAngle) | |
Shower (TVector3 const &dcosVtx, TVector3 const &dcosVtxErr, TVector3 const &xyz, TVector3 const &xyzErr, std::vector< double > TotalEnergy, std::vector< double > TotalEnergyErr, std::vector< double > dEdx, std::vector< double > dEdxErr, int bestplane, int id=util::kBogusI) | |
void | set_id (const int id) |
void | set_total_energy (const std::vector< double > &q) |
void | set_total_energy_err (const std::vector< double > &q) |
void | set_total_MIPenergy (const std::vector< double > &q) |
void | set_total_MIPenergy_err (const std::vector< double > &q) |
void | set_total_best_plane (const int q) |
void | set_direction (const TVector3 &dir) |
void | set_direction_err (const TVector3 &dir_e) |
void | set_start_point (const TVector3 &xyz) |
void | set_start_point_err (const TVector3 &xyz_e) |
void | set_dedx (const std::vector< double > &q) |
void | set_dedx_err (const std::vector< double > &q) |
void | set_length (const double &l) |
void | set_open_angle (const double &a) |
int | ID () const |
const TVector3 & | Direction () const |
const TVector3 & | DirectionErr () const |
const TVector3 & | ShowerStart () const |
const TVector3 & | ShowerStartErr () const |
const std::vector< double > & | Energy () const |
const std::vector< double > & | EnergyErr () const |
const std::vector< double > & | MIPEnergy () const |
const std::vector< double > & | MIPEnergyErr () const |
int | best_plane () const |
double | Length () const |
double | OpenAngle () const |
const std::vector< double > & | dEdx () const |
const std::vector< double > & | dEdxErr () const |
bool | has_open_angle () const |
Returns whether the shower has a valid opening angle. More... | |
bool | has_length () const |
Returns whether the shower has a valid length. More... | |
Private Attributes | |
int | fID |
Default constructor. More... | |
TVector3 | fDCosStart |
direction cosines at start of shower More... | |
TVector3 | fSigmaDCosStart |
uncertainty on initial direction cosines More... | |
TVector3 | fXYZstart |
direction cosines at start of shower More... | |
TVector3 | fSigmaXYZstart |
uncertainty on initial direction cosines More... | |
std::vector< double > | fTotalEnergy |
Calculated Energy per each plane. More... | |
std::vector< double > | fSigmaTotalEnergy |
Calculated Energy per each plane. More... | |
std::vector< double > | fdEdx |
Calculated dE/dx per each plane. More... | |
std::vector< double > | fSigmadEdx |
Calculated dE/dx per each plane. More... | |
std::vector< double > | fTotalMIPEnergy |
Calculated Energy per each plane. More... | |
std::vector< double > | fSigmaTotalMIPEnergy |
Calculated Energy per each plane. More... | |
int | fBestPlane |
double | fLength |
Shower length [cm]. More... | |
double | fOpenAngle |
Opening angle [rad]. More... | |
Static Private Attributes | |
static constexpr double | InvalidLength = std::numeric_limits<double>::lowest() |
The magic constant indicating the invalidity of the shower length variable. More... | |
static constexpr double | InvalidOpeningAngle = std::numeric_limits<double>::lowest() |
The magic constant indicating the invalidity of the opening angle variable. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Shower const &a) |
bool | operator< (const Shower &a, const Shower &b) |
Shower::Shower | ( | ) |
Definition at line 20 of file Shower.cxx.
Shower::Shower | ( | TVector3 const & | dcosVtx, |
TVector3 const & | dcosVtxErr, | ||
TVector3 const & | xyz, | ||
TVector3 const & | xyzErr, | ||
std::vector< double > | TotalEnergy, | ||
std::vector< double > | TotalEnergyErr, | ||
std::vector< double > | dEdx, | ||
std::vector< double > | dEdxErr, | ||
int | bestplane, | ||
int | id, | ||
double | length, | ||
double | openAngle | ||
) |
Definition at line 25 of file Shower.cxx.
|
inline |
Legacy constructor (with no length and no opening angle).
Definition at line 107 of file Shower.h.
|
inline |
Definition at line 203 of file Shower.h.
|
inline |
Definition at line 204 of file Shower.h.
|
inline |
Definition at line 189 of file Shower.h.
|
inline |
Definition at line 190 of file Shower.h.
|
inline |
Definition at line 195 of file Shower.h.
|
inline |
Definition at line 196 of file Shower.h.
|
inline |
|
inline |
|
inline |
Definition at line 198 of file Shower.h.
|
inline |
Definition at line 199 of file Shower.h.
|
inline |
Definition at line 139 of file Shower.h.
|
inline |
Definition at line 140 of file Shower.h.
|
inline |
Definition at line 135 of file Shower.h.
|
inline |
Definition at line 136 of file Shower.h.
|
inline |
|
inline |
Definition at line 137 of file Shower.h.
|
inline |
Definition at line 138 of file Shower.h.
|
inline |
|
inline |
Definition at line 129 of file Shower.h.
|
inline |
Definition at line 130 of file Shower.h.
|
inline |
Definition at line 131 of file Shower.h.
|
inline |
Definition at line 132 of file Shower.h.
|
inline |
Definition at line 192 of file Shower.h.
|
inline |
Definition at line 193 of file Shower.h.
Definition at line 66 of file Shower.cxx.
|
friend |
Definition at line 54 of file Shower.cxx.
|
private |
|
private |
|
private |
Shower length [cm].
The length of a shower, and should be greater than 0. The characteristic depends on shower reconstruction algorithms. For example, in PCAShowerParticleBuildingAlgorithm (larpandora), it is defined as the three standard deviations of the spacepoint distribution along the principal axis.
|
private |
Opening angle [rad].
The angle is defined in the range. It is defined as the angle of the shower cone. The characteristic depends on shower reconstruction algorithms. For example, in PCAShowerParticleBuildingAlgorithm (larpandora), it is defined as the ratio of the standard deviation of the spacepoint distribution along the principal axis to that along the secondary axis.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
The magic constant indicating the invalidity of the shower length variable.
This internal constant represents invalid shower length. It is how the function has_length() determines the validity of fLength.
|
staticprivate |
The magic constant indicating the invalidity of the opening angle variable.
This internal constant represents invalid opening angle. It is how the function has_open_angle() determines the validity of fOpenAngle.