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 (const std::int32_t type, const std::uint64_t surface, const edm4hep::Vector2f &loc, const float theta, const float phi, const float qOverP, const float time, const std::int32_t pdg, const edm4eic::Cov6f &covariance)
 Constructor initializing all members.
 
 MutableTrackParameters (const MutableTrackParameters &other)=default
 copy constructor
 
MutableTrackParametersoperator= (MutableTrackParameters other) &
 copy-assignment operator
 
MutableTrackParametersoperator= (MutableTrackParameters other) &&=delete
 
MutableTrackParameters clone (bool cloneRelations=true) const
 
 ~MutableTrackParameters ()=default
 destructor
 
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 (const std::int32_t type)
 Set the Type of track parameters (-1/seed, 0/head, ...)
 
std::int32_t & getType ()
 Get mutable reference to Type of track parameters (-1/seed, 0/head, ...)
 
std::int32_t & type ()
 Get reference to Type of track parameters (-1/seed, 0/head, ...)
 
void setSurface (const std::uint64_t surface)
 Set the Surface for bound parameters (geometryID)
 
std::uint64_t & getSurface ()
 Get mutable reference to Surface for bound parameters (geometryID)
 
std::uint64_t & surface ()
 Get reference to Surface for bound parameters (geometryID)
 
void setLoc (const edm4hep::Vector2f &loc)
 Set the 2D location on surface.
 
edm4hep::Vector2f & getLoc ()
 Get mutable reference to 2D location on surface.
 
edm4hep::Vector2f & loc ()
 Get reference to 2D location on surface.
 
void setTheta (const float theta)
 Set the Track polar angle [rad].
 
float & getTheta ()
 Get mutable reference to Track polar angle [rad].
 
float & theta ()
 Get reference to Track polar angle [rad].
 
void setPhi (const float phi)
 Set the Track azimuthal angle [rad].
 
float & getPhi ()
 Get mutable reference to Track azimuthal angle [rad].
 
float & phi ()
 Get reference to Track azimuthal angle [rad].
 
void setQOverP (const float qOverP)
 Set the [e/GeV].
 
float & getQOverP ()
 Get mutable reference to [e/GeV].
 
float & qOverP ()
 Get reference to [e/GeV].
 
void setTime (const float time)
 Set the Track time [ns].
 
float & getTime ()
 Get mutable reference to Track time [ns].
 
float & time ()
 Get reference to Track time [ns].
 
void setPdg (const std::int32_t pdg)
 Set the pdg pid for these parameters.
 
std::int32_t & getPdg ()
 Get mutable reference to pdg pid for these parameters.
 
std::int32_t & pdg ()
 Get reference to pdg pid for these parameters.
 
void setCovariance (const edm4eic::Cov6f &covariance)
 Set the Full covariance in basis [l0,l1,theta,phi,q/p,t].
 
edm4eic::Cov6fgetCovariance ()
 Get mutable reference to 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
 
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 ( const std::int32_t type,
const std::uint64_t surface,
const edm4hep::Vector2f & loc,
const float theta,
const float phi,
const float qOverP,
const float time,
const std::int32_t pdg,
const 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 ( bool cloneRelations = true) const

create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty

◆ covariance()

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

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

◆ getCovariance() [1/2]

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

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

◆ getCovariance() [2/2]

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

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

◆ getLoc() [1/2]

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

Get mutable reference to 2D location on surface.

◆ getLoc() [2/2]

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

Access the 2D location on surface.

◆ getObjectID()

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

◆ getPdg() [1/2]

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

Get mutable reference to pdg pid for these parameters.

◆ getPdg() [2/2]

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

Access the pdg pid for these parameters.

◆ getPhi() [1/2]

float & edm4eic::MutableTrackParameters::getPhi ( )

Get mutable reference to Track azimuthal angle [rad].

◆ getPhi() [2/2]

float edm4eic::MutableTrackParameters::getPhi ( ) const

Access the Track azimuthal angle [rad].

◆ getQOverP() [1/2]

float & edm4eic::MutableTrackParameters::getQOverP ( )

Get mutable reference to [e/GeV].

◆ getQOverP() [2/2]

float edm4eic::MutableTrackParameters::getQOverP ( ) const

Access the [e/GeV].

◆ getSurface() [1/2]

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

Get mutable reference to Surface for bound parameters (geometryID)

◆ getSurface() [2/2]

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

Access the Surface for bound parameters (geometryID)

◆ getTheta() [1/2]

float & edm4eic::MutableTrackParameters::getTheta ( )

Get mutable reference to Track polar angle [rad].

◆ getTheta() [2/2]

float edm4eic::MutableTrackParameters::getTheta ( ) const

Access the Track polar angle [rad].

◆ getTime() [1/2]

float & edm4eic::MutableTrackParameters::getTime ( )

Get mutable reference to Track time [ns].

◆ getTime() [2/2]

float edm4eic::MutableTrackParameters::getTime ( ) const

Access the Track time [ns].

◆ getType() [1/2]

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

Get mutable reference to Type of track parameters (-1/seed, 0/head, ...)

◆ getType() [2/2]

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!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ pdg()

std::int32_t & edm4eic::MutableTrackParameters::pdg ( )

Get reference to pdg pid for these parameters.

◆ phi()

float & edm4eic::MutableTrackParameters::phi ( )

Get reference to Track azimuthal angle [rad].

◆ qOverP()

float & edm4eic::MutableTrackParameters::qOverP ( )

Get reference to [e/GeV].

◆ setCovariance()

void edm4eic::MutableTrackParameters::setCovariance ( const edm4eic::Cov6f & covariance)

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

◆ setLoc()

void edm4eic::MutableTrackParameters::setLoc ( const edm4hep::Vector2f & loc)

Set the 2D location on surface.

◆ setPdg()

void edm4eic::MutableTrackParameters::setPdg ( const std::int32_t pdg)

Set the pdg pid for these parameters.

◆ setPhi()

void edm4eic::MutableTrackParameters::setPhi ( const float phi)

Set the Track azimuthal angle [rad].

◆ setQOverP()

void edm4eic::MutableTrackParameters::setQOverP ( const float qOverP)

Set the [e/GeV].

◆ setSurface()

void edm4eic::MutableTrackParameters::setSurface ( const std::uint64_t surface)

Set the Surface for bound parameters (geometryID)

◆ setTheta()

void edm4eic::MutableTrackParameters::setTheta ( const float theta)

Set the Track polar angle [rad].

◆ setTime()

void edm4eic::MutableTrackParameters::setTime ( const float time)

Set the Track time [ns].

◆ setType()

void edm4eic::MutableTrackParameters::setType ( const std::int32_t type)

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

◆ surface()

std::uint64_t & edm4eic::MutableTrackParameters::surface ( )

Get reference to Surface for bound parameters (geometryID)

◆ theta()

float & edm4eic::MutableTrackParameters::theta ( )

Get reference to Track polar angle [rad].

◆ time()

float & edm4eic::MutableTrackParameters::time ( )

Get reference to Track time [ns].

◆ type()

std::int32_t & edm4eic::MutableTrackParameters::type ( )

Get reference to 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: