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