NAIA
|
Container class for additional 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 | GetGeomCorrectedRigidity (TrTrack::Fit fit, TrTrack::Span span, TrTrack::TrGeometry trGeom=TrTrack::TrGeometry::Default) const |
Get the Rigidity variable after applying the geometry volume correction. More... | |
float | GetGeomCorrectedRigidityTOI (TrTrack::Fit fit, TrTrack::Span span, TrTrack::TrGeometry trGeom=TrTrack::TrGeometry::Default) const |
Get the RigidityTOI variable after applying the geometry volume correction. More... | |
Public Attributes | |
LayerVariable < TrackSideVariable< float > > | TrTrackHitPos |
X and Y position of hit on each layer, if available. More... | |
LayerVariable< float > | TrackFeetDistance |
Track distance to the inner tracker supporting feet for each layer. More... | |
float | Theta = 0 |
theta of track direction in AMS coordinate system More... | |
float | Phi = 0 |
phi of track direction in AMS coordinate system More... | |
TrackFitVariable< float > | Rigidity |
Track rigidity for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
TrackFitVariable< float > | RigidityTOI |
Track rigidity at Top-Of-Instrument for each available fit and span (only available for Kalman fit). See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
TrackFitVariable< float > | InvRigErr |
Error on the deflection ( = 1 / rigidity) estimation, for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
LayerVariable < TrackFitVariable < TrackSideVariable< float > > > | TrTrackResidual |
Track X and Y residuals in each layer for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
LayerVariable < TrackFitOnlyVariable< float > > | PartialRigidity |
Rigidity obtained from a fit where the hit on an a given layer 'i' is not considered. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
LayerVariable < TrackFitOnlyVariable< float > > | PartialInvRigErr |
Inverse rigidity error obtained from a fit where a given layer 'i' was excluded. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. See TrTrack::Fit and TrTrack::Span for available fits and spans. More... | |
LayerVariable < TrackFitOnlyVariable < TrackSideVariable< float > > > | PartialTrChiSq |
Normalized chi-square obtained from a fit where a given layer 'i' was excluded. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. 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 > | UnbiasedCharge |
"Unbiased" tracker charge for each charge reconstruction. It is a simple truncated mean between the hits with the highest charge on each layer. 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 < TrackChargeVariable < TrackSideVariable< float > > > | LayerCharge |
Track hit charge (X and Y-side) for each layer, for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions. More... | |
LayerVariable < TrackSideVariable< float > > | LayerEdep |
Track hit (X and Y-side) energy deposition for each layer. More... | |
LayerVariable < TrackDistanceVariable < TrackSideVariable< unsigned int > > > | NClusters |
Total number of tracker clusters for each layer, within a given distance from the track, for each side. More... | |
LayerVariable < TrackDistanceVariable < TrackSideVariable< float > > > | ClustersEdep |
Total energy deposition of tracker clusters for each layer, within a given distance from the track, for each side. More... | |
LayerVariable < TrackSideVariable< float > > | MaxClusterEdep |
Max cluster energy deposit for each layer, for each side. More... | |
LayerVariable < TrackSideVariable< float > > | MaxClusterDistance |
Distance from the track of the cluster with the highest energy deposition for each layer, for each side. More... | |
LayerVariable< float > | ClusterSignalRatio |
Ratio between cluster amplitude and its neighbouring 10 strips, for each layer. More... | |
const TrTrackBaseData * | trkBase = nullptr |
Private Attributes | |
TrackFitVariable< int > | _fit_ID |
needed to get basic info without computing twice More... | |
Container class for additional TrTrack info.
This class holds the Tracker variables which are likely to be accessed less frequently.
void NAIA::TrTrackPlusData::Clear | ( | ) |
Clear container content.
Definition at line 73 of file TrTrack.cpp.
Referenced by NAIA::Event::Clear().
void NAIA::TrTrackPlusData::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 151 of file TrTrack.cpp.
References NAIA::ContainsKeys(), NAIA::end(), NAIA::TrTrack::fitNames, NAIA::TrTrack::recoTypes, NAIA::TrTrack::spanNames, NAIA::TrTrack::X, and NAIA::TrTrack::Y.
float NAIA::TrTrackPlusData::GetGeomCorrectedRigidity | ( | TrTrack::Fit | fit, |
TrTrack::Span | span, | ||
TrTrack::TrGeometry | trGeom = TrTrack::TrGeometry::Default |
||
) | const |
Get the Rigidity 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 39 of file TrTrack.cpp.
References NAIA::ApplyGeomCorrection().
float NAIA::TrTrackPlusData::GetGeomCorrectedRigidityTOI | ( | TrTrack::Fit | fit, |
TrTrack::Span | span, | ||
TrTrack::TrGeometry | trGeom = TrTrack::TrGeometry::Default |
||
) | const |
Get the RigidityTOI 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 43 of file TrTrack.cpp.
References NAIA::ApplyGeomCorrection().
|
private |
TrackChargeVariable<float> NAIA::TrTrackPlusData::ChargeRMS |
Track charge RMS (including external layers) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
LayerVariable<TrackDistanceVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::ClustersEdep |
LayerVariable<float> NAIA::TrTrackPlusData::ClusterSignalRatio |
TrackChargeVariable<float> NAIA::TrTrackPlusData::InnerChargeRMS |
Track charge RMS (inner tracker only) for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
TrackFitVariable<float> NAIA::TrTrackPlusData::InvRigErr |
Error on the deflection ( = 1 / rigidity) estimation, for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.
LayerVariable<TrackChargeVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::LayerCharge |
Track hit charge (X and Y-side) for each layer, for each charge reconstruction. See TrTrack::ChargeRecoType for available reconstructions.
LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::LayerEdep |
LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::MaxClusterDistance |
LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::MaxClusterEdep |
LayerVariable<TrackDistanceVariable<TrackSideVariable<unsigned int> > > NAIA::TrTrackPlusData::NClusters |
LayerVariable<TrackFitOnlyVariable<float> > NAIA::TrTrackPlusData::PartialInvRigErr |
Inverse rigidity error obtained from a fit where a given layer 'i' was excluded. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. See TrTrack::Fit and TrTrack::Span for available fits and spans.
LayerVariable<TrackFitOnlyVariable<float> > NAIA::TrTrackPlusData::PartialRigidity |
Rigidity obtained from a fit where the hit on an a given layer 'i' is not considered. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. See TrTrack::Fit and TrTrack::Span for available fits and spans.
LayerVariable<TrackFitOnlyVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::PartialTrChiSq |
Normalized chi-square obtained from a fit where a given layer 'i' was excluded. This variable is provided only for negative rigidity events and for positive events is prescaled with a factor 1/100. See TrTrack::Fit and TrTrack::Span for available fits and spans.
float NAIA::TrTrackPlusData::Phi = 0 |
TrackFitVariable<float> NAIA::TrTrackPlusData::Rigidity |
Track rigidity for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.
TrackFitVariable<float> NAIA::TrTrackPlusData::RigidityTOI |
Track rigidity at Top-Of-Instrument for each available fit and span (only available for Kalman fit). See TrTrack::Fit and TrTrack::Span for available fits and spans.
float NAIA::TrTrackPlusData::Theta = 0 |
LayerVariable<float> NAIA::TrTrackPlusData::TrackFeetDistance |
const TrTrackBaseData* NAIA::TrTrackPlusData::trkBase = nullptr |
Definition at line 223 of file TrTrack.h.
Referenced by NAIA::Event::LinkContainers().
TrackFitPosVariable<TrackFitVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::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<TrackSideVariable<float> > NAIA::TrTrackPlusData::TrTrackHitPos |
LayerVariable<TrackFitVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::TrTrackResidual |
Track X and Y residuals in each layer for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.
TrackChargeVariable<float> NAIA::TrTrackPlusData::UnbiasedCharge |