|
EICd
EIC data model
|
#include <MutableMCRecoParticleAssociation.h>
Public Member Functions | |
| MutableMCRecoParticleAssociation () | |
| default constructor More... | |
| MutableMCRecoParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
| MutableMCRecoParticleAssociation (MCRecoParticleAssociationObj *obj) | |
| constructor from existing MCRecoParticleAssociationObj More... | |
| MutableMCRecoParticleAssociation (const MutableMCRecoParticleAssociation &other) | |
| copy constructor More... | |
| MutableMCRecoParticleAssociation & | operator= (MutableMCRecoParticleAssociation other) |
| copy-assignment operator More... | |
| MutableMCRecoParticleAssociation | clone () const |
| create a mutable deep-copy of the object with identical relations More... | |
| ~MutableMCRecoParticleAssociation () | |
| destructor More... | |
| operator MCRecoParticleAssociation () const | |
| conversion to const object More... | |
| const std::uint32_t & | getSimID () const |
| Access the Index of corresponding MCParticle (position in MCParticles array) More... | |
| const std::uint32_t & | getRecID () const |
| Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) More... | |
| const float & | getWeight () const |
| Access the weight of this association. More... | |
| const eicd::ReconstructedParticle | getRec () const |
| Access the reference to the reconstructed particle. More... | |
| const edm4hep::MCParticle | getSim () const |
| Access the reference to the Monte-Carlo particle. More... | |
| void | setSimID (std::uint32_t value) |
| Set the Index of corresponding MCParticle (position in MCParticles array) More... | |
| void | setRecID (std::uint32_t value) |
| Set the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) More... | |
| void | setWeight (float value) |
| Set the weight of this association. More... | |
| void | setRec (eicd::ReconstructedParticle value) |
| Set the reference to the reconstructed particle. More... | |
| void | setSim (edm4hep::MCParticle value) |
| Set the reference to the Monte-Carlo particle. More... | |
| bool | isAvailable () const |
| check whether the object is actually available More... | |
| void | unlink () |
| disconnect from MCRecoParticleAssociationObj instance More... | |
| bool | operator== (const MutableMCRecoParticleAssociation &other) const |
| bool | operator== (const MCRecoParticleAssociation &other) const |
| bool | operator< (const MutableMCRecoParticleAssociation &other) const |
| unsigned int | id () const |
| const podio::ObjectID | getObjectID () const |
Friends | |
| class | MCRecoParticleAssociationCollection |
| class | MCRecoParticleAssociationMutableCollectionIterator |
| class | MCRecoParticleAssociation |
| void | swap (MutableMCRecoParticleAssociation &a, MutableMCRecoParticleAssociation &b) |
Used to keep track of the correspondence between MC and reconstructed particles
| eicd::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | ) |
default constructor
| eicd::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | std::uint32_t | simID, |
| std::uint32_t | recID, | ||
| float | weight | ||
| ) |
| eicd::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | MCRecoParticleAssociationObj * | obj | ) |
constructor from existing MCRecoParticleAssociationObj
| eicd::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | const MutableMCRecoParticleAssociation & | other | ) |
copy constructor
| eicd::MutableMCRecoParticleAssociation::~MutableMCRecoParticleAssociation | ( | ) |
destructor
| MutableMCRecoParticleAssociation eicd::MutableMCRecoParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
| const podio::ObjectID eicd::MutableMCRecoParticleAssociation::getObjectID | ( | ) | const |
| const eicd::ReconstructedParticle eicd::MutableMCRecoParticleAssociation::getRec | ( | ) | const |
Access the reference to the reconstructed particle.
| const std::uint32_t & eicd::MutableMCRecoParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| const edm4hep::MCParticle eicd::MutableMCRecoParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
| const std::uint32_t & eicd::MutableMCRecoParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
| const float & eicd::MutableMCRecoParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
| bool eicd::MutableMCRecoParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
| eicd::MutableMCRecoParticleAssociation::operator MCRecoParticleAssociation | ( | ) | const |
conversion to const object
|
inline |
| MutableMCRecoParticleAssociation & eicd::MutableMCRecoParticleAssociation::operator= | ( | MutableMCRecoParticleAssociation | other | ) |
copy-assignment operator
| bool eicd::MutableMCRecoParticleAssociation::operator== | ( | const MCRecoParticleAssociation & | other | ) | const |
|
inline |
| void eicd::MutableMCRecoParticleAssociation::setRec | ( | eicd::ReconstructedParticle | value | ) |
Set the reference to the reconstructed particle.
| void eicd::MutableMCRecoParticleAssociation::setRecID | ( | std::uint32_t | value | ) |
Set the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| void eicd::MutableMCRecoParticleAssociation::setSim | ( | edm4hep::MCParticle | value | ) |
Set the reference to the Monte-Carlo particle.
| void eicd::MutableMCRecoParticleAssociation::setSimID | ( | std::uint32_t | value | ) |
Set the Index of corresponding MCParticle (position in MCParticles array)
| void eicd::MutableMCRecoParticleAssociation::setWeight | ( | float | value | ) |
Set the weight of this association.
|
inline |
disconnect from MCRecoParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |