EICd
EIC data model
|
#include <ReconstructedParticle.h>
Public Member Functions | |
ReconstructedParticle () | |
default constructor More... | |
ReconstructedParticle (std::int32_t type, float energy, edm4hep::Vector3f momentum, edm4hep::Vector3f referencePoint, float charge, float mass, float goodnessOfPID, eicd::Cov4f covMatrix, std::int32_t PDG) | |
ReconstructedParticle (ReconstructedParticleObj *obj) | |
constructor from existing ReconstructedParticleObj More... | |
ReconstructedParticle (const ReconstructedParticle &other) | |
copy constructor More... | |
ReconstructedParticle & | operator= (ReconstructedParticle other) |
copy-assignment operator More... | |
MutableReconstructedParticle | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~ReconstructedParticle () | |
destructor More... | |
const std::int32_t & | getType () const |
Access the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues. More... | |
const float & | getEnergy () const |
Access the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally. More... | |
const edm4hep::Vector3f & | getMomentum () const |
Access the [GeV] particle momentum. Four momentum state is not kept consistent internally. More... | |
const edm4hep::Vector3f & | getReferencePoint () const |
Access the [mm] reference, i.e. where the particle has been measured. More... | |
const float & | getCharge () const |
Access the charge of the reconstructed particle. More... | |
const float & | getMass () const |
Access the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally. More... | |
const float & | getGoodnessOfPID () const |
Access the overall goodness of the PID on a scale of [0;1]. More... | |
const eicd::Cov4f & | getCovMatrix () const |
Access the cvariance matrix of the reconstructed particle 4vector (10 parameters). More... | |
const std::int32_t & | getPDG () const |
Access the PDG code for this particle. More... | |
const eicd::Vertex | getStartVertex () const |
Access the Start vertex associated to this particle. More... | |
const edm4hep::ParticleID | getParticleIDUsed () const |
Access the particle ID used for the kinematics of this particle. More... | |
unsigned int | clusters_size () const |
eicd::Cluster | getClusters (unsigned int) const |
std::vector< eicd::Cluster >::const_iterator | clusters_begin () const |
std::vector< eicd::Cluster >::const_iterator | clusters_end () const |
podio::RelationRange< eicd::Cluster > | getClusters () const |
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 |
unsigned int | particles_size () const |
eicd::ReconstructedParticle | getParticles (unsigned int) const |
std::vector< eicd::ReconstructedParticle >::const_iterator | particles_begin () const |
std::vector< eicd::ReconstructedParticle >::const_iterator | particles_end () const |
podio::RelationRange< eicd::ReconstructedParticle > | getParticles () const |
unsigned int | particleIDs_size () const |
edm4hep::ParticleID | getParticleIDs (unsigned int) 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 More... | |
void | unlink () |
disconnect from ReconstructedParticleObj instance More... | |
bool | operator== (const ReconstructedParticle &other) const |
bool | operator== (const MutableReconstructedParticle &other) const |
bool | operator< (const ReconstructedParticle &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MutableReconstructedParticle |
class | ReconstructedParticleCollection |
class | ReconstructedParticleCollectionIterator |
void | swap (ReconstructedParticle &a, ReconstructedParticle &b) |
EIC Reconstructed Particle
eicd::ReconstructedParticle::ReconstructedParticle | ( | ) |
default constructor
eicd::ReconstructedParticle::ReconstructedParticle | ( | std::int32_t | type, |
float | energy, | ||
edm4hep::Vector3f | momentum, | ||
edm4hep::Vector3f | referencePoint, | ||
float | charge, | ||
float | mass, | ||
float | goodnessOfPID, | ||
eicd::Cov4f | covMatrix, | ||
std::int32_t | PDG | ||
) |
eicd::ReconstructedParticle::ReconstructedParticle | ( | ReconstructedParticleObj * | obj | ) |
constructor from existing ReconstructedParticleObj
eicd::ReconstructedParticle::ReconstructedParticle | ( | const ReconstructedParticle & | other | ) |
copy constructor
eicd::ReconstructedParticle::~ReconstructedParticle | ( | ) |
destructor
MutableReconstructedParticle eicd::ReconstructedParticle::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
std::vector< eicd::Cluster >::const_iterator eicd::ReconstructedParticle::clusters_begin | ( | ) | const |
std::vector< eicd::Cluster >::const_iterator eicd::ReconstructedParticle::clusters_end | ( | ) | const |
unsigned int eicd::ReconstructedParticle::clusters_size | ( | ) | const |
const float & eicd::ReconstructedParticle::getCharge | ( | ) | const |
Access the charge of the reconstructed particle.
podio::RelationRange< eicd::Cluster > eicd::ReconstructedParticle::getClusters | ( | ) | const |
eicd::Cluster eicd::ReconstructedParticle::getClusters | ( | unsigned int | index | ) | const |
const eicd::Cov4f & eicd::ReconstructedParticle::getCovMatrix | ( | ) | const |
Access the cvariance matrix of the reconstructed particle 4vector (10 parameters).
const float & eicd::ReconstructedParticle::getEnergy | ( | ) | const |
Access the [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
const float & eicd::ReconstructedParticle::getGoodnessOfPID | ( | ) | const |
Access the overall goodness of the PID on a scale of [0;1].
const float & eicd::ReconstructedParticle::getMass | ( | ) | const |
Access the [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.
const edm4hep::Vector3f & eicd::ReconstructedParticle::getMomentum | ( | ) | const |
Access the [GeV] particle momentum. Four momentum state is not kept consistent internally.
const podio::ObjectID eicd::ReconstructedParticle::getObjectID | ( | ) | const |
podio::RelationRange< edm4hep::ParticleID > eicd::ReconstructedParticle::getParticleIDs | ( | ) | const |
edm4hep::ParticleID eicd::ReconstructedParticle::getParticleIDs | ( | unsigned int | index | ) | const |
const edm4hep::ParticleID eicd::ReconstructedParticle::getParticleIDUsed | ( | ) | const |
Access the particle ID used for the kinematics of this particle.
podio::RelationRange< eicd::ReconstructedParticle > eicd::ReconstructedParticle::getParticles | ( | ) | const |
eicd::ReconstructedParticle eicd::ReconstructedParticle::getParticles | ( | unsigned int | index | ) | const |
const std::int32_t & eicd::ReconstructedParticle::getPDG | ( | ) | const |
Access the PDG code for this particle.
const edm4hep::Vector3f & eicd::ReconstructedParticle::getReferencePoint | ( | ) | const |
Access the [mm] reference, i.e. where the particle has been measured.
const eicd::Vertex eicd::ReconstructedParticle::getStartVertex | ( | ) | const |
Access the Start vertex associated to this particle.
podio::RelationRange< eicd::Track > eicd::ReconstructedParticle::getTracks | ( | ) | const |
eicd::Track eicd::ReconstructedParticle::getTracks | ( | unsigned int | index | ) | const |
const std::int32_t & eicd::ReconstructedParticle::getType | ( | ) | const |
Access the type of reconstructed particle. Check/set collection parameters ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.
|
inline |
bool eicd::ReconstructedParticle::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
ReconstructedParticle & eicd::ReconstructedParticle::operator= | ( | ReconstructedParticle | other | ) |
copy-assignment operator
bool eicd::ReconstructedParticle::operator== | ( | const MutableReconstructedParticle & | other | ) | const |
|
inline |
std::vector< edm4hep::ParticleID >::const_iterator eicd::ReconstructedParticle::particleIDs_begin | ( | ) | const |
std::vector< edm4hep::ParticleID >::const_iterator eicd::ReconstructedParticle::particleIDs_end | ( | ) | const |
unsigned int eicd::ReconstructedParticle::particleIDs_size | ( | ) | const |
std::vector< eicd::ReconstructedParticle >::const_iterator eicd::ReconstructedParticle::particles_begin | ( | ) | const |
std::vector< eicd::ReconstructedParticle >::const_iterator eicd::ReconstructedParticle::particles_end | ( | ) | const |
unsigned int eicd::ReconstructedParticle::particles_size | ( | ) | const |
std::vector< eicd::Track >::const_iterator eicd::ReconstructedParticle::tracks_begin | ( | ) | const |
std::vector< eicd::Track >::const_iterator eicd::ReconstructedParticle::tracks_end | ( | ) | const |
unsigned int eicd::ReconstructedParticle::tracks_size | ( | ) | const |
|
inline |
disconnect from ReconstructedParticleObj instance
|
friend |
|
friend |
|
friend |
|
friend |