EICd
EIC data model
eicd::TrackParameters Class Reference

#include <TrackParameters.h>

Public Member Functions

 TrackParameters ()
 default constructor More...
 
 TrackParameters (std::int32_t type, edm4hep::Vector2f loc, eicd::Cov2f locError, float theta, float phi, float qOverP, eicd::Cov3f momentumError, float time, float timeError, float charge)
 
 TrackParameters (TrackParametersObj *obj)
 constructor from existing TrackParametersObj More...
 
 TrackParameters (const TrackParameters &other)
 copy constructor More...
 
TrackParametersoperator= (TrackParameters other)
 copy-assignment operator More...
 
MutableTrackParameters clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~TrackParameters ()
 destructor More...
 
const std::int32_t & getType () const
 Access the Type of track parameters (-1/seed, 0/head, ...) More...
 
const edm4hep::Vector2f & getLoc () const
 Access the 2D location on surface. More...
 
const eicd::Cov2fgetLocError () const
 Access the Covariance on loc. More...
 
const float & getTheta () const
 Access the Track polar angle [rad]. More...
 
const float & getPhi () const
 Access the Track azimuthal angle [rad]. More...
 
const float & getQOverP () const
 Access the [e/GeV]. More...
 
const eicd::Cov3fgetMomentumError () const
 Access the Covariance on theta, phi and qOverP. More...
 
const float & getTime () const
 Access the Track time [ns]. More...
 
const float & getTimeError () const
 Access the Error on the time. More...
 
const float & getCharge () const
 Access the Particle charge. More...
 
const eicd::Trajectory getTrajectory () const
 Access the Trajectory associated with these track parameters. 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 MutableTrackParameters &other) const
 
bool operator< (const TrackParameters &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MutableTrackParameters
 
class TrackParametersCollection
 
class TrackParametersCollectionIterator
 
void swap (TrackParameters &a, TrackParameters &b)
 

Detailed Description

ACTS Bound Track parameters

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ TrackParameters() [1/4]

eicd::TrackParameters::TrackParameters ( )

default constructor

◆ TrackParameters() [2/4]

eicd::TrackParameters::TrackParameters ( std::int32_t  type,
edm4hep::Vector2f  loc,
eicd::Cov2f  locError,
float  theta,
float  phi,
float  qOverP,
eicd::Cov3f  momentumError,
float  time,
float  timeError,
float  charge 
)

◆ TrackParameters() [3/4]

eicd::TrackParameters::TrackParameters ( TrackParametersObj obj)

constructor from existing TrackParametersObj

◆ TrackParameters() [4/4]

eicd::TrackParameters::TrackParameters ( const TrackParameters other)

copy constructor

◆ ~TrackParameters()

eicd::TrackParameters::~TrackParameters ( )

destructor

Member Function Documentation

◆ clone()

MutableTrackParameters eicd::TrackParameters::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getCharge()

const float & eicd::TrackParameters::getCharge ( ) const

Access the Particle charge.

◆ getLoc()

const edm4hep::Vector2f & eicd::TrackParameters::getLoc ( ) const

Access the 2D location on surface.

◆ getLocError()

const eicd::Cov2f & eicd::TrackParameters::getLocError ( ) const

Access the Covariance on loc.

◆ getMomentumError()

const eicd::Cov3f & eicd::TrackParameters::getMomentumError ( ) const

Access the Covariance on theta, phi and qOverP.

◆ getObjectID()

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

◆ getPhi()

const float & eicd::TrackParameters::getPhi ( ) const

Access the Track azimuthal angle [rad].

◆ getQOverP()

const float & eicd::TrackParameters::getQOverP ( ) const

Access the [e/GeV].

◆ getTheta()

const float & eicd::TrackParameters::getTheta ( ) const

Access the Track polar angle [rad].

◆ getTime()

const float & eicd::TrackParameters::getTime ( ) const

Access the Track time [ns].

◆ getTimeError()

const float & eicd::TrackParameters::getTimeError ( ) const

Access the Error on the time.

◆ getTrajectory()

const eicd::Trajectory eicd::TrackParameters::getTrajectory ( ) const

Access the Trajectory associated with these track parameters.

◆ getType()

const std::int32_t & eicd::TrackParameters::getType ( ) const

Access the Type of track parameters (-1/seed, 0/head, ...)

◆ id()

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

◆ isAvailable()

bool eicd::TrackParameters::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

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

◆ operator=()

TrackParameters & eicd::TrackParameters::operator= ( TrackParameters  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::TrackParameters::operator== ( const MutableTrackParameters other) const

◆ operator==() [2/2]

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

◆ unlink()

void eicd::TrackParameters::unlink ( )
inline

disconnect from TrackParametersObj instance

Friends And Related Function Documentation

◆ MutableTrackParameters

friend class MutableTrackParameters
friend

◆ swap

void swap ( TrackParameters a,
TrackParameters b 
)
friend

◆ TrackParametersCollection

friend class TrackParametersCollection
friend

◆ TrackParametersCollectionIterator

friend class TrackParametersCollectionIterator
friend

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