NAIA
 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

bool AlignStatus
 Alignment status. More...
 
bool CalibStatus
 Calibration status. More...
 
bool ChargeStatus
 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...
 
float Cleanliness
 Cleanliness. Whatever this means. I don't know, go ask Kounine. More...
 
float IPChi2
 Impact point chi-square. Whatever this means. I don't know, go ask Kounine. More...
 
const TrTrackBaseDatatrkBase
 

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 53 of file TrdK.h.

Constructor & Destructor Documentation

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

Constructor used by standalone version of container.

Parameters
standalonetrue if constructing standalone TrdK container

Definition at line 62 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 132 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 126 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 97 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 145 of file TrdK.h.

bool NAIA::TrdKBaseData::_isStandalone = false
protected

Definition at line 137 of file TrdK.h.

bool NAIA::TrdKBaseData::AlignStatus

Alignment status.

Definition at line 62 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 71 of file TrdK.h.

bool NAIA::TrdKBaseData::CalibStatus

Calibration status.

Definition at line 66 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 74 of file TrdK.h.

bool NAIA::TrdKBaseData::ChargeStatus

Charge reconstruction status.

Definition at line 67 of file TrdK.h.

float NAIA::TrdKBaseData::Cleanliness

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

Definition at line 84 of file TrdK.h.

LayerVariable<float> NAIA::TrdKBaseData::Edep

Energy deposition in each Trd layer.

Definition at line 81 of file TrdK.h.

float NAIA::TrdKBaseData::IPChi2

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

Definition at line 85 of file TrdK.h.

TrdLikelihoodVariable<double> NAIA::TrdKBaseData::Likelihood

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

Definition at line 77 of file TrdK.h.

TrdLikelihoodRVariable<double> NAIA::TrdKBaseData::LikelihoodRatio

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

Definition at line 78 of file TrdK.h.

std::vector<TVector3> NAIA::TrdKBaseData::m_pointAndDir
private

Definition at line 143 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 70 of file TrdK.h.

LayerVariable<float> NAIA::TrdKBaseData::Pathlength

Estimated particle pathlength in each Trd layer.

Definition at line 82 of file TrdK.h.

const TrTrackBaseData* NAIA::TrdKBaseData::trkBase

Definition at line 134 of file TrdK.h.

Referenced by NAIA::Event::LinkContainers().


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