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

#include <MutableMCRecoClusterParticleAssociation.h>

Public Types

using object_type = MCRecoClusterParticleAssociation
 
using collection_type = MCRecoClusterParticleAssociationCollection
 

Public Member Functions

 MutableMCRecoClusterParticleAssociation ()=default
 default constructor
 
 MutableMCRecoClusterParticleAssociation (const float weight)
 Constructor initializing all members.
 
 MutableMCRecoClusterParticleAssociation (const MutableMCRecoClusterParticleAssociation &other)=default
 copy constructor
 
MutableMCRecoClusterParticleAssociationoperator= (MutableMCRecoClusterParticleAssociation other) &
 copy-assignment operator
 
MutableMCRecoClusterParticleAssociationoperator= (MutableMCRecoClusterParticleAssociation other) &&=delete
 
MutableMCRecoClusterParticleAssociation clone (bool cloneRelations=true) const
 
 ~MutableMCRecoClusterParticleAssociation ()=default
 destructor
 
float getWeight () const
 Access the weight of this association.
 
const edm4eic::Cluster getRec () const
 Access the reference to the cluster.
 
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::Cluster &value)
 Set the reference to the cluster.
 
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 MCRecoClusterParticleAssociationObj instance
 
bool operator== (const MutableMCRecoClusterParticleAssociation &other) const
 
bool operator== (const MCRecoClusterParticleAssociation &other) const
 
bool operator!= (const MutableMCRecoClusterParticleAssociation &other) const
 
bool operator!= (const MCRecoClusterParticleAssociation &other) const
 
bool operator< (const MutableMCRecoClusterParticleAssociation &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MCRecoClusterParticleAssociationCollection
 
class MCRecoClusterParticleAssociationMutableCollectionIterator
 
class MCRecoClusterParticleAssociation
 
void swap (MutableMCRecoClusterParticleAssociation &a, MutableMCRecoClusterParticleAssociation &b)
 

Detailed Description

Association between a Cluster and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableMCRecoClusterParticleAssociation() [1/3]

edm4eic::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation ( )
default

default constructor

◆ MutableMCRecoClusterParticleAssociation() [2/3]

edm4eic::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation ( const float weight)

Constructor initializing all members.

◆ MutableMCRecoClusterParticleAssociation() [3/3]

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

copy constructor

◆ ~MutableMCRecoClusterParticleAssociation()

edm4eic::MutableMCRecoClusterParticleAssociation::~MutableMCRecoClusterParticleAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

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

◆ getRec()

const edm4eic::Cluster edm4eic::MutableMCRecoClusterParticleAssociation::getRec ( ) const

Access the reference to the cluster.

◆ getRecID()

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

◆ getWeight() [1/2]

float & edm4eic::MutableMCRecoClusterParticleAssociation::getWeight ( )

Get mutable reference to weight of this association.

◆ getWeight() [2/2]

float edm4eic::MutableMCRecoClusterParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableMCRecoClusterParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

bool edm4eic::MutableMCRecoClusterParticleAssociation::operator== ( const MCRecoClusterParticleAssociation & other) const

◆ operator==() [2/2]

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

◆ setRec()

void edm4eic::MutableMCRecoClusterParticleAssociation::setRec ( const edm4eic::Cluster & value)

Set the reference to the cluster.

◆ setRecID()

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

◆ setSim()

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

Set the reference to the Monte-Carlo particle.

◆ setSimID()

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

◆ setWeight()

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

Set the weight of this association.

◆ unlink()

void edm4eic::MutableMCRecoClusterParticleAssociation::unlink ( )
inline

disconnect from MCRecoClusterParticleAssociationObj instance

◆ weight()

float & edm4eic::MutableMCRecoClusterParticleAssociation::weight ( )

Get reference to weight of this association.

Friends And Related Symbol Documentation

◆ MCRecoClusterParticleAssociation

friend class MCRecoClusterParticleAssociation
friend

◆ MCRecoClusterParticleAssociationCollection

◆ MCRecoClusterParticleAssociationMutableCollectionIterator

◆ swap


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