EDM4eic
EIC data model
|
#include <MutableMCRecoTrackerHitAssociation.h>
Public Types | |
using | object_type = MCRecoTrackerHitAssociation |
using | collection_type = MCRecoTrackerHitAssociationCollection |
Public Member Functions | |
MutableMCRecoTrackerHitAssociation () | |
default constructor | |
MutableMCRecoTrackerHitAssociation (float weight) | |
Constructor initializing all members. | |
MutableMCRecoTrackerHitAssociation (const MutableMCRecoTrackerHitAssociation &other)=default | |
copy constructor | |
MutableMCRecoTrackerHitAssociation & | operator= (MutableMCRecoTrackerHitAssociation other) |
copy-assignment operator | |
MutableMCRecoTrackerHitAssociation | clone (bool cloneRelations=true) const |
~MutableMCRecoTrackerHitAssociation ()=default | |
destructor | |
float | getWeight () const |
Access the weight of this association. | |
const edm4eic::RawTrackerHit | getRawHit () const |
Access the reference to the digitized hit. | |
const edm4hep::SimTrackerHit | getSimHit () const |
Access the reference to the simulated 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 edm4eic::RawTrackerHit &value) |
Set the reference to the digitized hit. | |
void | setSimHit (const edm4hep::SimTrackerHit &value) |
Set the reference to the simulated hit. | |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from MCRecoTrackerHitAssociationObj instance | |
bool | operator== (const MutableMCRecoTrackerHitAssociation &other) const |
bool | operator== (const MCRecoTrackerHitAssociation &other) const |
bool | operator!= (const MutableMCRecoTrackerHitAssociation &other) const |
bool | operator!= (const MCRecoTrackerHitAssociation &other) const |
bool | operator< (const MutableMCRecoTrackerHitAssociation &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Association between a RawTrackerHit and a SimTrackerHit
using edm4eic::MutableMCRecoTrackerHitAssociation::collection_type = MCRecoTrackerHitAssociationCollection |
edm4eic::MutableMCRecoTrackerHitAssociation::MutableMCRecoTrackerHitAssociation | ( | ) |
default constructor
edm4eic::MutableMCRecoTrackerHitAssociation::MutableMCRecoTrackerHitAssociation | ( | float | weight | ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMCRecoTrackerHitAssociation edm4eic::MutableMCRecoTrackerHitAssociation::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
const podio::ObjectID edm4eic::MutableMCRecoTrackerHitAssociation::getObjectID | ( | ) | const |
const edm4eic::RawTrackerHit edm4eic::MutableMCRecoTrackerHitAssociation::getRawHit | ( | ) | const |
Access the reference to the digitized hit.
const edm4hep::SimTrackerHit edm4eic::MutableMCRecoTrackerHitAssociation::getSimHit | ( | ) | const |
Access the reference to the simulated hit.
float & edm4eic::MutableMCRecoTrackerHitAssociation::getWeight | ( | ) |
Get mutable reference to weight of this association.
float edm4eic::MutableMCRecoTrackerHitAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool edm4eic::MutableMCRecoTrackerHitAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
|
inline |
MutableMCRecoTrackerHitAssociation & edm4eic::MutableMCRecoTrackerHitAssociation::operator= | ( | MutableMCRecoTrackerHitAssociation | other | ) |
copy-assignment operator
bool edm4eic::MutableMCRecoTrackerHitAssociation::operator== | ( | const MCRecoTrackerHitAssociation & | other | ) | const |
|
inline |
void edm4eic::MutableMCRecoTrackerHitAssociation::setRawHit | ( | const edm4eic::RawTrackerHit & | value | ) |
Set the reference to the digitized hit.
void edm4eic::MutableMCRecoTrackerHitAssociation::setSimHit | ( | const edm4hep::SimTrackerHit & | value | ) |
Set the reference to the simulated hit.
void edm4eic::MutableMCRecoTrackerHitAssociation::setWeight | ( | float | value | ) |
Set the weight of this association.
|
inline |
disconnect from MCRecoTrackerHitAssociationObj instance
float & edm4eic::MutableMCRecoTrackerHitAssociation::weight | ( | ) |
Get reference to weight of this association.
|
friend |
|
friend |
|
friend |
|
friend |