| EDM4eic
    EIC data model | 
#include <MutableReconstructedParticle.h>
| Public Types | |
| using | object_type = ReconstructedParticle | 
| using | collection_type = ReconstructedParticleCollection | 
| Public Member Functions | |
| MutableReconstructedParticle () | |
| default constructor | |
| MutableReconstructedParticle (const std::int32_t type, const float energy, const edm4hep::Vector3f &momentum, const edm4hep::Vector3f &referencePoint, const float charge, const float mass, const float goodnessOfPID, const edm4eic::Cov4f &covMatrix, const std::int32_t PDG) | |
| Constructor initializing all members. | |
| MutableReconstructedParticle (const MutableReconstructedParticle &other)=default | |
| copy constructor | |
| MutableReconstructedParticle & | operator= (MutableReconstructedParticle other) & | 
| copy-assignment operator | |
| MutableReconstructedParticle & | operator= (MutableReconstructedParticle other) &&=delete | 
| MutableReconstructedParticle | clone (bool cloneRelations=true) const | 
| ~MutableReconstructedParticle ()=default | |
| destructor | |
| std::int32_t | getType () const | 
| Access the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues. | |
| float | getEnergy () const | 
| Access the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally. | |
| const edm4hep::Vector3f & | getMomentum () const | 
| Access the [GeV] particle momentum. Four momentum state is not kept consistent internally. | |
| const edm4hep::Vector3f & | getReferencePoint () const | 
| Access the [mm] reference, i.e. where the particle has been measured. | |
| float | getCharge () const | 
| Access the charge of the reconstructed particle. | |
| float | getMass () const | 
| Access the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally. | |
| float | getGoodnessOfPID () const | 
| Access the overall goodness of the PID on a scale of [0;1]. | |
| const edm4eic::Cov4f & | getCovMatrix () const | 
| Access the covariance matrix of the reconstructed particle 4vector (10 parameters). | |
| std::int32_t | getPDG () const | 
| Access the PDG code for this particle. | |
| const edm4eic::Vertex | getStartVertex () const | 
| Access the Start vertex associated to this particle. | |
| const edm4hep::ParticleID | getParticleIDUsed () const | 
| Access the particle ID used for the kinematics of this particle. | |
| void | setType (const std::int32_t type) | 
| Set the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues. | |
| std::int32_t & | getType () | 
| Get mutable reference to type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues. | |
| std::int32_t & | type () | 
| Get reference to type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues. | |
| void | setEnergy (const float energy) | 
| Set the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally. | |
| float & | getEnergy () | 
| Get mutable reference to [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally. | |
| float & | energy () | 
| Get reference to [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally. | |
| void | setMomentum (const edm4hep::Vector3f &momentum) | 
| Set the [GeV] particle momentum. Four momentum state is not kept consistent internally. | |
| edm4hep::Vector3f & | getMomentum () | 
| Get mutable reference to [GeV] particle momentum. Four momentum state is not kept consistent internally. | |
| edm4hep::Vector3f & | momentum () | 
| Get reference to [GeV] particle momentum. Four momentum state is not kept consistent internally. | |
| void | setReferencePoint (const edm4hep::Vector3f &referencePoint) | 
| Set the [mm] reference, i.e. where the particle has been measured. | |
| edm4hep::Vector3f & | getReferencePoint () | 
| Get mutable reference to [mm] reference, i.e. where the particle has been measured. | |
| edm4hep::Vector3f & | referencePoint () | 
| Get reference to [mm] reference, i.e. where the particle has been measured. | |
| void | setCharge (const float charge) | 
| Set the charge of the reconstructed particle. | |
| float & | getCharge () | 
| Get mutable reference to charge of the reconstructed particle. | |
| float & | charge () | 
| Get reference to charge of the reconstructed particle. | |
| void | setMass (const float mass) | 
| Set the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally. | |
| float & | getMass () | 
| Get mutable reference to [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally. | |
| float & | mass () | 
| Get reference to [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally. | |
| void | setGoodnessOfPID (const float goodnessOfPID) | 
| Set the overall goodness of the PID on a scale of [0;1]. | |
| float & | getGoodnessOfPID () | 
| Get mutable reference to overall goodness of the PID on a scale of [0;1]. | |
| float & | goodnessOfPID () | 
| Get reference to overall goodness of the PID on a scale of [0;1]. | |
| void | setCovMatrix (const edm4eic::Cov4f &covMatrix) | 
| Set the covariance matrix of the reconstructed particle 4vector (10 parameters). | |
| edm4eic::Cov4f & | getCovMatrix () | 
| Get mutable reference to covariance matrix of the reconstructed particle 4vector (10 parameters). | |
| edm4eic::Cov4f & | covMatrix () | 
| Get reference to covariance matrix of the reconstructed particle 4vector (10 parameters). | |
| void | setPDG (const std::int32_t PDG) | 
| Set the PDG code for this particle. | |
| std::int32_t & | getPDG () | 
| Get mutable reference to PDG code for this particle. | |
| std::int32_t & | PDG () | 
| Get reference to PDG code for this particle. | |
| void | setStartVertex (const edm4eic::Vertex &value) | 
| Set the Start vertex associated to this particle. | |
| void | setParticleIDUsed (const edm4hep::ParticleID &value) | 
| Set the particle ID used for the kinematics of this particle. | |
| void | addToClusters (const edm4eic::Cluster &) | 
| std::size_t | clusters_size () const | 
| edm4eic::Cluster | getClusters (std::size_t) const | 
| std::vector< edm4eic::Cluster >::const_iterator | clusters_begin () const | 
| std::vector< edm4eic::Cluster >::const_iterator | clusters_end () const | 
| podio::RelationRange< edm4eic::Cluster > | getClusters () 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 | 
| void | addToParticles (const edm4eic::ReconstructedParticle &) | 
| std::size_t | particles_size () const | 
| edm4eic::ReconstructedParticle | getParticles (std::size_t) const | 
| std::vector< edm4eic::ReconstructedParticle >::const_iterator | particles_begin () const | 
| std::vector< edm4eic::ReconstructedParticle >::const_iterator | particles_end () const | 
| podio::RelationRange< edm4eic::ReconstructedParticle > | getParticles () const | 
| void | addToParticleIDs (const edm4hep::ParticleID &) | 
| std::size_t | particleIDs_size () const | 
| edm4hep::ParticleID | getParticleIDs (std::size_t) const | 
| std::vector< edm4hep::ParticleID >::const_iterator | particleIDs_begin () const | 
| std::vector< edm4hep::ParticleID >::const_iterator | particleIDs_end () const | 
| podio::RelationRange< edm4hep::ParticleID > | getParticleIDs () const | 
| bool | isCompound () const | 
| bool | isAvailable () const | 
| check whether the object is actually available | |
| void | unlink () | 
| disconnect from ReconstructedParticleObj instance | |
| bool | operator== (const MutableReconstructedParticle &other) const | 
| bool | operator== (const ReconstructedParticle &other) const | 
| bool | operator!= (const MutableReconstructedParticle &other) const | 
| bool | operator!= (const ReconstructedParticle &other) const | 
| bool | operator< (const MutableReconstructedParticle &other) const | 
| podio::ObjectID | id () const | 
| const podio::ObjectID | getObjectID () const | 
| Friends | |
| class | ReconstructedParticleCollection | 
| class | ReconstructedParticleMutableCollectionIterator | 
| class | ReconstructedParticle | 
| void | swap (MutableReconstructedParticle &a, MutableReconstructedParticle &b) | 
EIC Reconstructed Particle
| edm4eic::MutableReconstructedParticle::MutableReconstructedParticle | ( | ) | 
default constructor
| edm4eic::MutableReconstructedParticle::MutableReconstructedParticle | ( | const std::int32_t | type, | 
| const float | energy, | ||
| const edm4hep::Vector3f & | momentum, | ||
| const edm4hep::Vector3f & | referencePoint, | ||
| const float | charge, | ||
| const float | mass, | ||
| const float | goodnessOfPID, | ||
| const edm4eic::Cov4f & | covMatrix, | ||
| const std::int32_t | PDG ) | 
Constructor initializing all members.
| 
 | default | 
copy constructor
| 
 | default | 
destructor
| void edm4eic::MutableReconstructedParticle::addToClusters | ( | const edm4eic::Cluster & | component | ) | 
| void edm4eic::MutableReconstructedParticle::addToParticleIDs | ( | const edm4hep::ParticleID & | component | ) | 
| void edm4eic::MutableReconstructedParticle::addToParticles | ( | const edm4eic::ReconstructedParticle & | component | ) | 
| void edm4eic::MutableReconstructedParticle::addToTracks | ( | const edm4eic::Track & | component | ) | 
| float & edm4eic::MutableReconstructedParticle::charge | ( | ) | 
Get reference to charge of the reconstructed particle.
| MutableReconstructedParticle edm4eic::MutableReconstructedParticle::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
| std::vector< edm4eic::Cluster >::const_iterator edm4eic::MutableReconstructedParticle::clusters_begin | ( | ) | const | 
| std::vector< edm4eic::Cluster >::const_iterator edm4eic::MutableReconstructedParticle::clusters_end | ( | ) | const | 
| std::size_t edm4eic::MutableReconstructedParticle::clusters_size | ( | ) | const | 
| edm4eic::Cov4f & edm4eic::MutableReconstructedParticle::covMatrix | ( | ) | 
Get reference to covariance matrix of the reconstructed particle 4vector (10 parameters).
| float & edm4eic::MutableReconstructedParticle::energy | ( | ) | 
Get reference to [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
| float & edm4eic::MutableReconstructedParticle::getCharge | ( | ) | 
Get mutable reference to charge of the reconstructed particle.
| float edm4eic::MutableReconstructedParticle::getCharge | ( | ) | const | 
Access the charge of the reconstructed particle.
| podio::RelationRange< edm4eic::Cluster > edm4eic::MutableReconstructedParticle::getClusters | ( | ) | const | 
| edm4eic::Cluster edm4eic::MutableReconstructedParticle::getClusters | ( | std::size_t | index | ) | const | 
| edm4eic::Cov4f & edm4eic::MutableReconstructedParticle::getCovMatrix | ( | ) | 
Get mutable reference to covariance matrix of the reconstructed particle 4vector (10 parameters).
| const edm4eic::Cov4f & edm4eic::MutableReconstructedParticle::getCovMatrix | ( | ) | const | 
Access the covariance matrix of the reconstructed particle 4vector (10 parameters).
| float & edm4eic::MutableReconstructedParticle::getEnergy | ( | ) | 
Get mutable reference to [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
| float edm4eic::MutableReconstructedParticle::getEnergy | ( | ) | const | 
Access the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
| float & edm4eic::MutableReconstructedParticle::getGoodnessOfPID | ( | ) | 
Get mutable reference to overall goodness of the PID on a scale of [0;1].
| float edm4eic::MutableReconstructedParticle::getGoodnessOfPID | ( | ) | const | 
Access the overall goodness of the PID on a scale of [0;1].
| float & edm4eic::MutableReconstructedParticle::getMass | ( | ) | 
Get mutable reference to [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.
| float edm4eic::MutableReconstructedParticle::getMass | ( | ) | const | 
Access the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.
| edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::getMomentum | ( | ) | 
Get mutable reference to [GeV] particle momentum. Four momentum state is not kept consistent internally.
| const edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::getMomentum | ( | ) | const | 
Access the [GeV] particle momentum. Four momentum state is not kept consistent internally.
| const podio::ObjectID edm4eic::MutableReconstructedParticle::getObjectID | ( | ) | const | 
| podio::RelationRange< edm4hep::ParticleID > edm4eic::MutableReconstructedParticle::getParticleIDs | ( | ) | const | 
| edm4hep::ParticleID edm4eic::MutableReconstructedParticle::getParticleIDs | ( | std::size_t | index | ) | const | 
| const edm4hep::ParticleID edm4eic::MutableReconstructedParticle::getParticleIDUsed | ( | ) | const | 
Access the particle ID used for the kinematics of this particle.
| podio::RelationRange< edm4eic::ReconstructedParticle > edm4eic::MutableReconstructedParticle::getParticles | ( | ) | const | 
| edm4eic::ReconstructedParticle edm4eic::MutableReconstructedParticle::getParticles | ( | std::size_t | index | ) | const | 
| std::int32_t & edm4eic::MutableReconstructedParticle::getPDG | ( | ) | 
Get mutable reference to PDG code for this particle.
| std::int32_t edm4eic::MutableReconstructedParticle::getPDG | ( | ) | const | 
Access the PDG code for this particle.
| edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::getReferencePoint | ( | ) | 
Get mutable reference to [mm] reference, i.e. where the particle has been measured.
| const edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::getReferencePoint | ( | ) | const | 
Access the [mm] reference, i.e. where the particle has been measured.
| const edm4eic::Vertex edm4eic::MutableReconstructedParticle::getStartVertex | ( | ) | const | 
Access the Start vertex associated to this particle.
| podio::RelationRange< edm4eic::Track > edm4eic::MutableReconstructedParticle::getTracks | ( | ) | const | 
| edm4eic::Track edm4eic::MutableReconstructedParticle::getTracks | ( | std::size_t | index | ) | const | 
| std::int32_t & edm4eic::MutableReconstructedParticle::getType | ( | ) | 
Get mutable reference to type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.
| std::int32_t edm4eic::MutableReconstructedParticle::getType | ( | ) | const | 
Access the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.
| float & edm4eic::MutableReconstructedParticle::goodnessOfPID | ( | ) | 
Get reference to overall goodness of the PID on a scale of [0;1].
| 
 | inline | 
| bool edm4eic::MutableReconstructedParticle::isAvailable | ( | ) | const | 
check whether the object is actually available
| 
 | inline | 
| float & edm4eic::MutableReconstructedParticle::mass | ( | ) | 
Get reference to [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.
| edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::momentum | ( | ) | 
Get reference to [GeV] particle momentum. Four momentum state is not kept consistent internally.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| MutableReconstructedParticle & edm4eic::MutableReconstructedParticle::operator= | ( | MutableReconstructedParticle | other | ) | & | 
copy-assignment operator
| 
 | delete | 
| 
 | inline | 
| bool edm4eic::MutableReconstructedParticle::operator== | ( | const ReconstructedParticle & | other | ) | const | 
| std::vector< edm4hep::ParticleID >::const_iterator edm4eic::MutableReconstructedParticle::particleIDs_begin | ( | ) | const | 
| std::vector< edm4hep::ParticleID >::const_iterator edm4eic::MutableReconstructedParticle::particleIDs_end | ( | ) | const | 
| std::size_t edm4eic::MutableReconstructedParticle::particleIDs_size | ( | ) | const | 
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableReconstructedParticle::particles_begin | ( | ) | const | 
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableReconstructedParticle::particles_end | ( | ) | const | 
| std::size_t edm4eic::MutableReconstructedParticle::particles_size | ( | ) | const | 
| std::int32_t & edm4eic::MutableReconstructedParticle::PDG | ( | ) | 
Get reference to PDG code for this particle.
| edm4hep::Vector3f & edm4eic::MutableReconstructedParticle::referencePoint | ( | ) | 
Get reference to [mm] reference, i.e. where the particle has been measured.
| void edm4eic::MutableReconstructedParticle::setCharge | ( | const float | charge | ) | 
Set the charge of the reconstructed particle.
| void edm4eic::MutableReconstructedParticle::setCovMatrix | ( | const edm4eic::Cov4f & | covMatrix | ) | 
Set the covariance matrix of the reconstructed particle 4vector (10 parameters).
| void edm4eic::MutableReconstructedParticle::setEnergy | ( | const float | energy | ) | 
Set the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
| void edm4eic::MutableReconstructedParticle::setGoodnessOfPID | ( | const float | goodnessOfPID | ) | 
Set the overall goodness of the PID on a scale of [0;1].
| void edm4eic::MutableReconstructedParticle::setMass | ( | const float | mass | ) | 
Set the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.
| void edm4eic::MutableReconstructedParticle::setMomentum | ( | const edm4hep::Vector3f & | momentum | ) | 
Set the [GeV] particle momentum. Four momentum state is not kept consistent internally.
| void edm4eic::MutableReconstructedParticle::setParticleIDUsed | ( | const edm4hep::ParticleID & | value | ) | 
Set the particle ID used for the kinematics of this particle.
| void edm4eic::MutableReconstructedParticle::setPDG | ( | const std::int32_t | PDG | ) | 
Set the PDG code for this particle.
| void edm4eic::MutableReconstructedParticle::setReferencePoint | ( | const edm4hep::Vector3f & | referencePoint | ) | 
Set the [mm] reference, i.e. where the particle has been measured.
| void edm4eic::MutableReconstructedParticle::setStartVertex | ( | const edm4eic::Vertex & | value | ) | 
Set the Start vertex associated to this particle.
| void edm4eic::MutableReconstructedParticle::setType | ( | const std::int32_t | type | ) | 
Set the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.
| std::vector< edm4eic::Track >::const_iterator edm4eic::MutableReconstructedParticle::tracks_begin | ( | ) | const | 
| std::vector< edm4eic::Track >::const_iterator edm4eic::MutableReconstructedParticle::tracks_end | ( | ) | const | 
| std::size_t edm4eic::MutableReconstructedParticle::tracks_size | ( | ) | const | 
| std::int32_t & edm4eic::MutableReconstructedParticle::type | ( | ) | 
Get reference to type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.
| 
 | inline | 
disconnect from ReconstructedParticleObj instance
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend |