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

Container class for additional TrTrack info. More...

#include <Containers/TrTrack.h>

Inheritance diagram for NAIA::TrTrackPlusData:
NAIA::TrTrackPlus

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 TrTrackBaseDatatrkBase = nullptr
 

Private Attributes

TrackFitVariable< int > _fit_ID
 needed to get basic info without computing twice More...
 

Detailed Description

Container class for additional TrTrack info.

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

Definition at line 144 of file TrTrack.h.

Member Function Documentation

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
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.

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 the geometry correction

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.

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 the geometry correction

Definition at line 43 of file TrTrack.cpp.

References NAIA::ApplyGeomCorrection().

Member Data Documentation

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

needed to get basic info without computing twice

Definition at line 226 of file TrTrack.h.

TrackChargeVariable<float> NAIA::TrTrackPlusData::ChargeRMS

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

Definition at line 165 of file TrTrack.h.

LayerVariable<TrackDistanceVariable<TrackSideVariable<float> > > NAIA::TrTrackPlusData::ClustersEdep

Total energy deposition of tracker clusters for each layer, within a given distance from the track, for each side.

Definition at line 170 of file TrTrack.h.

LayerVariable<float> NAIA::TrTrackPlusData::ClusterSignalRatio

Ratio between cluster amplitude and its neighbouring 10 strips, for each layer.

Definition at line 173 of file TrTrack.h.

TrackChargeVariable<float> NAIA::TrTrackPlusData::InnerChargeRMS

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

Definition at line 166 of file TrTrack.h.

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.

Definition at line 156 of file TrTrack.h.

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.

Definition at line 167 of file TrTrack.h.

LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::LayerEdep

Track hit (X and Y-side) energy deposition for each layer.

Definition at line 168 of file TrTrack.h.

LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::MaxClusterDistance

Distance from the track of the cluster with the highest energy deposition for each layer, for each side.

Definition at line 172 of file TrTrack.h.

LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::MaxClusterEdep

Max cluster energy deposit for each layer, for each side.

Definition at line 171 of file TrTrack.h.

LayerVariable<TrackDistanceVariable<TrackSideVariable<unsigned int> > > NAIA::TrTrackPlusData::NClusters

Total number of tracker clusters for each layer, within a given distance from the track, for each side.

Definition at line 169 of file TrTrack.h.

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.

Definition at line 159 of file TrTrack.h.

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.

Definition at line 158 of file TrTrack.h.

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.

Definition at line 160 of file TrTrack.h.

float NAIA::TrTrackPlusData::Phi = 0

phi of track direction in AMS coordinate system

Definition at line 152 of file TrTrack.h.

TrackFitVariable<float> NAIA::TrTrackPlusData::Rigidity

Track rigidity for each available fit and span. See TrTrack::Fit and TrTrack::Span for available fits and spans.

Definition at line 154 of file TrTrack.h.

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.

Definition at line 155 of file TrTrack.h.

float NAIA::TrTrackPlusData::Theta = 0

theta of track direction in AMS coordinate system

Definition at line 151 of file TrTrack.h.

LayerVariable<float> NAIA::TrTrackPlusData::TrackFeetDistance

Track distance to the inner tracker supporting feet for each layer.

Definition at line 148 of file TrTrack.h.

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.

Definition at line 161 of file TrTrack.h.

LayerVariable<TrackSideVariable<float> > NAIA::TrTrackPlusData::TrTrackHitPos

X and Y position of hit on each layer, if available.

Definition at line 147 of file TrTrack.h.

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.

Definition at line 157 of file TrTrack.h.

TrackChargeVariable<float> NAIA::TrTrackPlusData::UnbiasedCharge

"Unbiased" tracker charge for each charge reconstruction. It is a simple truncated mean between the hits with the highest charge on each layer.

Definition at line 164 of file TrTrack.h.


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