EDM4eic
EIC data model
|
#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 | |
MutableMCRecoCalorimeterHitAssociation & | operator= (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 |
Association between a RawCalorimeterHit and a SimCalorimeterHit
using edm4eic::MutableMCRecoCalorimeterHitAssociation::collection_type = MCRecoCalorimeterHitAssociationCollection |
using edm4eic::MutableMCRecoCalorimeterHitAssociation::object_type = MCRecoCalorimeterHitAssociation |
edm4eic::MutableMCRecoCalorimeterHitAssociation::MutableMCRecoCalorimeterHitAssociation | ( | ) |
default constructor
edm4eic::MutableMCRecoCalorimeterHitAssociation::MutableMCRecoCalorimeterHitAssociation | ( | float | weight | ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMCRecoCalorimeterHitAssociation edm4eic::MutableMCRecoCalorimeterHitAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const podio::ObjectID edm4eic::MutableMCRecoCalorimeterHitAssociation::getObjectID | ( | ) | const |
const edm4hep::RawCalorimeterHit edm4eic::MutableMCRecoCalorimeterHitAssociation::getRawHit | ( | ) | const |
Access the reference to the digitized calorimeter hit.
const edm4hep::SimCalorimeterHit edm4eic::MutableMCRecoCalorimeterHitAssociation::getSimHit | ( | ) | const |
Access the reference to the simulated calorimeter hit.
float edm4eic::MutableMCRecoCalorimeterHitAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool edm4eic::MutableMCRecoCalorimeterHitAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableMCRecoCalorimeterHitAssociation::operator MCRecoCalorimeterHitAssociation | ( | ) | const |
conversion to const object
|
inline |
MutableMCRecoCalorimeterHitAssociation & edm4eic::MutableMCRecoCalorimeterHitAssociation::operator= | ( | MutableMCRecoCalorimeterHitAssociation | other | ) |
copy-assignment operator
bool edm4eic::MutableMCRecoCalorimeterHitAssociation::operator== | ( | const MCRecoCalorimeterHitAssociation & | other | ) | const |
|
inline |
void edm4eic::MutableMCRecoCalorimeterHitAssociation::setRawHit | ( | edm4hep::RawCalorimeterHit | value | ) |
Set the reference to the digitized calorimeter hit.
void edm4eic::MutableMCRecoCalorimeterHitAssociation::setSimHit | ( | edm4hep::SimCalorimeterHit | value | ) |
Set the reference to the simulated calorimeter hit.
void edm4eic::MutableMCRecoCalorimeterHitAssociation::setWeight | ( | float | value | ) |
Set the weight of this association.
|
inline |
disconnect from MCRecoCalorimeterHitAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |