|
EDM4eic
EIC data model
|
#include <MCRecoParticleAssociation.h>
Public Types | |
| using | mutable_type = MutableMCRecoParticleAssociation |
| using | collection_type = MCRecoParticleAssociationCollection |
Public Member Functions | |
| MCRecoParticleAssociation () | |
| default constructor | |
| MCRecoParticleAssociation (const std::uint32_t simID, const std::uint32_t recID, const float weight) | |
| Constructor initializing all members. | |
| MCRecoParticleAssociation (const MCRecoParticleAssociation &other)=default | |
| copy constructor | |
| MCRecoParticleAssociation & | operator= (MCRecoParticleAssociation other) & |
| copy-assignment operator | |
| MCRecoParticleAssociation & | operator= (MCRecoParticleAssociation other) &&=delete |
| MutableMCRecoParticleAssociation | clone (bool cloneRelations=true) const |
| ~MCRecoParticleAssociation ()=default | |
| destructor | |
| MCRecoParticleAssociation (const MutableMCRecoParticleAssociation &other) | |
| converting constructor from mutable object | |
| 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. | |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from MCRecoParticleAssociationObj instance | |
| bool | operator== (const MCRecoParticleAssociation &other) const |
| bool | operator== (const MutableMCRecoParticleAssociation &other) const |
| bool | operator!= (const MCRecoParticleAssociation &other) const |
| bool | operator!= (const MutableMCRecoParticleAssociation &other) const |
| bool | operator< (const MCRecoParticleAssociation &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
| static MCRecoParticleAssociation | makeEmpty () |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::MCRecoParticleAssociation" |
Friends | |
| class | MutableMCRecoParticleAssociation |
| class | MCRecoParticleAssociationCollection |
| class | edm4eic::MCRecoParticleAssociationCollectionData |
| class | MCRecoParticleAssociationCollectionIterator |
| podio::detail::OrderKey | podio::detail::getOrderKey (const MCRecoParticleAssociation &obj) |
| void | swap (MCRecoParticleAssociation &a, MCRecoParticleAssociation &b) |
Used to keep track of the correspondence between MC and reconstructed particles
| edm4eic::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | ) |
default constructor
| edm4eic::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | const std::uint32_t | simID, |
| const std::uint32_t | recID, | ||
| const float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| edm4eic::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | const MutableMCRecoParticleAssociation & | other | ) |
converting constructor from mutable object
| MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociation::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::MCRecoParticleAssociation::getObjectID | ( | ) | const |
| const edm4eic::ReconstructedParticle edm4eic::MCRecoParticleAssociation::getRec | ( | ) | const |
Access the reference to the reconstructed particle.
| std::uint32_t edm4eic::MCRecoParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
| const edm4hep::MCParticle edm4eic::MCRecoParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
| std::uint32_t edm4eic::MCRecoParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
| float edm4eic::MCRecoParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
| bool edm4eic::MCRecoParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
|
inline |
| MCRecoParticleAssociation & edm4eic::MCRecoParticleAssociation::operator= | ( | MCRecoParticleAssociation | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MCRecoParticleAssociation::operator== | ( | const MutableMCRecoParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |