ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
TRT::TrackInfo Class Reference

#include <TrackInfo.h>

Inheritance diagram for TRT::TrackInfo:
Collaboration diagram for TRT::TrackInfo:

Public Member Functions

 TrackInfo ()
 
 TrackInfo (std::vector< HitInfo * > &orig)
 
 TrackInfo (const TrackInfo &orig)
 
TrackInfooperator= (const TrackInfo &other)
 
 ~TrackInfo ()
 
const int & operator[] (const Track::IntVariables &theIndex) const
 
const float & operator[] (const Track::FloatVariables &theIndex) const
 
int & operator[] (const Track::IntVariables &theIndex)
 
float & operator[] (const Track::FloatVariables &theIndex)
 

Public Attributes

elements
 STL member. More...
 

Private Attributes

std::vector< int > m_Ints
 
std::vector< float > m_Floats
 

Detailed Description

Definition at line 83 of file InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h.

Constructor & Destructor Documentation

◆ TrackInfo() [1/3]

TRT::TrackInfo::TrackInfo ( )
inline

Definition at line 86 of file InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h.

92 {for (std::vector<HitInfo*>::iterator i=this->begin();i!=this->end();++i) delete *i; } // We _OWN_ the hits!!!

◆ TrackInfo() [2/3]

TRT::TrackInfo::TrackInfo ( std::vector< HitInfo * > &  orig)
inline

Definition at line 87 of file InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h.

92 {for (std::vector<HitInfo*>::iterator i=this->begin();i!=this->end();++i) delete *i; } // We _OWN_ the hits!!!

◆ TrackInfo() [3/3]

TRT::TrackInfo::TrackInfo ( const TrackInfo orig)
inline

Definition at line 88 of file InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h.

92 {for (std::vector<HitInfo*>::iterator i=this->begin();i!=this->end();++i) delete *i; } // We _OWN_ the hits!!!

◆ ~TrackInfo()

TRT::TrackInfo::~TrackInfo ( )
inline

Member Function Documentation

◆ operator=()

TrackInfo& TRT::TrackInfo::operator= ( const TrackInfo other)
inline

Definition at line 90 of file InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h.

92  {for (std::vector<HitInfo*>::iterator i=this->begin();i!=this->end();++i) delete *i; } // We _OWN_ the hits!!!
93  // Access
94  const int& operator[](const Track::IntVariables& theIndex) const {return m_Ints[theIndex];}
95  const float& operator[](const Track::FloatVariables& theIndex) const {return m_Floats[theIndex];}
96  // Set/modify
97  int& operator[](const Track::IntVariables& theIndex) {return m_Ints[theIndex];}
98  float& operator[](const Track::FloatVariables& theIndex) {return m_Floats[theIndex];}
99 
100  private:
101  std::vector<int> m_Ints;

◆ operator[]() [1/4]

float& TRT::TrackInfo::operator[] ( const Track::FloatVariables theIndex)
inline

◆ operator[]() [2/4]

const float& TRT::TrackInfo::operator[] ( const Track::FloatVariables theIndex) const
inline

◆ operator[]() [3/4]

int& TRT::TrackInfo::operator[] ( const Track::IntVariables theIndex)
inline

◆ operator[]() [4/4]

const int& TRT::TrackInfo::operator[] ( const Track::IntVariables theIndex) const
inline

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_Floats

std::vector<float> TRT::TrackInfo::m_Floats
private

◆ m_Ints

std::vector<int> TRT::TrackInfo::m_Ints
private

The documentation for this class was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TRT::TrackInfo::m_Floats
std::vector< float > m_Floats
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:113
TRT::Track::FloatVariables
FloatVariables
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:50
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TRT::TrackInfo::m_Ints
std::vector< int > m_Ints
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:112
TRT::Track::IntVariables
IntVariables
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:72
lumiFormat.i
int i
Definition: lumiFormat.py:85
TRT::TrackInfo::operator[]
const int & operator[](const Track::IntVariables &theIndex) const
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:105