EDM4eic
EIC data model
|
#include <MutableTrack.h>
Public Types | |
using | object_type = Track |
using | collection_type = TrackCollection |
Public Member Functions | |
MutableTrack () | |
default constructor | |
MutableTrack (std::int32_t type, edm4hep::Vector3f position, edm4hep::Vector3f momentum, edm4eic::Cov6f positionMomentumCovariance, float time, float timeError, float charge, float chi2, std::uint32_t ndf, std::int32_t pdg) | |
Constructor initializing all members. | |
MutableTrack (const MutableTrack &other)=default | |
copy constructor | |
MutableTrack & | operator= (MutableTrack other) |
copy-assignment operator | |
MutableTrack | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableTrack ()=default | |
destructor | |
operator Track () const | |
conversion to const object | |
std::int32_t | getType () const |
Access the Flag that defines the type of track. | |
const edm4hep::Vector3f & | getPosition () const |
Access the Track 3-position at the vertex. | |
const edm4hep::Vector3f & | getMomentum () const |
Access the Track 3-momentum at the vertex [GeV]. | |
const edm4eic::Cov6f & | getPositionMomentumCovariance () const |
Access the Covariance matrix in basis [x,y,z,px,py,pz]. | |
float | getTime () const |
Access the Track time at the vertex [ns]. | |
float | getTimeError () const |
Access the Error on the track vertex time. | |
float | getCharge () const |
Access the Particle charge. | |
float | getChi2 () const |
Access the Total chi2. | |
std::uint32_t | getNdf () const |
Access the Number of degrees of freedom. | |
std::int32_t | getPdg () const |
Access the PDG particle ID hypothesis. | |
const edm4eic::Trajectory | getTrajectory () const |
Access the Trajectory of this track. | |
void | setType (std::int32_t value) |
Set the Flag that defines the type of track. | |
void | setPosition (edm4hep::Vector3f value) |
Set the Track 3-position at the vertex. | |
edm4hep::Vector3f & | position () |
Get reference to Track 3-position at the vertex. | |
void | setMomentum (edm4hep::Vector3f value) |
Set the Track 3-momentum at the vertex [GeV]. | |
edm4hep::Vector3f & | momentum () |
Get reference to Track 3-momentum at the vertex [GeV]. | |
void | setPositionMomentumCovariance (edm4eic::Cov6f value) |
Set the Covariance matrix in basis [x,y,z,px,py,pz]. | |
edm4eic::Cov6f & | positionMomentumCovariance () |
Get reference to Covariance matrix in basis [x,y,z,px,py,pz]. | |
void | setTime (float value) |
Set the Track time at the vertex [ns]. | |
void | setTimeError (float value) |
Set the Error on the track vertex time. | |
void | setCharge (float value) |
Set the Particle charge. | |
void | setChi2 (float value) |
Set the Total chi2. | |
void | setNdf (std::uint32_t value) |
Set the Number of degrees of freedom. | |
void | setPdg (std::int32_t value) |
Set the PDG particle ID hypothesis. | |
void | setTrajectory (edm4eic::Trajectory value) |
Set the Trajectory of this track. | |
void | addToMeasurements (edm4eic::Measurement2D) |
std::size_t | measurements_size () const |
edm4eic::Measurement2D | getMeasurements (std::size_t) const |
std::vector< edm4eic::Measurement2D >::const_iterator | measurements_begin () const |
std::vector< edm4eic::Measurement2D >::const_iterator | measurements_end () const |
podio::RelationRange< edm4eic::Measurement2D > | getMeasurements () const |
void | addToTracks (edm4eic::Track) |
std::size_t | tracks_size () const |
edm4eic::Track | getTracks (std::size_t) const |
std::vector< edm4eic::Track >::const_iterator | tracks_begin () const |
std::vector< edm4eic::Track >::const_iterator | tracks_end () const |
podio::RelationRange< edm4eic::Track > | getTracks () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from TrackObj instance | |
bool | operator== (const MutableTrack &other) const |
bool | operator== (const Track &other) const |
bool | operator< (const MutableTrack &other) const |
podio::ObjectID | 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
edm4eic::MutableTrack::MutableTrack | ( | ) |
default constructor
edm4eic::MutableTrack::MutableTrack | ( | std::int32_t | type, |
edm4hep::Vector3f | position, | ||
edm4hep::Vector3f | momentum, | ||
edm4eic::Cov6f | positionMomentumCovariance, | ||
float | time, | ||
float | timeError, | ||
float | charge, | ||
float | chi2, | ||
std::uint32_t | ndf, | ||
std::int32_t | pdg ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableTrack::addToMeasurements | ( | edm4eic::Measurement2D | component | ) |
void edm4eic::MutableTrack::addToTracks | ( | edm4eic::Track | component | ) |
MutableTrack edm4eic::MutableTrack::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
float edm4eic::MutableTrack::getCharge | ( | ) | const |
Access the Particle charge.
float edm4eic::MutableTrack::getChi2 | ( | ) | const |
Access the Total chi2.
podio::RelationRange< edm4eic::Measurement2D > edm4eic::MutableTrack::getMeasurements | ( | ) | const |
edm4eic::Measurement2D edm4eic::MutableTrack::getMeasurements | ( | std::size_t | index | ) | const |
const edm4hep::Vector3f & edm4eic::MutableTrack::getMomentum | ( | ) | const |
Access the Track 3-momentum at the vertex [GeV].
std::uint32_t edm4eic::MutableTrack::getNdf | ( | ) | const |
Access the Number of degrees of freedom.
const podio::ObjectID edm4eic::MutableTrack::getObjectID | ( | ) | const |
std::int32_t edm4eic::MutableTrack::getPdg | ( | ) | const |
Access the PDG particle ID hypothesis.
const edm4hep::Vector3f & edm4eic::MutableTrack::getPosition | ( | ) | const |
Access the Track 3-position at the vertex.
const edm4eic::Cov6f & edm4eic::MutableTrack::getPositionMomentumCovariance | ( | ) | const |
Access the Covariance matrix in basis [x,y,z,px,py,pz].
float edm4eic::MutableTrack::getTime | ( | ) | const |
Access the Track time at the vertex [ns].
float edm4eic::MutableTrack::getTimeError | ( | ) | const |
Access the Error on the track vertex time.
podio::RelationRange< edm4eic::Track > edm4eic::MutableTrack::getTracks | ( | ) | const |
edm4eic::Track edm4eic::MutableTrack::getTracks | ( | std::size_t | index | ) | const |
const edm4eic::Trajectory edm4eic::MutableTrack::getTrajectory | ( | ) | const |
Access the Trajectory of this track.
std::int32_t edm4eic::MutableTrack::getType | ( | ) | const |
Access the Flag that defines the type of track.
|
inline |
bool edm4eic::MutableTrack::isAvailable | ( | ) | const |
check whether the object is actually available
std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrack::measurements_begin | ( | ) | const |
std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrack::measurements_end | ( | ) | const |
std::size_t edm4eic::MutableTrack::measurements_size | ( | ) | const |
edm4hep::Vector3f & edm4eic::MutableTrack::momentum | ( | ) |
Get reference to Track 3-momentum at the vertex [GeV].
edm4eic::MutableTrack::operator Track | ( | ) | const |
conversion to const object
|
inline |
MutableTrack & edm4eic::MutableTrack::operator= | ( | MutableTrack | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MutableTrack::operator== | ( | const Track & | other | ) | const |
edm4hep::Vector3f & edm4eic::MutableTrack::position | ( | ) |
Get reference to Track 3-position at the vertex.
edm4eic::Cov6f & edm4eic::MutableTrack::positionMomentumCovariance | ( | ) |
Get reference to Covariance matrix in basis [x,y,z,px,py,pz].
void edm4eic::MutableTrack::setCharge | ( | float | value | ) |
Set the Particle charge.
void edm4eic::MutableTrack::setChi2 | ( | float | value | ) |
Set the Total chi2.
void edm4eic::MutableTrack::setMomentum | ( | edm4hep::Vector3f | value | ) |
Set the Track 3-momentum at the vertex [GeV].
void edm4eic::MutableTrack::setNdf | ( | std::uint32_t | value | ) |
Set the Number of degrees of freedom.
void edm4eic::MutableTrack::setPdg | ( | std::int32_t | value | ) |
Set the PDG particle ID hypothesis.
void edm4eic::MutableTrack::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the Track 3-position at the vertex.
void edm4eic::MutableTrack::setPositionMomentumCovariance | ( | edm4eic::Cov6f | value | ) |
Set the Covariance matrix in basis [x,y,z,px,py,pz].
void edm4eic::MutableTrack::setTime | ( | float | value | ) |
Set the Track time at the vertex [ns].
void edm4eic::MutableTrack::setTimeError | ( | float | value | ) |
Set the Error on the track vertex time.
void edm4eic::MutableTrack::setTrajectory | ( | edm4eic::Trajectory | value | ) |
Set the Trajectory of this track.
void edm4eic::MutableTrack::setType | ( | std::int32_t | value | ) |
Set the Flag that defines the type of track.
std::vector< edm4eic::Track >::const_iterator edm4eic::MutableTrack::tracks_begin | ( | ) | const |
std::vector< edm4eic::Track >::const_iterator edm4eic::MutableTrack::tracks_end | ( | ) | const |
std::size_t edm4eic::MutableTrack::tracks_size | ( | ) | const |
|
inline |
disconnect from TrackObj instance
|
friend |
|
friend |
|
friend |
|
friend |