|
EDM4eic
EIC data model
|
#include <MutableTrack.h>
Public Types | |
| using | object_type = Track |
| using | collection_type = TrackCollection |
Public Member Functions | |
| MutableTrack () | |
| default constructor | |
| MutableTrack (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. | |
| MutableTrack (const MutableTrack &other)=default | |
| copy constructor | |
| MutableTrack & | operator= (MutableTrack other) & |
| copy-assignment operator | |
| MutableTrack & | operator= (MutableTrack other) &&=delete |
| MutableTrack | clone (bool cloneRelations=true) const |
| ~MutableTrack ()=default | |
| destructor | |
| 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 (const std::int32_t type) |
| Set the Flag that defines the type of track. | |
| std::int32_t & | getType () |
| Get mutable reference to Flag that defines the type of track. | |
| std::int32_t & | type () |
| Get reference to Flag that defines the type of track. | |
| void | setPosition (const edm4hep::Vector3f &position) |
| Set the Track 3-position at the vertex. | |
| edm4hep::Vector3f & | getPosition () |
| Get mutable reference to Track 3-position at the vertex. | |
| edm4hep::Vector3f & | position () |
| Get reference to Track 3-position at the vertex. | |
| void | setMomentum (const edm4hep::Vector3f &momentum) |
| Set the Track 3-momentum at the vertex [GeV]. | |
| edm4hep::Vector3f & | getMomentum () |
| Get mutable reference to Track 3-momentum at the vertex [GeV]. | |
| edm4hep::Vector3f & | momentum () |
| Get reference to Track 3-momentum at the vertex [GeV]. | |
| void | setPositionMomentumCovariance (const edm4eic::Cov6f &positionMomentumCovariance) |
| Set the Covariance matrix in basis [x,y,z,px,py,pz]. | |
| edm4eic::Cov6f & | getPositionMomentumCovariance () |
| Get mutable reference to 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 (const float time) |
| Set the Track time at the vertex [ns]. | |
| float & | getTime () |
| Get mutable reference to Track time at the vertex [ns]. | |
| float & | time () |
| Get reference to Track time at the vertex [ns]. | |
| void | setTimeError (const float timeError) |
| Set the Error on the track vertex time. | |
| float & | getTimeError () |
| Get mutable reference to Error on the track vertex time. | |
| float & | timeError () |
| Get reference to Error on the track vertex time. | |
| void | setCharge (const float charge) |
| Set the Particle charge. | |
| float & | getCharge () |
| Get mutable reference to Particle charge. | |
| float & | charge () |
| Get reference to Particle charge. | |
| void | setChi2 (const float chi2) |
| Set the Total chi2. | |
| float & | getChi2 () |
| Get mutable reference to Total chi2. | |
| float & | chi2 () |
| Get reference to Total chi2. | |
| void | setNdf (const std::uint32_t ndf) |
| Set the Number of degrees of freedom. | |
| std::uint32_t & | getNdf () |
| Get mutable reference to Number of degrees of freedom. | |
| std::uint32_t & | ndf () |
| Get reference to Number of degrees of freedom. | |
| void | setPdg (const std::int32_t pdg) |
| Set the PDG particle ID hypothesis. | |
| std::int32_t & | getPdg () |
| Get mutable reference to PDG particle ID hypothesis. | |
| std::int32_t & | pdg () |
| Get reference to PDG particle ID hypothesis. | |
| void | setTrajectory (const edm4eic::Trajectory &value) |
| Set the Trajectory of this track. | |
| void | addToMeasurements (const 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 (const 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 |
| 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 | ( | 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
| void edm4eic::MutableTrack::addToMeasurements | ( | const edm4eic::Measurement2D & | component | ) |
| void edm4eic::MutableTrack::addToTracks | ( | const edm4eic::Track & | component | ) |
| float & edm4eic::MutableTrack::charge | ( | ) |
Get reference to Particle charge.
| float & edm4eic::MutableTrack::chi2 | ( | ) |
Get reference to Total chi2.
| MutableTrack edm4eic::MutableTrack::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::MutableTrack::getCharge | ( | ) |
Get mutable reference to Particle charge.
| float edm4eic::MutableTrack::getCharge | ( | ) | const |
Access the Particle charge.
| float & edm4eic::MutableTrack::getChi2 | ( | ) |
Get mutable reference to Total chi2.
| 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 |
| edm4hep::Vector3f & edm4eic::MutableTrack::getMomentum | ( | ) |
Get mutable reference to Track 3-momentum at the vertex [GeV].
| const edm4hep::Vector3f & edm4eic::MutableTrack::getMomentum | ( | ) | const |
Access the Track 3-momentum at the vertex [GeV].
| std::uint32_t & edm4eic::MutableTrack::getNdf | ( | ) |
Get mutable reference to Number of degrees of freedom.
| 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 | ( | ) |
Get mutable reference to PDG particle ID hypothesis.
| std::int32_t edm4eic::MutableTrack::getPdg | ( | ) | const |
Access the PDG particle ID hypothesis.
| edm4hep::Vector3f & edm4eic::MutableTrack::getPosition | ( | ) |
Get mutable reference to Track 3-position at the vertex.
| const edm4hep::Vector3f & edm4eic::MutableTrack::getPosition | ( | ) | const |
Access the Track 3-position at the vertex.
| edm4eic::Cov6f & edm4eic::MutableTrack::getPositionMomentumCovariance | ( | ) |
Get mutable reference to Covariance matrix in basis [x,y,z,px,py,pz].
| const edm4eic::Cov6f & edm4eic::MutableTrack::getPositionMomentumCovariance | ( | ) | const |
Access the Covariance matrix in basis [x,y,z,px,py,pz].
| float & edm4eic::MutableTrack::getTime | ( | ) |
Get mutable reference to Track time at the vertex [ns].
| float edm4eic::MutableTrack::getTime | ( | ) | const |
Access the Track time at the vertex [ns].
| float & edm4eic::MutableTrack::getTimeError | ( | ) |
Get mutable reference to Error on the track vertex time.
| 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 | ( | ) |
Get mutable reference to Flag that defines the type of 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].
| std::uint32_t & edm4eic::MutableTrack::ndf | ( | ) |
Get reference to Number of degrees of freedom.
|
inline |
|
inline |
|
inline |
| MutableTrack & edm4eic::MutableTrack::operator= | ( | MutableTrack | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MutableTrack::operator== | ( | const Track & | other | ) | const |
| std::int32_t & edm4eic::MutableTrack::pdg | ( | ) |
Get reference to PDG particle ID hypothesis.
| 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 | ( | const float | charge | ) |
Set the Particle charge.
| void edm4eic::MutableTrack::setChi2 | ( | const float | chi2 | ) |
Set the Total chi2.
| void edm4eic::MutableTrack::setMomentum | ( | const edm4hep::Vector3f & | momentum | ) |
Set the Track 3-momentum at the vertex [GeV].
| void edm4eic::MutableTrack::setNdf | ( | const std::uint32_t | ndf | ) |
Set the Number of degrees of freedom.
| void edm4eic::MutableTrack::setPdg | ( | const std::int32_t | pdg | ) |
Set the PDG particle ID hypothesis.
| void edm4eic::MutableTrack::setPosition | ( | const edm4hep::Vector3f & | position | ) |
Set the Track 3-position at the vertex.
| void edm4eic::MutableTrack::setPositionMomentumCovariance | ( | const edm4eic::Cov6f & | positionMomentumCovariance | ) |
Set the Covariance matrix in basis [x,y,z,px,py,pz].
| void edm4eic::MutableTrack::setTime | ( | const float | time | ) |
Set the Track time at the vertex [ns].
| void edm4eic::MutableTrack::setTimeError | ( | const float | timeError | ) |
Set the Error on the track vertex time.
| void edm4eic::MutableTrack::setTrajectory | ( | const edm4eic::Trajectory & | value | ) |
Set the Trajectory of this track.
| void edm4eic::MutableTrack::setType | ( | const std::int32_t | type | ) |
Set the Flag that defines the type of track.
| float & edm4eic::MutableTrack::time | ( | ) |
Get reference to Track time at the vertex [ns].
| float & edm4eic::MutableTrack::timeError | ( | ) |
Get reference to Error on the track vertex time.
| 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 |
| std::int32_t & edm4eic::MutableTrack::type | ( | ) |
Get reference to Flag that defines the type of track.
|
inline |
disconnect from TrackObj instance
|
friend |
|
friend |
|
friend |
|
friend |