EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MutableMCRecoVertexParticleAssociation Class Reference

#include <MutableMCRecoVertexParticleAssociation.h>

Public Types

using object_type = MCRecoVertexParticleAssociation
 
using collection_type = MCRecoVertexParticleAssociationCollection
 

Public Member Functions

 MutableMCRecoVertexParticleAssociation ()
 default constructor
 
 MutableMCRecoVertexParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 Constructor initializing all members.
 
 MutableMCRecoVertexParticleAssociation (const MutableMCRecoVertexParticleAssociation &other)=default
 copy constructor
 
MutableMCRecoVertexParticleAssociationoperator= (MutableMCRecoVertexParticleAssociation other)
 copy-assignment operator
 
MutableMCRecoVertexParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableMCRecoVertexParticleAssociation ()=default
 destructor
 
 operator MCRecoVertexParticleAssociation () const
 conversion to const 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.
 
void setSimID (std::uint32_t value)
 Set the Index of corresponding MCParticle (position in MCParticles array)
 
void setRecID (std::uint32_t value)
 Set the Index of corresponding Vertex (position in Vertices array)
 
void setWeight (float value)
 Set the weight of this association.
 
void setRec (edm4eic::Vertex value)
 Set the reference to the vertex.
 
void setSim (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 MCRecoVertexParticleAssociationObj instance
 
bool operator== (const MutableMCRecoVertexParticleAssociation &other) const
 
bool operator== (const MCRecoVertexParticleAssociation &other) const
 
bool operator< (const MutableMCRecoVertexParticleAssociation &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MCRecoVertexParticleAssociationCollection
 
class MCRecoVertexParticleAssociationMutableCollectionIterator
 
class MCRecoVertexParticleAssociation
 
void swap (MutableMCRecoVertexParticleAssociation &a, MutableMCRecoVertexParticleAssociation &b)
 

Detailed Description

Association between a Vertex and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableMCRecoVertexParticleAssociation() [1/3]

edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( )

default constructor

◆ MutableMCRecoVertexParticleAssociation() [2/3]

edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( std::uint32_t simID,
std::uint32_t recID,
float weight )

Constructor initializing all members.

◆ MutableMCRecoVertexParticleAssociation() [3/3]

edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( const MutableMCRecoVertexParticleAssociation & other)
default

copy constructor

◆ ~MutableMCRecoVertexParticleAssociation()

edm4eic::MutableMCRecoVertexParticleAssociation::~MutableMCRecoVertexParticleAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoVertexParticleAssociation edm4eic::MutableMCRecoVertexParticleAssociation::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getObjectID()

const podio::ObjectID edm4eic::MutableMCRecoVertexParticleAssociation::getObjectID ( ) const

◆ getRec()

const edm4eic::Vertex edm4eic::MutableMCRecoVertexParticleAssociation::getRec ( ) const

Access the reference to the vertex.

◆ getRecID()

std::uint32_t edm4eic::MutableMCRecoVertexParticleAssociation::getRecID ( ) const

Access the Index of corresponding Vertex (position in Vertices array)

◆ getSim()

const edm4hep::MCParticle edm4eic::MutableMCRecoVertexParticleAssociation::getSim ( ) const

Access the reference to the Monte-Carlo particle.

◆ getSimID()

std::uint32_t edm4eic::MutableMCRecoVertexParticleAssociation::getSimID ( ) const

Access the Index of corresponding MCParticle (position in MCParticles array)

◆ getWeight()

float edm4eic::MutableMCRecoVertexParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

podio::ObjectID edm4eic::MutableMCRecoVertexParticleAssociation::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MutableMCRecoVertexParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoVertexParticleAssociation()

edm4eic::MutableMCRecoVertexParticleAssociation::operator MCRecoVertexParticleAssociation ( ) const

conversion to const object

◆ operator<()

bool edm4eic::MutableMCRecoVertexParticleAssociation::operator< ( const MutableMCRecoVertexParticleAssociation & other) const
inline

◆ operator=()

MutableMCRecoVertexParticleAssociation & edm4eic::MutableMCRecoVertexParticleAssociation::operator= ( MutableMCRecoVertexParticleAssociation other)

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableMCRecoVertexParticleAssociation::operator== ( const MCRecoVertexParticleAssociation & other) const

◆ operator==() [2/2]

bool edm4eic::MutableMCRecoVertexParticleAssociation::operator== ( const MutableMCRecoVertexParticleAssociation & other) const
inline

◆ setRec()

void edm4eic::MutableMCRecoVertexParticleAssociation::setRec ( edm4eic::Vertex value)

Set the reference to the vertex.

◆ setRecID()

void edm4eic::MutableMCRecoVertexParticleAssociation::setRecID ( std::uint32_t value)

Set the Index of corresponding Vertex (position in Vertices array)

◆ setSim()

void edm4eic::MutableMCRecoVertexParticleAssociation::setSim ( edm4hep::MCParticle value)

Set the reference to the Monte-Carlo particle.

◆ setSimID()

void edm4eic::MutableMCRecoVertexParticleAssociation::setSimID ( std::uint32_t value)

Set the Index of corresponding MCParticle (position in MCParticles array)

◆ setWeight()

void edm4eic::MutableMCRecoVertexParticleAssociation::setWeight ( float value)

Set the weight of this association.

◆ unlink()

void edm4eic::MutableMCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

Friends And Related Symbol Documentation

◆ MCRecoVertexParticleAssociation

friend class MCRecoVertexParticleAssociation
friend

◆ MCRecoVertexParticleAssociationCollection

◆ MCRecoVertexParticleAssociationMutableCollectionIterator

◆ swap


The documentation for this class was generated from the following files: