EICd
EIC data model
|
#include <Track.h>
Public Member Functions | |
Track () | |
default constructor More... | |
Track (std::int32_t type, float chi2, std::int32_t ndf, edm4hep::Vector3f momentum, eicd::Cov3f momentumError, float time, float timeError, float charge) | |
Track (TrackObj *obj) | |
constructor from existing TrackObj More... | |
Track (const Track &other) | |
copy constructor More... | |
Track & | operator= (Track other) |
copy-assignment operator More... | |
MutableTrack | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~Track () | |
destructor More... | |
const std::int32_t & | getType () const |
Access the Flag that defines the type of track. More... | |
const float & | getChi2 () const |
Access the Total chi2 (sum) of the track fit. More... | |
const std::int32_t & | getNdf () const |
Access the Numbers of degrees of freedom of the track fit. More... | |
const edm4hep::Vector3f & | getMomentum () const |
Access the Track 3-momentum at the vertex [GeV]. More... | |
const eicd::Cov3f & | getMomentumError () const |
Access the Covariance matrix on the momentum. More... | |
const float & | getTime () const |
Access the Track time at the vertex [ns]. More... | |
const float & | getTimeError () const |
Access the Error on the track vertex time. More... | |
const float & | getCharge () const |
Access the Particle charge. More... | |
unsigned int | parameters_size () const |
eicd::TrackParameters | getParameters (unsigned int) const |
std::vector< eicd::TrackParameters >::const_iterator | parameters_begin () const |
std::vector< eicd::TrackParameters >::const_iterator | parameters_end () const |
podio::RelationRange< eicd::TrackParameters > | getParameters () const |
unsigned int | trackerHits_size () const |
eicd::TrackerHit | getTrackerHits (unsigned int) const |
std::vector< eicd::TrackerHit >::const_iterator | trackerHits_begin () const |
std::vector< eicd::TrackerHit >::const_iterator | trackerHits_end () const |
podio::RelationRange< eicd::TrackerHit > | getTrackerHits () const |
unsigned int | tracks_size () const |
eicd::Track | getTracks (unsigned int) const |
std::vector< eicd::Track >::const_iterator | tracks_begin () const |
std::vector< eicd::Track >::const_iterator | tracks_end () const |
podio::RelationRange< eicd::Track > | getTracks () const |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from TrackObj instance More... | |
bool | operator== (const Track &other) const |
bool | operator== (const MutableTrack &other) const |
bool | operator< (const Track &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MutableTrack |
class | TrackCollection |
class | TrackCollectionIterator |
void | swap (Track &a, Track &b) |
Track information at the vertex
eicd::Track::Track | ( | ) |
default constructor
eicd::Track::Track | ( | std::int32_t | type, |
float | chi2, | ||
std::int32_t | ndf, | ||
edm4hep::Vector3f | momentum, | ||
eicd::Cov3f | momentumError, | ||
float | time, | ||
float | timeError, | ||
float | charge | ||
) |
eicd::Track::Track | ( | const Track & | other | ) |
copy constructor
eicd::Track::~Track | ( | ) |
destructor
MutableTrack eicd::Track::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const float & eicd::Track::getCharge | ( | ) | const |
Access the Particle charge.
const float & eicd::Track::getChi2 | ( | ) | const |
Access the Total chi2 (sum) of the track fit.
const edm4hep::Vector3f & eicd::Track::getMomentum | ( | ) | const |
Access the Track 3-momentum at the vertex [GeV].
const eicd::Cov3f & eicd::Track::getMomentumError | ( | ) | const |
Access the Covariance matrix on the momentum.
const std::int32_t & eicd::Track::getNdf | ( | ) | const |
Access the Numbers of degrees of freedom of the track fit.
const podio::ObjectID eicd::Track::getObjectID | ( | ) | const |
podio::RelationRange< eicd::TrackParameters > eicd::Track::getParameters | ( | ) | const |
eicd::TrackParameters eicd::Track::getParameters | ( | unsigned int | index | ) | const |
const float & eicd::Track::getTime | ( | ) | const |
Access the Track time at the vertex [ns].
const float & eicd::Track::getTimeError | ( | ) | const |
Access the Error on the track vertex time.
podio::RelationRange< eicd::TrackerHit > eicd::Track::getTrackerHits | ( | ) | const |
eicd::TrackerHit eicd::Track::getTrackerHits | ( | unsigned int | index | ) | const |
podio::RelationRange< eicd::Track > eicd::Track::getTracks | ( | ) | const |
eicd::Track eicd::Track::getTracks | ( | unsigned int | index | ) | const |
const std::int32_t & eicd::Track::getType | ( | ) | const |
Access the Flag that defines the type of track.
|
inline |
bool eicd::Track::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
bool eicd::Track::operator== | ( | const MutableTrack & | other | ) | const |
|
inline |
std::vector< eicd::TrackParameters >::const_iterator eicd::Track::parameters_begin | ( | ) | const |
std::vector< eicd::TrackParameters >::const_iterator eicd::Track::parameters_end | ( | ) | const |
unsigned int eicd::Track::parameters_size | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::Track::trackerHits_begin | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::Track::trackerHits_end | ( | ) | const |
unsigned int eicd::Track::trackerHits_size | ( | ) | const |
std::vector< eicd::Track >::const_iterator eicd::Track::tracks_begin | ( | ) | const |
std::vector< eicd::Track >::const_iterator eicd::Track::tracks_end | ( | ) | const |
unsigned int eicd::Track::tracks_size | ( | ) | const |
|
inline |
disconnect from TrackObj instance
|
friend |
|
friend |
|
friend |