NAIA
1.0.2
|
Container class for base Tof info. More...
#include <Containers/Tof.h>
Public Member Functions | |
void | Clear () |
Clear container content. More... | |
void | Dump () const |
Dump on screen container content. More... | |
TVector3 | InterpolateAtZ (float z) const |
Get Tof track interpolation at given height. More... | |
const TVector3 & | GetLinePoint () const |
Get the origin of the Tof clusters linear fit. More... | |
const TVector3 & | GetLineDirection () const |
Get the direction of the Tof clusters linear fit. More... | |
Public Attributes | |
TofBetaVariable< float > | Beta |
Beta measurement, one for each type. See Tof::BetaType for list of types. More... | |
TofChargeVariable< float > | Charge |
Charge measurement obtained using only layers for which GoodPathl is true. One for each type. See Tof::ChargeType for list of types. More... | |
TofChargeVariable< float > | ChargeNoPL |
Charge measurement obtained using every layer, regardless of GoodPathl. One for each type. See Tof::ChargeType for list of types. More... | |
Private Attributes | |
std::vector< TVector3 > | m_pointAndDir |
bool | _isMC = false |
Container class for base Tof info.
This class holds the Tof variables which are likely to be accessed more frequently.
void NAIA::TofBaseData::Clear | ( | ) |
Clear container content.
Definition at line 11 of file Tof.cpp.
References Beta, Charge, and m_pointAndDir.
Referenced by NAIA::Event::Clear().
void NAIA::TofBaseData::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 46 of file Tof.cpp.
References Beta, NAIA::Tof::betaNames, NAIA::Tof::betaTypes, Charge, ChargeNoPL, NAIA::ContainsKeys(), NAIA::Tof::recoNames, and NAIA::Tof::recoTypes.
|
inline |
Get the direction of the Tof clusters linear fit.
Definition at line 97 of file Tof.h.
References m_pointAndDir.
|
inline |
Get the origin of the Tof clusters linear fit.
Definition at line 91 of file Tof.h.
References m_pointAndDir.
TVector3 NAIA::TofBaseData::InterpolateAtZ | ( | float | z | ) | const |
Get Tof track interpolation at given height.
Performed by simple linear interpolation given a linear fit to Tof cluster positions performed at production time
z | desired height |
Definition at line 33 of file Tof.cpp.
References m_pointAndDir.
TofBetaVariable<float> NAIA::TofBaseData::Beta |
Beta measurement, one for each type. See Tof::BetaType for list of types.
Definition at line 49 of file Tof.h.
Referenced by NAIA::RichBaseData::BetaConsistencyTof(), Clear(), and Dump().
TofChargeVariable<float> NAIA::TofBaseData::Charge |
Charge measurement obtained using only layers for which GoodPathl is true. One for each type. See Tof::ChargeType for list of types.
TofChargeVariable<float> NAIA::TofBaseData::ChargeNoPL |
Charge measurement obtained using every layer, regardless of GoodPathl. One for each type. See Tof::ChargeType for list of types.
Definition at line 51 of file Tof.h.
Referenced by Dump().
|
private |
Definition at line 101 of file Tof.h.
Referenced by Clear(), GetLineDirection(), GetLinePoint(), and InterpolateAtZ().