NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | List of all members
NAIA::TrdKBaseData Class Reference

Container class for base Trd info. More...

#include <Containers/TrdK.h>

Inheritance diagram for NAIA::TrdKBaseData:
NAIA::TrdKBase NAIA::TrdKBaseStandalone

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 TrTrackBaseDatatrkBase {nullptr}
 

Protected Attributes

bool _isStandalone = false
 

Private Member Functions

void ResizeMembers ()
 

Private Attributes

std::vector< TVector3 > m_pointAndDir
 
float _beta = 1.0
 

Detailed Description

Container class for base Trd info.

This class holds the Trd variables which are likely to be accessed more frequently.

Definition at line 57 of file TrdK.h.

Constructor & Destructor Documentation

NAIA::TrdKBaseData::TrdKBaseData ( )
default
NAIA::TrdKBaseData::TrdKBaseData ( bool  standalone)
inlineexplicit

Constructor used by standalone version of container.

Parameters
standalonetrue if constructing standalone TrdK container

Definition at line 66 of file TrdK.h.

Member Function Documentation

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
const TVector3& NAIA::TrdKBaseData::GetLineDirection ( ) const
inline

Get the direction of the TrdK clusters linear fit.

Returns
const TVector3& direction

Definition at line 140 of file TrdK.h.

References m_pointAndDir.

const TVector3& NAIA::TrdKBaseData::GetLinePoint ( ) const
inline

Get the origin of the TrdK clusters linear fit.

Returns
const TVector3& origin

Definition at line 134 of file TrdK.h.

References m_pointAndDir.

TVector3 NAIA::TrdKBaseData::InterpolateAtZ ( float  z) const

Get Trd track interpolation at given height.

Performed by simple linear interpolation given a linear fit to Trd hits position performed at production time

Parameters
zdesired height
Returns
TVector3 interpolated position

Definition at line 98 of file TrdK.cpp.

void NAIA::TrdKBaseData::ResizeMembers ( )
private

Definition at line 11 of file TrdKFill.cpp.

References NAIA::TrdK::numChargeTypes, and NAIA::TrdK::numQualTypes.

Member Data Documentation

float NAIA::TrdKBaseData::_beta = 1.0
private

Definition at line 153 of file TrdK.h.

bool NAIA::TrdKBaseData::_isStandalone = false
protected

Definition at line 145 of file TrdK.h.

bool NAIA::TrdKBaseData::AlignStatus {false}

Alignment status.

Definition at line 71 of file TrdK.h.

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.

Definition at line 77 of file TrdK.h.

bool NAIA::TrdKBaseData::CalibStatus {false}

Calibration status.

Definition at line 72 of file TrdK.h.

TrdChargeVariable<float> NAIA::TrdKBaseData::Charge

Reconstructed charge in different Trd regions. See TrdK::ChargeType for list of available regions.

Definition at line 80 of file TrdK.h.

bool NAIA::TrdKBaseData::ChargeStatus {false}

Charge reconstruction status.

Definition at line 73 of file TrdK.h.

float NAIA::TrdKBaseData::Cleanliness {0}

Cleanliness. Whatever this means. I don't know, go ask Kounine.

Definition at line 92 of file TrdK.h.

std::array<float, 2> NAIA::TrdKBaseData::DirectionalStoermerCutoff

Stoermer cutoff estimated by the TrdK track direction (for both negative and positive particles)

Definition at line 90 of file TrdK.h.

LayerVariable<float> NAIA::TrdKBaseData::Edep

Energy deposition in each Trd layer.

Definition at line 87 of file TrdK.h.

float NAIA::TrdKBaseData::IPChi2 {std::numeric_limits<float>::max()}

Impact point chi-square. Whatever this means. I don't know, go ask Kounine.

Definition at line 93 of file TrdK.h.

TrdLikelihoodVariable<double> NAIA::TrdKBaseData::Likelihood

Trd likelihood estimator. See TrdK::LikelihoodType for list of available types.

Definition at line 83 of file TrdK.h.

TrdLikelihoodRVariable<double> NAIA::TrdKBaseData::LikelihoodRatio

Trd likelihood ratio estimator. See TrdK::LikelihoodRType for list of available types.

Definition at line 84 of file TrdK.h.

std::vector<TVector3> NAIA::TrdKBaseData::m_pointAndDir
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.

Definition at line 76 of file TrdK.h.

LayerVariable<float> NAIA::TrdKBaseData::Pathlength

Estimated particle pathlength in each Trd layer.

Definition at line 88 of file TrdK.h.

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}

Definition at line 68 of file TrdK.h.


The documentation for this class was generated from the following files: