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