NAIA
|
Container class for base TrTrack info. More...
#include <Containers/TrTrack.h>
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 |
Container class for base TrTrack info.
This class holds the Tracker variables which are likely to be accessed more frequently.
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.
fit | The fit algorithm. See TrTrack::Fit for a list of available fit types. |
span | The 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.
fit | The fit algorithm. See TrTrack::Fit for a list of available fit types. |
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.
fit | The fit algorithm. See TrTrack::Fit for a list of available fit types. |
span | The desired span. See TrTrack::Span for a list of available span types. |
trGeom | The analysis volume. See TrTrack::TrGeometry for a list of available geometries. |
Definition at line 35 of file TrTrack.cpp.
References NAIA::ApplyGeomCorrection().
|
friend |
|
friend |
|
private |
TrackChargeVariable<float> NAIA::TrTrackBaseData::Charge |
Track charge (including external layers) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
TrackChargeVariable<float> NAIA::TrTrackBaseData::InnerCharge |
Track charge (inner tracker only) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
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)
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.
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.
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.