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 (bool cloneRelations=true) const
 
 ~MutableMCRecoCalorimeterHitAssociation ()=default
 destructor
 
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.
 
float & getWeight ()
 Get mutable reference to weight of this association.
 
float & weight ()
 Get reference to weight of this association.
 
void setRawHit (const edm4hep::RawCalorimeterHit &value)
 Set the reference to the digitized calorimeter hit.
 
void setSimHit (const 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
 
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 ( 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::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() [1/2]

float & edm4eic::MutableMCRecoCalorimeterHitAssociation::getWeight ( )

Get mutable reference to weight of this association.

◆ getWeight() [2/2]

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

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

◆ operator!=() [2/2]

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

◆ 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 ( const edm4hep::RawCalorimeterHit & value)

Set the reference to the digitized calorimeter hit.

◆ setSimHit()

void edm4eic::MutableMCRecoCalorimeterHitAssociation::setSimHit ( const 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

◆ weight()

float & edm4eic::MutableMCRecoCalorimeterHitAssociation::weight ( )

Get reference to weight of this association.

Friends And Related Symbol Documentation

◆ MCRecoCalorimeterHitAssociation

friend class MCRecoCalorimeterHitAssociation
friend

◆ MCRecoCalorimeterHitAssociationCollection

◆ MCRecoCalorimeterHitAssociationMutableCollectionIterator

◆ swap


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