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