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

Container class for base TrTrack info. More...

#include <Containers/TrTrack.h>

Inheritance diagram for NAIA::TrTrackBaseData:
NAIA::TrTrackBase

Public Member Functions

void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 
float GetGeomCorrectedRigidityCorr (TrTrack::Fit fit, TrTrack::Span span, TrTrack::TrGeometry trGeom=TrTrack::TrGeometry::Default) const
 Get the RigidityCorr variable after applying the geometry volume correction. More...
 
TrTrack::Span GetBestSpan (TrTrack::Fit fit=TrTrack::Fit::Choutko) const
 Get the best Span available for this track. More...
 
bool FitIDExists (TrTrack::Fit fit, TrTrack::Span span) const
 Check if a given combination of fit and span is available for this track. More...
 

Public Attributes

TrackFitVariable< float > RigidityCorr
 Track rigidity, corrected for time-dependent rigidity scale shifts, for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans. More...
 
TrackFitVariable
< TrackSideVariable< float > > 
TrChiSq
 Normalized track chi-square (X and Y) for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans. More...
 
TrackChargeVariable< float > Charge
 Track charge (including external layers) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More...
 
TrackChargeVariable< float > InnerCharge
 Track charge (inner tracker only) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More...
 
LayerVariable
< TrackChargeVariable< float > > 
LayerChargeXY
 Track hit charge (for each single layer, using both sides clusters) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More...
 
LayerVariable< int > LayerChargeStatus
 Track hit charge reconstruction status for each layer (this is a bitmask, see TrClusterR::GetQStatus for a summary of all bit flags) More...
 

Private Attributes

bool _isMC = false
 
float _beta = 1.0f
 
TrackFitVariable< int > _fit_ID
 

Friends

class TrdKBaseData
 
class TrTrackPlusData
 

Detailed Description

Container class for base TrTrack info.

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

Definition at line 58 of file TrTrack.h.

Member Function Documentation

void NAIA::TrTrackBaseData::Clear ( )

Clear container content.

Definition at line 60 of file TrTrack.cpp.

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

void NAIA::TrTrackBaseData::Dump ( ) const

Dump on screen container content.

Definition at line 104 of file TrTrack.cpp.

References NAIA::ContainsKeys(), NAIA::TrTrack::fitNames, NAIA::TrTrack::recoTypes, NAIA::TrTrack::spanNames, NAIA::TrTrack::X, and NAIA::TrTrack::Y.

bool NAIA::TrTrackBaseData::FitIDExists ( TrTrack::Fit  fit,
TrTrack::Span  span 
) const

Check if a given combination of fit and span is available for this track.

Parameters
fitThe fit algorithm. See TrTrack::Fit for a list of available fit types.
spanThe desired span. See TrTrack::Span for a list of available span types.

Definition at line 47 of file TrTrack.cpp.

References NAIA::end().

Span NAIA::TrTrackBaseData::GetBestSpan ( TrTrack::Fit  fit = TrTrack::Fit::Choutko) const

Get the best Span available for this track.

Parameters
fitThe fit algorithm. See TrTrack::Fit for a list of available fit types.
Returns
TrTrack::Span value

Definition at line 51 of file TrTrack.cpp.

References NAIA::TrTrack::FullSpan, NAIA::TrTrack::InnerL1, NAIA::TrTrack::InnerL9, and NAIA::TrTrack::InnerOnly.

float NAIA::TrTrackBaseData::GetGeomCorrectedRigidityCorr ( TrTrack::Fit  fit,
TrTrack::Span  span,
TrTrack::TrGeometry  trGeom = TrTrack::TrGeometry::Default 
) const

Get the RigidityCorr variable after applying the geometry volume correction.

This is the same as applying AMSEventR::GetCorrectedGeomRigidity but hopefully with a clearer API.

Parameters
fitThe fit algorithm. See TrTrack::Fit for a list of available fit types.
spanThe desired span. See TrTrack::Span for a list of available span types.
trGeomThe analysis volume. See TrTrack::TrGeometry for a list of available geometries.
Returns
float The rigidity after applying the geometry correction

Definition at line 35 of file TrTrack.cpp.

References NAIA::ApplyGeomCorrection().

Friends And Related Function Documentation

friend class TrdKBaseData
friend

Definition at line 59 of file TrTrack.h.

friend class TrTrackPlusData
friend

Definition at line 60 of file TrTrack.h.

Member Data Documentation

float NAIA::TrTrackBaseData::_beta = 1.0f
private

Definition at line 131 of file TrTrack.h.

TrackFitVariable<int> NAIA::TrTrackBaseData::_fit_ID
private

Definition at line 132 of file TrTrack.h.

bool NAIA::TrTrackBaseData::_isMC = false
private

Definition at line 130 of file TrTrack.h.

TrackChargeVariable<float> NAIA::TrTrackBaseData::Charge

Track charge (including external layers) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.

Definition at line 69 of file TrTrack.h.

TrackChargeVariable<float> NAIA::TrTrackBaseData::InnerCharge

Track charge (inner tracker only) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.

Definition at line 70 of file TrTrack.h.

LayerVariable<int> NAIA::TrTrackBaseData::LayerChargeStatus

Track hit charge reconstruction status for each layer (this is a bitmask, see TrClusterR::GetQStatus for a summary of all bit flags)

Definition at line 72 of file TrTrack.h.

LayerVariable<TrackChargeVariable<float> > NAIA::TrTrackBaseData::LayerChargeXY

Track hit charge (for each single layer, using both sides clusters) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.

Definition at line 71 of file TrTrack.h.

TrackFitVariable<float> NAIA::TrTrackBaseData::RigidityCorr

Track rigidity, corrected for time-dependent rigidity scale shifts, for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.

Definition at line 65 of file TrTrack.h.

TrackFitVariable<TrackSideVariable<float> > NAIA::TrTrackBaseData::TrChiSq

Normalized track chi-square (X and Y) for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.

Definition at line 66 of file TrTrack.h.


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