|
EDM4eic
EIC data model
|
#include <MutableMCRecoParticleAssociation.h>
Public Types | |
| using | object_type = MCRecoParticleAssociation |
| using | collection_type = MCRecoParticleAssociationCollection |
Public Member Functions | |
| MutableMCRecoParticleAssociation () | |
| default constructor | |
| MutableMCRecoParticleAssociation (const std::uint32_t simID, const std::uint32_t recID, const float weight) | |
| Constructor initializing all members. | |
| MutableMCRecoParticleAssociation (const MutableMCRecoParticleAssociation &other)=default | |
| copy constructor | |
| MutableMCRecoParticleAssociation & | operator= (MutableMCRecoParticleAssociation other) & |
| copy-assignment operator | |
| MutableMCRecoParticleAssociation & | operator= (MutableMCRecoParticleAssociation other) &&=delete |
| MutableMCRecoParticleAssociation | clone (bool cloneRelations=true) const |
| ~MutableMCRecoParticleAssociation ()=default | |
| destructor | |
| std::uint32_t | getSimID () const |
| Access the Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t | getRecID () const |
| Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) | |
| float | getWeight () const |
| Access the weight of this association. | |
| const edm4eic::ReconstructedParticle | getRec () const |
| Access the reference to the reconstructed particle. | |
| const edm4hep::MCParticle | getSim () const |
| Access the reference to the Monte-Carlo particle. | |
| void | setSimID (const std::uint32_t simID) |
| Set the Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t & | getSimID () |
| Get mutable reference to Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t & | simID () |
| Get reference to Index of corresponding MCParticle (position in MCParticles array) | |
| void | setRecID (const std::uint32_t recID) |
| Set the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) | |
| std::uint32_t & | getRecID () |
| Get mutable reference to Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) | |
| std::uint32_t & | recID () |
| Get reference to Index of corresponding ReconstructedParticle (position in ReconstructedParticles array) | |
| void | setWeight (const float weight) |
| Set the weight of this association. | |
| float & | getWeight () |
| Get mutable reference to weight of this association. | |
| float & | weight () |
| Get reference to weight of this association. | |
| void | setRec (const edm4eic::ReconstructedParticle &value) |
| Set the reference to the reconstructed particle. | |
| void | setSim (const edm4hep::MCParticle &value) |
| Set the reference to the Monte-Carlo particle. | |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from MCRecoParticleAssociationObj instance | |
| bool | operator== (const MutableMCRecoParticleAssociation &other) const |
| bool | operator== (const MCRecoParticleAssociation &other) const |
| bool | operator!= (const MutableMCRecoParticleAssociation &other) const |
| bool | operator!= (const MCRecoParticleAssociation &other) const |
| bool | operator< (const MutableMCRecoParticleAssociation &other) const |
| podio::ObjectID | 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
| using edm4eic::MutableMCRecoParticleAssociation::collection_type = MCRecoParticleAssociationCollection |
| edm4eic::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | ) |
default constructor
| edm4eic::MutableMCRecoParticleAssociation::MutableMCRecoParticleAssociation | ( | const std::uint32_t | simID, |
| const std::uint32_t | recID, | ||
| const float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| MutableMCRecoParticleAssociation edm4eic::MutableMCRecoParticleAssociation::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
| const podio::ObjectID edm4eic::MutableMCRecoParticleAssociation::getObjectID | ( | ) | const |
| const edm4eic::ReconstructedParticle edm4eic::MutableMCRecoParticleAssociation::getRec | ( | ) | const |
Access the reference to the reconstructed particle.
| std::uint32_t & edm4eic::MutableMCRecoParticleAssociation::getRecID | ( | ) |
Get mutable reference to Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| std::uint32_t edm4eic::MutableMCRecoParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| const edm4hep::MCParticle edm4eic::MutableMCRecoParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
| std::uint32_t & edm4eic::MutableMCRecoParticleAssociation::getSimID | ( | ) |
Get mutable reference to Index of corresponding MCParticle (position in MCParticles array)
| std::uint32_t edm4eic::MutableMCRecoParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
| float & edm4eic::MutableMCRecoParticleAssociation::getWeight | ( | ) |
Get mutable reference to weight of this association.
| float edm4eic::MutableMCRecoParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
| bool edm4eic::MutableMCRecoParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
|
inline |
| MutableMCRecoParticleAssociation & edm4eic::MutableMCRecoParticleAssociation::operator= | ( | MutableMCRecoParticleAssociation | other | ) | & |
copy-assignment operator
|
delete |
| bool edm4eic::MutableMCRecoParticleAssociation::operator== | ( | const MCRecoParticleAssociation & | other | ) | const |
|
inline |
| std::uint32_t & edm4eic::MutableMCRecoParticleAssociation::recID | ( | ) |
Get reference to Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| void edm4eic::MutableMCRecoParticleAssociation::setRec | ( | const edm4eic::ReconstructedParticle & | value | ) |
Set the reference to the reconstructed particle.
| void edm4eic::MutableMCRecoParticleAssociation::setRecID | ( | const std::uint32_t | recID | ) |
Set the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| void edm4eic::MutableMCRecoParticleAssociation::setSim | ( | const edm4hep::MCParticle & | value | ) |
Set the reference to the Monte-Carlo particle.
| void edm4eic::MutableMCRecoParticleAssociation::setSimID | ( | const std::uint32_t | simID | ) |
Set the Index of corresponding MCParticle (position in MCParticles array)
| void edm4eic::MutableMCRecoParticleAssociation::setWeight | ( | const float | weight | ) |
Set the weight of this association.
| std::uint32_t & edm4eic::MutableMCRecoParticleAssociation::simID | ( | ) |
Get reference to Index of corresponding MCParticle (position in MCParticles array)
|
inline |
disconnect from MCRecoParticleAssociationObj instance
| float & edm4eic::MutableMCRecoParticleAssociation::weight | ( | ) |
Get reference to weight of this association.
|
friend |
|
friend |
|
friend |
|
friend |