EICd
EIC data model
eicd::MutableTrackParameters Class Reference

#include <MutableTrackParameters.h>

Public Member Functions

 MutableTrackParameters ()
 default constructor More...
 
 MutableTrackParameters (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)
 
 MutableTrackParameters (TrackParametersObj *obj)
 constructor from existing TrackParametersObj More...
 
 MutableTrackParameters (const MutableTrackParameters &other)
 copy constructor More...
 
MutableTrackParametersoperator= (MutableTrackParameters other)
 copy-assignment operator More...
 
MutableTrackParameters clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableTrackParameters ()
 destructor More...
 
 operator TrackParameters () const
 conversion to const object 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...
 
void setType (std::int32_t value)
 Set the Type of track parameters (-1/seed, 0/head, ...) More...
 
void setLoc (edm4hep::Vector2f value)
 Set the 2D location on surface. More...
 
edm4hep::Vector2f & loc ()
 Get reference to 2D location on surface. More...
 
void setLocError (eicd::Cov2f value)
 Set the Covariance on loc. More...
 
eicd::Cov2flocError ()
 Get reference to Covariance on loc. More...
 
void setTheta (float value)
 Set the Track polar angle [rad]. More...
 
void setPhi (float value)
 Set the Track azimuthal angle [rad]. More...
 
void setQOverP (float value)
 Set the [e/GeV]. More...
 
void setMomentumError (eicd::Cov3f value)
 Set the Covariance on theta, phi and qOverP. More...
 
eicd::Cov3fmomentumError ()
 Get reference to Covariance on theta, phi and qOverP. More...
 
void setTime (float value)
 Set the Track time [ns]. More...
 
void setTimeError (float value)
 Set the Error on the time. More...
 
void setCharge (float value)
 Set the Particle charge. More...
 
void setTrajectory (eicd::Trajectory value)
 Set 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 MutableTrackParameters &other) const
 
bool operator== (const TrackParameters &other) const
 
bool operator< (const MutableTrackParameters &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

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

Detailed Description

ACTS Bound Track parameters

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ MutableTrackParameters() [1/4]

eicd::MutableTrackParameters::MutableTrackParameters ( )

default constructor

◆ MutableTrackParameters() [2/4]

eicd::MutableTrackParameters::MutableTrackParameters ( 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 
)

◆ MutableTrackParameters() [3/4]

eicd::MutableTrackParameters::MutableTrackParameters ( TrackParametersObj obj)

constructor from existing TrackParametersObj

◆ MutableTrackParameters() [4/4]

eicd::MutableTrackParameters::MutableTrackParameters ( const MutableTrackParameters other)

copy constructor

◆ ~MutableTrackParameters()

eicd::MutableTrackParameters::~MutableTrackParameters ( )

destructor

Member Function Documentation

◆ clone()

MutableTrackParameters eicd::MutableTrackParameters::clone ( ) const

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

◆ getCharge()

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

Access the Particle charge.

◆ getLoc()

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

Access the 2D location on surface.

◆ getLocError()

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

Access the Covariance on loc.

◆ getMomentumError()

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

Access the Covariance on theta, phi and qOverP.

◆ getObjectID()

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

◆ getPhi()

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

Access the Track azimuthal angle [rad].

◆ getQOverP()

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

Access the [e/GeV].

◆ getTheta()

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

Access the Track polar angle [rad].

◆ getTime()

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

Access the Track time [ns].

◆ getTimeError()

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

Access the Error on the time.

◆ getTrajectory()

const eicd::Trajectory eicd::MutableTrackParameters::getTrajectory ( ) const

Access the Trajectory associated with these track parameters.

◆ getType()

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

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

◆ id()

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

◆ isAvailable()

bool eicd::MutableTrackParameters::isAvailable ( ) const

check whether the object is actually available

◆ loc()

edm4hep::Vector2f & eicd::MutableTrackParameters::loc ( )

Get reference to 2D location on surface.

◆ locError()

eicd::Cov2f & eicd::MutableTrackParameters::locError ( )

Get reference to Covariance on loc.

◆ momentumError()

eicd::Cov3f & eicd::MutableTrackParameters::momentumError ( )

Get reference to Covariance on theta, phi and qOverP.

◆ operator TrackParameters()

eicd::MutableTrackParameters::operator TrackParameters ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ setCharge()

void eicd::MutableTrackParameters::setCharge ( float  value)

Set the Particle charge.

◆ setLoc()

void eicd::MutableTrackParameters::setLoc ( edm4hep::Vector2f  value)

Set the 2D location on surface.

◆ setLocError()

void eicd::MutableTrackParameters::setLocError ( eicd::Cov2f  value)

Set the Covariance on loc.

◆ setMomentumError()

void eicd::MutableTrackParameters::setMomentumError ( eicd::Cov3f  value)

Set the Covariance on theta, phi and qOverP.

◆ setPhi()

void eicd::MutableTrackParameters::setPhi ( float  value)

Set the Track azimuthal angle [rad].

◆ setQOverP()

void eicd::MutableTrackParameters::setQOverP ( float  value)

Set the [e/GeV].

◆ setTheta()

void eicd::MutableTrackParameters::setTheta ( float  value)

Set the Track polar angle [rad].

◆ setTime()

void eicd::MutableTrackParameters::setTime ( float  value)

Set the Track time [ns].

◆ setTimeError()

void eicd::MutableTrackParameters::setTimeError ( float  value)

Set the Error on the time.

◆ setTrajectory()

void eicd::MutableTrackParameters::setTrajectory ( eicd::Trajectory  value)

Set the Trajectory associated with these track parameters.

◆ setType()

void eicd::MutableTrackParameters::setType ( std::int32_t  value)

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

◆ unlink()

void eicd::MutableTrackParameters::unlink ( )
inline

disconnect from TrackParametersObj instance

Friends And Related Function Documentation

◆ swap

void swap ( MutableTrackParameters a,
MutableTrackParameters b 
)
friend

◆ TrackParameters

friend class TrackParameters
friend

◆ TrackParametersCollection

friend class TrackParametersCollection
friend

◆ TrackParametersMutableCollectionIterator


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