|
EDM4eic
EIC data model
|
#include <Track.h>
Public Types | |
| using | mutable_type = MutableTrack |
| using | collection_type = TrackCollection |
Public Member Functions | |
| Track () | |
| default constructor | |
| Track (const std::int32_t type, const edm4hep::Vector3f &position, const edm4hep::Vector3f &momentum, const edm4eic::Cov6f &positionMomentumCovariance, const float time, const float timeError, const float charge, const float chi2, const std::uint32_t ndf, const std::int32_t pdg) | |
| Constructor initializing all members. | |
| Track (const Track &other)=default | |
| copy constructor | |
| Track & | operator= (Track other) & |
| copy-assignment operator | |
| Track & | operator= (Track other) &&=delete |
| MutableTrack | clone (bool cloneRelations=true) const |
| ~Track ()=default | |
| destructor | |
| Track (const MutableTrack &other) | |
| converting constructor from mutable 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. | |
| 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 |
| 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 Track &other) const |
| bool | operator== (const MutableTrack &other) const |
| bool | operator!= (const Track &other) const |
| bool | operator!= (const MutableTrack &other) const |
| bool | operator< (const Track &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
| static Track | makeEmpty () |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::Track" |
Friends | |
| class | MutableTrack |
| class | TrackCollection |
| class | edm4eic::TrackCollectionData |
| class | TrackCollectionIterator |
| podio::detail::OrderKey | podio::detail::getOrderKey (const Track &obj) |
| void | swap (Track &a, Track &b) |
Track information at the vertex
| edm4eic::Track::Track | ( | ) |
default constructor
| edm4eic::Track::Track | ( | const std::int32_t | type, |
| const edm4hep::Vector3f & | position, | ||
| const edm4hep::Vector3f & | momentum, | ||
| const edm4eic::Cov6f & | positionMomentumCovariance, | ||
| const float | time, | ||
| const float | timeError, | ||
| const float | charge, | ||
| const float | chi2, | ||
| const std::uint32_t | ndf, | ||
| const std::int32_t | pdg ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| edm4eic::Track::Track | ( | const MutableTrack & | other | ) |
converting constructor from mutable object
| MutableTrack edm4eic::Track::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
| float edm4eic::Track::getCharge | ( | ) | const |
Access the Particle charge.
| float edm4eic::Track::getChi2 | ( | ) | const |
Access the Total chi2.
| podio::RelationRange< edm4eic::Measurement2D > edm4eic::Track::getMeasurements | ( | ) | const |
| edm4eic::Measurement2D edm4eic::Track::getMeasurements | ( | std::size_t | index | ) | const |
| const edm4hep::Vector3f & edm4eic::Track::getMomentum | ( | ) | const |
Access the Track 3-momentum at the vertex [GeV].
| std::uint32_t edm4eic::Track::getNdf | ( | ) | const |
Access the Number of degrees of freedom.
| const podio::ObjectID edm4eic::Track::getObjectID | ( | ) | const |
| std::int32_t edm4eic::Track::getPdg | ( | ) | const |
Access the PDG particle ID hypothesis.
| const edm4hep::Vector3f & edm4eic::Track::getPosition | ( | ) | const |
Access the Track 3-position at the vertex.
| const edm4eic::Cov6f & edm4eic::Track::getPositionMomentumCovariance | ( | ) | const |
Access the Covariance matrix in basis [x,y,z,px,py,pz].
| float edm4eic::Track::getTime | ( | ) | const |
Access the Track time at the vertex [ns].
| float edm4eic::Track::getTimeError | ( | ) | const |
Access the Error on the track vertex time.
| podio::RelationRange< edm4eic::Track > edm4eic::Track::getTracks | ( | ) | const |
| edm4eic::Track edm4eic::Track::getTracks | ( | std::size_t | index | ) | const |
| const edm4eic::Trajectory edm4eic::Track::getTrajectory | ( | ) | const |
Access the Trajectory of this track.
| std::int32_t edm4eic::Track::getType | ( | ) | const |
Access the Flag that defines the type of track.
|
inline |
| bool edm4eic::Track::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
| std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::Track::measurements_begin | ( | ) | const |
| std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::Track::measurements_end | ( | ) | const |
| std::size_t edm4eic::Track::measurements_size | ( | ) | const |
|
inline |
|
inline |
|
inline |
| bool edm4eic::Track::operator== | ( | const MutableTrack & | other | ) | const |
|
inline |
| std::vector< edm4eic::Track >::const_iterator edm4eic::Track::tracks_begin | ( | ) | const |
| std::vector< edm4eic::Track >::const_iterator edm4eic::Track::tracks_end | ( | ) | const |
| std::size_t edm4eic::Track::tracks_size | ( | ) | const |
|
inline |
disconnect from TrackObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |