NAIA
1.0.2
|
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... | |
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... | |
std::bitset< 9 > | GetTrackPattern (TrTrack::Side side) |
Get the track pattern for a given tracker side. One bit per layer, set to 1 if there is a hit on that layer on that side. You can also get the total number of hits using std::bitset::count. More... | |
Public Attributes | |
LayerVariable< std::array < float, 3 > > | TrTrackHitPos |
X,Y and Z position of hit on each layer, if available. More... | |
TrackFitVariable< float > | Rigidity |
Track rigidity, corrected for time-dependent rigidity scale shifts and geometry volume correction, 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... | |
TrackFitPosVariable < TrackFitVariable < TrackSideVariable< float > > > | TrTrackFitPos |
Track X and Y position at different heights in AMS and for each available fit and span. See TrTrack::FitPositionHeight for available heigths and 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... | |
TrackChargeVariable< float > | ChargeRMS |
Track charge RMS (including external layers) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More... | |
TrackChargeVariable< float > | InnerChargeRMS |
Track charge RMS (inner tracker only) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More... | |
LayerVariable< int > | LayerChargeStatus |
Track hit charge reconstruction status for each layer (this is a bitmask. Bits 0-11 refer to the X-side cluster, bits 12-23 refer to the Y-side cluster. See TrClusterR::GetQStatus for a summary of all bit flags) 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... | |
float | FitCharge |
Initial charge estimate used for track re-fitting. More... | |
Private Attributes | |
bool | _isMC = false |
float | _beta = 1.0f |
TrackFitVariable< int > | _fit_ID |
int | _tmpCharge = 1 |
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 27 of file TrTrack.cpp.
Referenced by NAIA::Event::Clear().
void NAIA::TrTrackBaseData::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 71 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 14 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 18 of file TrTrack.cpp.
References NAIA::TrTrack::FullSpan, NAIA::TrTrack::InnerL1, NAIA::TrTrack::InnerL9, and NAIA::TrTrack::InnerOnly.
std::bitset< 9 > NAIA::TrTrackBaseData::GetTrackPattern | ( | TrTrack::Side | side | ) |
Get the track pattern for a given tracker side. One bit per layer, set to 1 if there is a hit on that layer on that side. You can also get the total number of hits using std::bitset::count.
side | The tracker side to check |
Definition at line 196 of file TrTrack.cpp.
References NAIA::ContainsKeys().
|
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::ChargeRMS |
Track charge RMS (including external layers) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
float NAIA::TrTrackBaseData::FitCharge |
TrackChargeVariable<float> NAIA::TrTrackBaseData::InnerCharge |
Track charge (inner tracker only) for each available reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
TrackChargeVariable<float> NAIA::TrTrackBaseData::InnerChargeRMS |
Track charge RMS (inner tracker only) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
LayerVariable<int> NAIA::TrTrackBaseData::LayerChargeStatus |
Track hit charge reconstruction status for each layer (this is a bitmask. Bits 0-11 refer to the X-side cluster, bits 12-23 refer to the Y-side cluster. 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::Rigidity |
Track rigidity, corrected for time-dependent rigidity scale shifts and geometry volume correction, 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.
TrackFitPosVariable<TrackFitVariable<TrackSideVariable<float> > > NAIA::TrTrackBaseData::TrTrackFitPos |
Track X and Y position at different heights in AMS and for each available fit and span. See TrTrack::FitPositionHeight for available heigths and TrTrack::Fit and TrTrack::Span for available fits and spans.
LayerVariable<std::array<float, 3> > NAIA::TrTrackBaseData::TrTrackHitPos |