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

#include <MutableMCRecoCalorimeterHitAssociation.h>

Public Types

using object_type = MCRecoCalorimeterHitAssociation
 
using collection_type = MCRecoCalorimeterHitAssociationCollection
 

Public Member Functions

 MutableMCRecoCalorimeterHitAssociation ()
 default constructor
 
 MutableMCRecoCalorimeterHitAssociation (float weight)
 Constructor initializing all members.
 
 MutableMCRecoCalorimeterHitAssociation (const MutableMCRecoCalorimeterHitAssociation &other)=default
 copy constructor
 
MutableMCRecoCalorimeterHitAssociationoperator= (MutableMCRecoCalorimeterHitAssociation other)
 copy-assignment operator
 
MutableMCRecoCalorimeterHitAssociation clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableMCRecoCalorimeterHitAssociation ()=default
 destructor
 
 operator MCRecoCalorimeterHitAssociation () const
 conversion to const object
 
float getWeight () const
 Access the weight of this association.
 
const edm4hep::RawCalorimeterHit getRawHit () const
 Access the reference to the digitized calorimeter hit.
 
const edm4hep::SimCalorimeterHit getSimHit () const
 Access the reference to the simulated calorimeter hit.
 
void setWeight (float value)
 Set the weight of this association.
 
void setRawHit (edm4hep::RawCalorimeterHit value)
 Set the reference to the digitized calorimeter hit.
 
void setSimHit (edm4hep::SimCalorimeterHit value)
 Set the reference to the simulated calorimeter hit.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from MCRecoCalorimeterHitAssociationObj instance
 
bool operator== (const MutableMCRecoCalorimeterHitAssociation &other) const
 
bool operator== (const MCRecoCalorimeterHitAssociation &other) const
 
bool operator< (const MutableMCRecoCalorimeterHitAssociation &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MCRecoCalorimeterHitAssociationCollection
 
class MCRecoCalorimeterHitAssociationMutableCollectionIterator
 
class MCRecoCalorimeterHitAssociation
 
void swap (MutableMCRecoCalorimeterHitAssociation &a, MutableMCRecoCalorimeterHitAssociation &b)
 

Detailed Description

Association between a RawCalorimeterHit and a SimCalorimeterHit

Author
: S. Rahman

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableMCRecoCalorimeterHitAssociation() [1/3]

edm4eic::MutableMCRecoCalorimeterHitAssociation::MutableMCRecoCalorimeterHitAssociation ( )

default constructor

◆ MutableMCRecoCalorimeterHitAssociation() [2/3]

edm4eic::MutableMCRecoCalorimeterHitAssociation::MutableMCRecoCalorimeterHitAssociation ( float weight)

Constructor initializing all members.

◆ MutableMCRecoCalorimeterHitAssociation() [3/3]

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

copy constructor

◆ ~MutableMCRecoCalorimeterHitAssociation()

edm4eic::MutableMCRecoCalorimeterHitAssociation::~MutableMCRecoCalorimeterHitAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoCalorimeterHitAssociation edm4eic::MutableMCRecoCalorimeterHitAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRawHit()

const edm4hep::RawCalorimeterHit edm4eic::MutableMCRecoCalorimeterHitAssociation::getRawHit ( ) const

Access the reference to the digitized calorimeter hit.

◆ getSimHit()

const edm4hep::SimCalorimeterHit edm4eic::MutableMCRecoCalorimeterHitAssociation::getSimHit ( ) const

Access the reference to the simulated calorimeter hit.

◆ getWeight()

float edm4eic::MutableMCRecoCalorimeterHitAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableMCRecoCalorimeterHitAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoCalorimeterHitAssociation()

edm4eic::MutableMCRecoCalorimeterHitAssociation::operator MCRecoCalorimeterHitAssociation ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableMCRecoCalorimeterHitAssociation::operator== ( const MCRecoCalorimeterHitAssociation & other) const

◆ operator==() [2/2]

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

◆ setRawHit()

void edm4eic::MutableMCRecoCalorimeterHitAssociation::setRawHit ( edm4hep::RawCalorimeterHit value)

Set the reference to the digitized calorimeter hit.

◆ setSimHit()

void edm4eic::MutableMCRecoCalorimeterHitAssociation::setSimHit ( edm4hep::SimCalorimeterHit value)

Set the reference to the simulated calorimeter hit.

◆ setWeight()

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

Set the weight of this association.

◆ unlink()

void edm4eic::MutableMCRecoCalorimeterHitAssociation::unlink ( )
inline

disconnect from MCRecoCalorimeterHitAssociationObj instance

Friends And Related Symbol Documentation

◆ MCRecoCalorimeterHitAssociation

friend class MCRecoCalorimeterHitAssociation
friend

◆ MCRecoCalorimeterHitAssociationCollection

◆ MCRecoCalorimeterHitAssociationMutableCollectionIterator

◆ swap


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