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
 default constructor
 MCRecoVertexParticleAssociation (const float weight)
 Constructor initializing all members.
 MCRecoVertexParticleAssociation (const MCRecoVertexParticleAssociation &other)=default
 copy constructor
MCRecoVertexParticleAssociationoperator= (MCRecoVertexParticleAssociation other) &
 copy-assignment operator
MCRecoVertexParticleAssociationoperator= (MCRecoVertexParticleAssociation other) &&=delete
MutableMCRecoVertexParticleAssociation clone (bool cloneRelations=true) const
 ~MCRecoVertexParticleAssociation ()=default
 destructor
 MCRecoVertexParticleAssociation (const MutableMCRecoVertexParticleAssociation &other)
 converting constructor from mutable object
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.
int getSimID () const
int getRecID () const
bool isAvailable () const
 check whether the object is actually available
void unlink ()
 disconnect from MCRecoVertexParticleAssociationObj instance
constexpr bool operator== (const MCRecoVertexParticleAssociation &other) const
bool operator== (const MutableMCRecoVertexParticleAssociation &other) const
constexpr 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)

Detailed Description

Association between a Vertex and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoVertexParticleAssociation() [1/4]

edm4eic::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( )
default

default constructor

◆ MCRecoVertexParticleAssociation() [2/4]

edm4eic::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( const float weight)

Constructor initializing all members.

◆ MCRecoVertexParticleAssociation() [3/4]

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

copy constructor

◆ ~MCRecoVertexParticleAssociation()

edm4eic::MCRecoVertexParticleAssociation::~MCRecoVertexParticleAssociation ( )
default

destructor

◆ MCRecoVertexParticleAssociation() [4/4]

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

converting constructor from mutable object

Member Function Documentation

◆ clone()

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

◆ getObjectID()

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

◆ getRec()

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

Access the reference to the vertex.

◆ getRecID()

int edm4eic::MCRecoVertexParticleAssociation::getRecID ( ) const
inline

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

int edm4eic::MCRecoVertexParticleAssociation::getSimID ( ) const
inline

◆ 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!=() [1/2]

bool edm4eic::MCRecoVertexParticleAssociation::operator!= ( const MCRecoVertexParticleAssociation & other) const
inlineconstexpr

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::MCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

◆ edm4eic::MCRecoVertexParticleAssociationCollectionData

◆ MCRecoVertexParticleAssociationCollection

friend class MCRecoVertexParticleAssociationCollection
friend

◆ MCRecoVertexParticleAssociationCollectionIterator

friend class MCRecoVertexParticleAssociationCollectionIterator
friend

◆ MutableMCRecoVertexParticleAssociation

friend class MutableMCRecoVertexParticleAssociation
friend

◆ podio::detail::getOrderKey

podio::detail::OrderKey podio::detail::getOrderKey ( const MCRecoVertexParticleAssociation & obj)
friend

◆ swap

Member Data Documentation

◆ typeName

std::string_view edm4eic::MCRecoVertexParticleAssociation::typeName = "edm4eic::MCRecoVertexParticleAssociation"
staticconstexpr

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