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

#include <MCRecoVertexParticleAssociation.h>

Public Types

using mutable_type = MutableMCRecoVertexParticleAssociation
 
using collection_type = MCRecoVertexParticleAssociationCollection
 

Public Member Functions

 MCRecoVertexParticleAssociation ()
 default constructor
 
 MCRecoVertexParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 Constructor initializing all members.
 
 MCRecoVertexParticleAssociation (const MCRecoVertexParticleAssociation &other)=default
 copy constructor
 
MCRecoVertexParticleAssociationoperator= (MCRecoVertexParticleAssociation other)
 copy-assignment operator
 
MutableMCRecoVertexParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MCRecoVertexParticleAssociation ()=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 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
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static MCRecoVertexParticleAssociation makeEmpty ()
 

Friends

class MutableMCRecoVertexParticleAssociation
 
class MCRecoVertexParticleAssociationCollection
 
class edm4eic::MCRecoVertexParticleAssociationCollectionData
 
class MCRecoVertexParticleAssociationCollectionIterator
 
void swap (MCRecoVertexParticleAssociation &a, MCRecoVertexParticleAssociation &b)
 

Detailed Description

Association between a Vertex and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoVertexParticleAssociation() [1/3]

edm4eic::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( )

default constructor

◆ MCRecoVertexParticleAssociation() [2/3]

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

Constructor initializing all members.

◆ MCRecoVertexParticleAssociation() [3/3]

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

copy constructor

◆ ~MCRecoVertexParticleAssociation()

edm4eic::MCRecoVertexParticleAssociation::~MCRecoVertexParticleAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoVertexParticleAssociation edm4eic::MCRecoVertexParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const edm4eic::Vertex edm4eic::MCRecoVertexParticleAssociation::getRec ( ) const

Access the reference to the vertex.

◆ getRecID()

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

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

float edm4eic::MCRecoVertexParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MCRecoVertexParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

MCRecoVertexParticleAssociation edm4eic::MCRecoVertexParticleAssociation::makeEmpty ( )
static

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::MCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

Friends And Related Symbol Documentation

◆ edm4eic::MCRecoVertexParticleAssociationCollectionData

◆ MCRecoVertexParticleAssociationCollection

◆ MCRecoVertexParticleAssociationCollectionIterator

◆ MutableMCRecoVertexParticleAssociation

◆ swap


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