ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ExampleTrack Class Reference

This class provides a dummy track data object for AthenaPool. More...

#include <ExampleTrack.h>

Collaboration diagram for ExampleTrack:

Public Member Functions

 ExampleTrack ()
 Default Constructor. More...
 
virtual ~ExampleTrack ()
 Destructor. More...
 
double getPT () const
 
double getEta () const
 
double getPhi () const
 
const std::string & getDetector () const
 
void setPT (double pt)
 Set the transverse momentum value. More...
 
void setEta (double eta)
 Set the eta value. More...
 
void setPhi (double phi)
 Set the phi value. More...
 
void setDetector (const std::string &detector)
 Set the detector string. More...
 
ElementLink< ExampleHitContainer > * getElementLink1 ()
 
const ElementLink< ExampleHitContainer > * getElementLink1 () const
 
const ExampleHitgetElement1 () const
 
ElementLink< ExampleHitContainer > * getElementLink2 ()
 
const ElementLink< ExampleHitContainer > * getElementLink2 () const
 
const ExampleHitgetElement2 () const
 
ElementLinkVector< ExampleHitContainer > * getElementLinkVector ()
 
const ElementLinkVector< ExampleHitContainer > * getElementLinkVector () const
 
Navigable< ExampleHitContainer > * getNavigable ()
 
const Navigable< ExampleHitContainer > * getNavigable () const
 
Navigable< ExampleHitContainer, double > * getWeightedNavigable ()
 
const Navigable< ExampleHitContainer, double > * getWeightedNavigable () const
 

Private Attributes

double m_pt
 
double m_eta
 
double m_phi
 
std::string m_detector
 
ElementLink< ExampleHitContainerm_elementlink1
 
ElementLink< ExampleHitContainerm_elementlink2
 
ElementLinkVector< ExampleHitContainerm_elementlinkvector
 
Navigable< ExampleHitContainerm_navigable
 
Navigable< ExampleHitContainer, double > m_weightednavigable
 

Detailed Description

This class provides a dummy track data object for AthenaPool.

Definition at line 24 of file ExampleTrack.h.

Constructor & Destructor Documentation

◆ ExampleTrack()

ExampleTrack::ExampleTrack ( )
inline

Default Constructor.

Definition at line 28 of file ExampleTrack.h.

◆ ~ExampleTrack()

virtual ExampleTrack::~ExampleTrack ( )
inlinevirtual

Destructor.

Definition at line 30 of file ExampleTrack.h.

30 {}

Member Function Documentation

◆ getDetector()

const std::string& ExampleTrack::getDetector ( ) const
inline
Returns
the detector string.

Definition at line 43 of file ExampleTrack.h.

43 { return(m_detector); }

◆ getElement1()

const ExampleHit* ExampleTrack::getElement1 ( ) const
inline
Returns
a constant pointer to the first linked object.

Definition at line 65 of file ExampleTrack.h.

65 { return(*m_elementlink1); }

◆ getElement2()

const ExampleHit* ExampleTrack::getElement2 ( ) const
inline
Returns
a constant pointer to the second linked object.

Definition at line 70 of file ExampleTrack.h.

70 { return(*m_elementlink2); }

◆ getElementLink1() [1/2]

ElementLink<ExampleHitContainer>* ExampleTrack::getElementLink1 ( )
inline
Returns
a pointer to the first element link.

Definition at line 62 of file ExampleTrack.h.

62 { return(&m_elementlink1); }

◆ getElementLink1() [2/2]

const ElementLink<ExampleHitContainer>* ExampleTrack::getElementLink1 ( ) const
inline

Definition at line 63 of file ExampleTrack.h.

63 { return(&m_elementlink1); }

◆ getElementLink2() [1/2]

ElementLink<ExampleHitContainer>* ExampleTrack::getElementLink2 ( )
inline
Returns
a pointer to the second element link.

Definition at line 67 of file ExampleTrack.h.

67 { return(&m_elementlink2); }

◆ getElementLink2() [2/2]

const ElementLink<ExampleHitContainer>* ExampleTrack::getElementLink2 ( ) const
inline

Definition at line 68 of file ExampleTrack.h.

68 { return(&m_elementlink2); }

◆ getElementLinkVector() [1/2]

ElementLinkVector<ExampleHitContainer>* ExampleTrack::getElementLinkVector ( )
inline
Returns
a pointer to the element link vector.

Definition at line 73 of file ExampleTrack.h.

73 { return(&m_elementlinkvector); }

◆ getElementLinkVector() [2/2]

const ElementLinkVector<ExampleHitContainer>* ExampleTrack::getElementLinkVector ( ) const
inline
Returns
a constant pointer to the element link vector.

Definition at line 75 of file ExampleTrack.h.

75 { return(&m_elementlinkvector); }

◆ getEta()

double ExampleTrack::getEta ( ) const
inline
Returns
the eta value.

Definition at line 37 of file ExampleTrack.h.

37 { return(m_eta); }

◆ getNavigable() [1/2]

Navigable<ExampleHitContainer>* ExampleTrack::getNavigable ( )
inline
Returns
a pointer to the navigable.

Definition at line 78 of file ExampleTrack.h.

78 { return(&m_navigable); }

◆ getNavigable() [2/2]

const Navigable<ExampleHitContainer>* ExampleTrack::getNavigable ( ) const
inline
Returns
a const pointer to the navigable.

Definition at line 80 of file ExampleTrack.h.

80 { return(&m_navigable); }

◆ getPhi()

double ExampleTrack::getPhi ( ) const
inline
Returns
the phi value.

Definition at line 40 of file ExampleTrack.h.

40 { return(m_phi); }

◆ getPT()

double ExampleTrack::getPT ( ) const
inline
Returns
the transverse momentum value.

Definition at line 34 of file ExampleTrack.h.

34 { return(m_pt); }

◆ getWeightedNavigable() [1/2]

Navigable<ExampleHitContainer, double>* ExampleTrack::getWeightedNavigable ( )
inline
Returns
a pointer to the weighted navigable.

Definition at line 83 of file ExampleTrack.h.

83 { return(&m_weightednavigable); }

◆ getWeightedNavigable() [2/2]

const Navigable<ExampleHitContainer, double>* ExampleTrack::getWeightedNavigable ( ) const
inline
Returns
a const pointer to the weighted navigable.

Definition at line 85 of file ExampleTrack.h.

85 { return(&m_weightednavigable); }

◆ setDetector()

void ExampleTrack::setDetector ( const std::string &  detector)
inline

Set the detector string.

Parameters
detector[IN] detector string.

Definition at line 59 of file ExampleTrack.h.

59 { m_detector = detector; }

◆ setEta()

void ExampleTrack::setEta ( double  eta)
inline

Set the eta value.

Parameters
eta[IN] eta value.

Definition at line 51 of file ExampleTrack.h.

51 { m_eta = eta; }

◆ setPhi()

void ExampleTrack::setPhi ( double  phi)
inline

Set the phi value.

Parameters
phi[IN] phi value.

Definition at line 55 of file ExampleTrack.h.

55 { m_phi = phi; }

◆ setPT()

void ExampleTrack::setPT ( double  pt)
inline

Set the transverse momentum value.

Parameters
pt[IN] transverse momentum value.

Definition at line 47 of file ExampleTrack.h.

47 { m_pt = pt; }

Member Data Documentation

◆ m_detector

std::string ExampleTrack::m_detector
private

Definition at line 91 of file ExampleTrack.h.

◆ m_elementlink1

ElementLink<ExampleHitContainer> ExampleTrack::m_elementlink1
private

Definition at line 93 of file ExampleTrack.h.

◆ m_elementlink2

ElementLink<ExampleHitContainer> ExampleTrack::m_elementlink2
private

Definition at line 93 of file ExampleTrack.h.

◆ m_elementlinkvector

ElementLinkVector<ExampleHitContainer> ExampleTrack::m_elementlinkvector
private

Definition at line 94 of file ExampleTrack.h.

◆ m_eta

double ExampleTrack::m_eta
private

Definition at line 89 of file ExampleTrack.h.

◆ m_navigable

Navigable<ExampleHitContainer> ExampleTrack::m_navigable
private

Definition at line 95 of file ExampleTrack.h.

◆ m_phi

double ExampleTrack::m_phi
private

Definition at line 90 of file ExampleTrack.h.

◆ m_pt

double ExampleTrack::m_pt
private

Definition at line 88 of file ExampleTrack.h.

◆ m_weightednavigable

Navigable<ExampleHitContainer, double> ExampleTrack::m_weightednavigable
private

Definition at line 96 of file ExampleTrack.h.


The documentation for this class was generated from the following file:
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TRTCalib_cfilter.detector
detector
Definition: TRTCalib_cfilter.py:241
ExampleTrack::m_pt
double m_pt
Definition: ExampleTrack.h:88
test_pyathena.pt
pt
Definition: test_pyathena.py:11
ExampleTrack::m_weightednavigable
Navigable< ExampleHitContainer, double > m_weightednavigable
Definition: ExampleTrack.h:96
ExampleTrack::m_elementlink2
ElementLink< ExampleHitContainer > m_elementlink2
Definition: ExampleTrack.h:93
ExampleTrack::m_phi
double m_phi
Definition: ExampleTrack.h:90
ExampleTrack::m_eta
double m_eta
Definition: ExampleTrack.h:89
ExampleTrack::m_elementlink1
ElementLink< ExampleHitContainer > m_elementlink1
Definition: ExampleTrack.h:93
ExampleTrack::m_elementlinkvector
ElementLinkVector< ExampleHitContainer > m_elementlinkvector
Definition: ExampleTrack.h:94
ExampleTrack::m_navigable
Navigable< ExampleHitContainer > m_navigable
Definition: ExampleTrack.h:95
ExampleTrack::m_detector
std::string m_detector
Definition: ExampleTrack.h:91