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
 default constructor
 MutableMCRecoVertexParticleAssociation (const float weight)
 Constructor initializing all members.
 MutableMCRecoVertexParticleAssociation (const MutableMCRecoVertexParticleAssociation &other)=default
 copy constructor
MutableMCRecoVertexParticleAssociationoperator= (MutableMCRecoVertexParticleAssociation other) &
 copy-assignment operator
MutableMCRecoVertexParticleAssociationoperator= (MutableMCRecoVertexParticleAssociation other) &&=delete
MutableMCRecoVertexParticleAssociation clone (bool cloneRelations=true) const
 ~MutableMCRecoVertexParticleAssociation ()=default
 destructor
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 setWeight (const float weight)
 Set the weight of this association.
float & getWeight ()
 Get mutable reference to weight of this association.
float & weight ()
 Get reference to weight of this association.
void setRec (const edm4eic::Vertex &value)
 Set the reference to the vertex.
void setSim (const edm4hep::MCParticle &value)
 Set the reference to the Monte-Carlo particle.
int getSimID () const
int getRecID () const
void setSimID (int)
void setRecID (int)
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
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

default constructor

◆ MutableMCRecoVertexParticleAssociation() [2/3]

edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( const 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 ( 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::MutableMCRecoVertexParticleAssociation::getObjectID ( ) const

◆ getRec()

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

Access the reference to the vertex.

◆ getRecID()

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

◆ getWeight() [1/2]

float & edm4eic::MutableMCRecoVertexParticleAssociation::getWeight ( )

Get mutable reference to weight of this association.

◆ getWeight() [2/2]

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

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ 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 ( const edm4eic::Vertex & value)

Set the reference to the vertex.

◆ setRecID()

void edm4eic::MutableMCRecoVertexParticleAssociation::setRecID ( int )
inline

◆ setSim()

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

Set the reference to the Monte-Carlo particle.

◆ setSimID()

void edm4eic::MutableMCRecoVertexParticleAssociation::setSimID ( int )
inline

◆ setWeight()

void edm4eic::MutableMCRecoVertexParticleAssociation::setWeight ( const float weight)

Set the weight of this association.

◆ unlink()

void edm4eic::MutableMCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

◆ weight()

float & edm4eic::MutableMCRecoVertexParticleAssociation::weight ( )

Get reference to weight of this association.

◆ MCRecoVertexParticleAssociation

friend class MCRecoVertexParticleAssociation
friend

◆ MCRecoVertexParticleAssociationCollection

friend class MCRecoVertexParticleAssociationCollection
friend

◆ MCRecoVertexParticleAssociationMutableCollectionIterator

friend class MCRecoVertexParticleAssociationMutableCollectionIterator
friend

◆ swap


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