EICd
EIC data model
eic::TrackParameters Class Reference

#include <TrackParameters.h>

Public Member Functions

 TrackParameters ()
 default constructor More...
 
 TrackParameters (eic::Index ID, eic::FloatPair loc, eic::FloatPair locError, eic::Direction direction, eic::Direction directionError, float qOverP, float qOverPError, float time, float timeError)
 
 TrackParameters (TrackParametersObj *obj)
 constructor from existing TrackParametersObj More...
 
 TrackParameters (const TrackParameters &other)
 copy constructor More...
 
TrackParametersoperator= (const TrackParameters &other)
 copy-assignment operator More...
 
TrackParameters clone () const
 support cloning (deep-copy) More...
 
 ~TrackParameters ()
 destructor More...
 
 operator ConstTrackParameters () const
 conversion to const object More...
 
const eic::IndexID () const
 Access the unique ID for this track. More...
 
const eic::FloatPairloc () const
 Access the tracking location. More...
 
const eic::FloatPairlocError () const
 Access the error on the location. More...
 
const eic::Directiondirection () const
 Access the track direction (theta, phi) [rad, 0-pi and -pi->pi]. More...
 
const eic::DirectiondirectionError () const
 Access the error on the direction [rad]. More...
 
const float & qOverP () const
 Access the [e/GeV]. More...
 
const float & qOverPError () const
 Access the error on qOverP. More...
 
const float & time () const
 Access the track time [ns]. More...
 
const float & timeError () const
 Access the error on the time. More...
 
void ID (eic::Index value)
 Set the unique ID for this track. More...
 
eic::IndexID ()
 Get reference to unique ID for this track. More...
 
void loc (eic::FloatPair value)
 Set the tracking location. More...
 
eic::FloatPairloc ()
 Get reference to tracking location. More...
 
void locError (eic::FloatPair value)
 Set the error on the location. More...
 
eic::FloatPairlocError ()
 Get reference to error on the location. More...
 
void direction (eic::Direction value)
 Set the track direction (theta, phi) [rad, 0-pi and -pi->pi]. More...
 
eic::Directiondirection ()
 Get reference to track direction (theta, phi) [rad, 0-pi and -pi->pi]. More...
 
void directionError (eic::Direction value)
 Set the error on the direction [rad]. More...
 
eic::DirectiondirectionError ()
 Get reference to error on the direction [rad]. More...
 
void qOverP (float value)
 Set the [e/GeV]. More...
 
void qOverPError (float value)
 Set the error on qOverP. More...
 
void time (float value)
 Set the track time [ns]. More...
 
void timeError (float value)
 Set the error on the time. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from TrackParametersObj instance More...
 
bool operator== (const TrackParameters &other) const
 
bool operator== (const ConstTrackParameters &other) const
 
bool operator< (const TrackParameters &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class TrackParametersCollection
 
class TrackParametersCollectionIterator
 
class ConstTrackParameters
 

Detailed Description

ACTS Bound Track parameters

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ TrackParameters() [1/4]

eic::TrackParameters::TrackParameters ( )

default constructor

◆ TrackParameters() [2/4]

eic::TrackParameters::TrackParameters ( eic::Index  ID,
eic::FloatPair  loc,
eic::FloatPair  locError,
eic::Direction  direction,
eic::Direction  directionError,
float  qOverP,
float  qOverPError,
float  time,
float  timeError 
)

◆ TrackParameters() [3/4]

eic::TrackParameters::TrackParameters ( TrackParametersObj obj)

constructor from existing TrackParametersObj

◆ TrackParameters() [4/4]

eic::TrackParameters::TrackParameters ( const TrackParameters other)

copy constructor

◆ ~TrackParameters()

eic::TrackParameters::~TrackParameters ( )

destructor

Member Function Documentation

◆ clone()

TrackParameters eic::TrackParameters::clone ( ) const

support cloning (deep-copy)

◆ direction() [1/3]

eic::Direction & eic::TrackParameters::direction ( )

Get reference to track direction (theta, phi) [rad, 0-pi and -pi->pi].

◆ direction() [2/3]

const eic::Direction & eic::TrackParameters::direction ( ) const

Access the track direction (theta, phi) [rad, 0-pi and -pi->pi].

◆ direction() [3/3]

void eic::TrackParameters::direction ( eic::Direction  value)

Set the track direction (theta, phi) [rad, 0-pi and -pi->pi].

◆ directionError() [1/3]

eic::Direction & eic::TrackParameters::directionError ( )

Get reference to error on the direction [rad].

◆ directionError() [2/3]

const eic::Direction & eic::TrackParameters::directionError ( ) const

Access the error on the direction [rad].

◆ directionError() [3/3]

void eic::TrackParameters::directionError ( eic::Direction  value)

Set the error on the direction [rad].

◆ getObjectID()

const podio::ObjectID eic::TrackParameters::getObjectID ( ) const

◆ ID() [1/3]

eic::Index & eic::TrackParameters::ID ( )

Get reference to unique ID for this track.

◆ ID() [2/3]

const eic::Index & eic::TrackParameters::ID ( ) const

Access the unique ID for this track.

◆ id()

unsigned int eic::TrackParameters::id ( ) const
inline

◆ ID() [3/3]

void eic::TrackParameters::ID ( eic::Index  value)

Set the unique ID for this track.

◆ isAvailable()

bool eic::TrackParameters::isAvailable ( ) const

check whether the object is actually available

◆ loc() [1/3]

eic::FloatPair & eic::TrackParameters::loc ( )

Get reference to tracking location.

◆ loc() [2/3]

const eic::FloatPair & eic::TrackParameters::loc ( ) const

Access the tracking location.

◆ loc() [3/3]

void eic::TrackParameters::loc ( eic::FloatPair  value)

Set the tracking location.

◆ locError() [1/3]

eic::FloatPair & eic::TrackParameters::locError ( )

Get reference to error on the location.

◆ locError() [2/3]

const eic::FloatPair & eic::TrackParameters::locError ( ) const

Access the error on the location.

◆ locError() [3/3]

void eic::TrackParameters::locError ( eic::FloatPair  value)

Set the error on the location.

◆ operator ConstTrackParameters()

eic::TrackParameters::operator ConstTrackParameters ( ) const

conversion to const object

◆ operator<()

bool eic::TrackParameters::operator< ( const TrackParameters other) const
inline

◆ operator=()

TrackParameters & eic::TrackParameters::operator= ( const TrackParameters other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::TrackParameters::operator== ( const ConstTrackParameters other) const

◆ operator==() [2/2]

bool eic::TrackParameters::operator== ( const TrackParameters other) const
inline

◆ qOverP() [1/2]

const float & eic::TrackParameters::qOverP ( ) const

Access the [e/GeV].

◆ qOverP() [2/2]

void eic::TrackParameters::qOverP ( float  value)

Set the [e/GeV].

◆ qOverPError() [1/2]

const float & eic::TrackParameters::qOverPError ( ) const

Access the error on qOverP.

◆ qOverPError() [2/2]

void eic::TrackParameters::qOverPError ( float  value)

Set the error on qOverP.

◆ time() [1/2]

const float & eic::TrackParameters::time ( ) const

Access the track time [ns].

◆ time() [2/2]

void eic::TrackParameters::time ( float  value)

Set the track time [ns].

◆ timeError() [1/2]

const float & eic::TrackParameters::timeError ( ) const

Access the error on the time.

◆ timeError() [2/2]

void eic::TrackParameters::timeError ( float  value)

Set the error on the time.

◆ unlink()

void eic::TrackParameters::unlink ( )
inline

disconnect from TrackParametersObj instance

Friends And Related Function Documentation

◆ ConstTrackParameters

friend class ConstTrackParameters
friend

◆ TrackParametersCollection

friend class TrackParametersCollection
friend

◆ TrackParametersCollectionIterator

friend class TrackParametersCollectionIterator
friend

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