NAIA
1.0.2
|
Container class for base Trd info. More...
#include <Containers/TrdK.h>
Public Member Functions | |
TrdKBaseData ()=default | |
TrdKBaseData (bool standalone) | |
Constructor used by standalone version of container. More... | |
void | Clear () |
Clear container content. More... | |
void | Dump () const |
Dump on screen container content. More... | |
TVector3 | InterpolateAtZ (float z) const |
Get Trd track interpolation at given height. More... | |
const TVector3 & | GetLinePoint () const |
Get the origin of the TrdK clusters linear fit. More... | |
const TVector3 & | GetLineDirection () const |
Get the direction of the TrdK clusters linear fit. More... | |
Public Attributes | |
TrdK::BuildType | Type {TrdK::BuildType::NONE} |
bool | AlignStatus {false} |
Alignment status. More... | |
bool | CalibStatus {false} |
Calibration status. More... | |
bool | ChargeStatus {false} |
Charge reconstruction status. More... | |
TrdOnTrackVariable< int > | NHits |
Number of reconstructed hits on and off main track. See TrdK::QualType for list of available types. More... | |
TrdOnTrackVariable< float > | Amps |
Sum of the amplitude of reconstructed hits on and off main track. See TrdK::QualType for list of available types. More... | |
TrdChargeVariable< float > | Charge |
Reconstructed charge in different Trd regions. See TrdK::ChargeType for list of available regions. More... | |
TrdLikelihoodVariable< double > | Likelihood |
Trd likelihood estimator. See TrdK::LikelihoodType for list of available types. More... | |
TrdLikelihoodRVariable< double > | LikelihoodRatio |
Trd likelihood ratio estimator. See TrdK::LikelihoodRType for list of available types. More... | |
LayerVariable< float > | Edep |
Energy deposition in each Trd layer. More... | |
LayerVariable< float > | Pathlength |
Estimated particle pathlength in each Trd layer. More... | |
std::array< float, 2 > | DirectionalStoermerCutoff |
Stoermer cutoff estimated by the TrdK track direction (for both negative and positive particles) More... | |
float | Cleanliness {0} |
Cleanliness. Whatever this means. I don't know, go ask Kounine. More... | |
float | IPChi2 {std::numeric_limits<float>::max()} |
Impact point chi-square. Whatever this means. I don't know, go ask Kounine. More... | |
const TrTrackBaseData * | trkBase {nullptr} |
Protected Attributes | |
bool | _isStandalone = false |
Private Member Functions | |
void | ResizeMembers () |
Private Attributes | |
std::vector< TVector3 > | m_pointAndDir |
float | _beta = 1.0 |
Container class for base Trd info.
This class holds the Trd variables which are likely to be accessed more frequently.
|
default |
|
inlineexplicit |
void NAIA::TrdKBaseData::Clear | ( | ) |
Clear container content.
Definition at line 79 of file TrdK.cpp.
Referenced by NAIA::Event::Clear().
void NAIA::TrdKBaseData::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 11 of file TrdK.cpp.
References NAIA::TrdK::likelihoodNames, NAIA::TrdK::likelihoodRNames, NAIA::TrdK::likelihoodRTypes, NAIA::TrdK::likelihoodTypes, NAIA::TrdK::qualNames, NAIA::TrdK::qualTypes, NAIA::TrdK::recoNames, and NAIA::TrdK::recoTypes.
|
inline |
Get the direction of the TrdK clusters linear fit.
Definition at line 140 of file TrdK.h.
References m_pointAndDir.
|
inline |
Get the origin of the TrdK clusters linear fit.
Definition at line 134 of file TrdK.h.
References m_pointAndDir.
TVector3 NAIA::TrdKBaseData::InterpolateAtZ | ( | float | z | ) | const |
|
private |
Definition at line 11 of file TrdKFill.cpp.
References NAIA::TrdK::numChargeTypes, and NAIA::TrdK::numQualTypes.
bool NAIA::TrdKBaseData::AlignStatus {false} |
TrdOnTrackVariable<float> NAIA::TrdKBaseData::Amps |
Sum of the amplitude of reconstructed hits on and off main track. See TrdK::QualType for list of available types.
bool NAIA::TrdKBaseData::CalibStatus {false} |
TrdChargeVariable<float> NAIA::TrdKBaseData::Charge |
Reconstructed charge in different Trd regions. See TrdK::ChargeType for list of available regions.
bool NAIA::TrdKBaseData::ChargeStatus {false} |
float NAIA::TrdKBaseData::Cleanliness {0} |
std::array<float, 2> NAIA::TrdKBaseData::DirectionalStoermerCutoff |
LayerVariable<float> NAIA::TrdKBaseData::Edep |
float NAIA::TrdKBaseData::IPChi2 {std::numeric_limits<float>::max()} |
TrdLikelihoodVariable<double> NAIA::TrdKBaseData::Likelihood |
Trd likelihood estimator. See TrdK::LikelihoodType for list of available types.
TrdLikelihoodRVariable<double> NAIA::TrdKBaseData::LikelihoodRatio |
Trd likelihood ratio estimator. See TrdK::LikelihoodRType for list of available types.
|
private |
Definition at line 151 of file TrdK.h.
Referenced by GetLineDirection(), and GetLinePoint().
TrdOnTrackVariable<int> NAIA::TrdKBaseData::NHits |
Number of reconstructed hits on and off main track. See TrdK::QualType for list of available types.
LayerVariable<float> NAIA::TrdKBaseData::Pathlength |
const TrTrackBaseData* NAIA::TrdKBaseData::trkBase {nullptr} |
Definition at line 142 of file TrdK.h.
Referenced by NAIA::Event::LinkContainers().
TrdK::BuildType NAIA::TrdKBaseData::Type {TrdK::BuildType::NONE} |