EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MutableTrackParameters Class Reference

#include <MutableTrackParameters.h>

Public Types

using object_type = TrackParameters
 
using collection_type = TrackParametersCollection
 

Public Member Functions

 MutableTrackParameters ()
 default constructor
 
 MutableTrackParameters (std::int32_t type, std::uint64_t surface, edm4hep::Vector2f loc, float theta, float phi, float qOverP, float time, std::int32_t pdg, edm4eic::Cov6f covariance)
 Constructor initializing all members.
 
 MutableTrackParameters (const MutableTrackParameters &other)=default
 copy constructor
 
MutableTrackParametersoperator= (MutableTrackParameters other)
 copy-assignment operator
 
MutableTrackParameters clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableTrackParameters ()=default
 destructor
 
 operator TrackParameters () const
 conversion to const object
 
std::int32_t getType () const
 Access the Type of track parameters (-1/seed, 0/head, ...)
 
std::uint64_t getSurface () const
 Access the Surface for bound parameters (geometryID)
 
const edm4hep::Vector2f & getLoc () const
 Access the 2D location on surface.
 
float getTheta () const
 Access the Track polar angle [rad].
 
float getPhi () const
 Access the Track azimuthal angle [rad].
 
float getQOverP () const
 Access the [e/GeV].
 
float getTime () const
 Access the Track time [ns].
 
std::int32_t getPdg () const
 Access the pdg pid for these parameters.
 
const edm4eic::Cov6fgetCovariance () const
 Access the Full covariance in basis [l0,l1,theta,phi,q/p,t].
 
void setType (std::int32_t value)
 Set the Type of track parameters (-1/seed, 0/head, ...)
 
void setSurface (std::uint64_t value)
 Set the Surface for bound parameters (geometryID)
 
void setLoc (edm4hep::Vector2f value)
 Set the 2D location on surface.
 
edm4hep::Vector2f & loc ()
 Get reference to 2D location on surface.
 
void setTheta (float value)
 Set the Track polar angle [rad].
 
void setPhi (float value)
 Set the Track azimuthal angle [rad].
 
void setQOverP (float value)
 Set the [e/GeV].
 
void setTime (float value)
 Set the Track time [ns].
 
void setPdg (std::int32_t value)
 Set the pdg pid for these parameters.
 
void setCovariance (edm4eic::Cov6f value)
 Set the Full covariance in basis [l0,l1,theta,phi,q/p,t].
 
edm4eic::Cov6fcovariance ()
 Get reference to Full covariance in basis [l0,l1,theta,phi,q/p,t].
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrackParametersObj instance
 
bool operator== (const MutableTrackParameters &other) const
 
bool operator== (const TrackParameters &other) const
 
bool operator< (const MutableTrackParameters &other) const
 
podio::ObjectID 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, J. Osborn

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrackParameters() [1/3]

edm4eic::MutableTrackParameters::MutableTrackParameters ( )

default constructor

◆ MutableTrackParameters() [2/3]

edm4eic::MutableTrackParameters::MutableTrackParameters ( std::int32_t type,
std::uint64_t surface,
edm4hep::Vector2f loc,
float theta,
float phi,
float qOverP,
float time,
std::int32_t pdg,
edm4eic::Cov6f covariance )

Constructor initializing all members.

◆ MutableTrackParameters() [3/3]

edm4eic::MutableTrackParameters::MutableTrackParameters ( const MutableTrackParameters & other)
default

copy constructor

◆ ~MutableTrackParameters()

edm4eic::MutableTrackParameters::~MutableTrackParameters ( )
default

destructor

Member Function Documentation

◆ clone()

MutableTrackParameters edm4eic::MutableTrackParameters::clone ( ) const

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

◆ covariance()

edm4eic::Cov6f & edm4eic::MutableTrackParameters::covariance ( )

Get reference to Full covariance in basis [l0,l1,theta,phi,q/p,t].

◆ getCovariance()

const edm4eic::Cov6f & edm4eic::MutableTrackParameters::getCovariance ( ) const

Access the Full covariance in basis [l0,l1,theta,phi,q/p,t].

◆ getLoc()

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

Access the 2D location on surface.

◆ getObjectID()

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

◆ getPdg()

std::int32_t edm4eic::MutableTrackParameters::getPdg ( ) const

Access the pdg pid for these parameters.

◆ getPhi()

float edm4eic::MutableTrackParameters::getPhi ( ) const

Access the Track azimuthal angle [rad].

◆ getQOverP()

float edm4eic::MutableTrackParameters::getQOverP ( ) const

Access the [e/GeV].

◆ getSurface()

std::uint64_t edm4eic::MutableTrackParameters::getSurface ( ) const

Access the Surface for bound parameters (geometryID)

◆ getTheta()

float edm4eic::MutableTrackParameters::getTheta ( ) const

Access the Track polar angle [rad].

◆ getTime()

float edm4eic::MutableTrackParameters::getTime ( ) const

Access the Track time [ns].

◆ getType()

std::int32_t edm4eic::MutableTrackParameters::getType ( ) const

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

◆ id()

podio::ObjectID edm4eic::MutableTrackParameters::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MutableTrackParameters::isAvailable ( ) const

check whether the object is actually available

◆ loc()

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

Get reference to 2D location on surface.

◆ operator TrackParameters()

edm4eic::MutableTrackParameters::operator TrackParameters ( ) const

conversion to const object

◆ operator<()

bool edm4eic::MutableTrackParameters::operator< ( const MutableTrackParameters & other) const
inline

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableTrackParameters::operator== ( const MutableTrackParameters & other) const
inline

◆ operator==() [2/2]

bool edm4eic::MutableTrackParameters::operator== ( const TrackParameters & other) const

◆ setCovariance()

void edm4eic::MutableTrackParameters::setCovariance ( edm4eic::Cov6f value)

Set the Full covariance in basis [l0,l1,theta,phi,q/p,t].

◆ setLoc()

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

Set the 2D location on surface.

◆ setPdg()

void edm4eic::MutableTrackParameters::setPdg ( std::int32_t value)

Set the pdg pid for these parameters.

◆ setPhi()

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

Set the Track azimuthal angle [rad].

◆ setQOverP()

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

Set the [e/GeV].

◆ setSurface()

void edm4eic::MutableTrackParameters::setSurface ( std::uint64_t value)

Set the Surface for bound parameters (geometryID)

◆ setTheta()

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

Set the Track polar angle [rad].

◆ setTime()

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

Set the Track time [ns].

◆ setType()

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

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

◆ unlink()

void edm4eic::MutableTrackParameters::unlink ( )
inline

disconnect from TrackParametersObj instance

Friends And Related Symbol 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: