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

#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
 
MutableMCRecoTrackerHitAssociationoperator= (MutableMCRecoTrackerHitAssociation other)
 copy-assignment operator
 
MutableMCRecoTrackerHitAssociation clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableMCRecoTrackerHitAssociation ()=default
 destructor
 
 operator MCRecoTrackerHitAssociation () const
 conversion to const object
 
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.
 
void setRawHit (edm4eic::RawTrackerHit value)
 Set the reference to the digitized hit.
 
void setSimHit (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
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MCRecoTrackerHitAssociationCollection
 
class MCRecoTrackerHitAssociationMutableCollectionIterator
 
class MCRecoTrackerHitAssociation
 
void swap (MutableMCRecoTrackerHitAssociation &a, MutableMCRecoTrackerHitAssociation &b)
 

Detailed Description

Association between a RawTrackerHit and a SimTrackerHit

Author
: C. Dilks, W. Deconinck

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableMCRecoTrackerHitAssociation() [1/3]

edm4eic::MutableMCRecoTrackerHitAssociation::MutableMCRecoTrackerHitAssociation ( )

default constructor

◆ MutableMCRecoTrackerHitAssociation() [2/3]

edm4eic::MutableMCRecoTrackerHitAssociation::MutableMCRecoTrackerHitAssociation ( float weight)

Constructor initializing all members.

◆ MutableMCRecoTrackerHitAssociation() [3/3]

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

copy constructor

◆ ~MutableMCRecoTrackerHitAssociation()

edm4eic::MutableMCRecoTrackerHitAssociation::~MutableMCRecoTrackerHitAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoTrackerHitAssociation edm4eic::MutableMCRecoTrackerHitAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRawHit()

const edm4eic::RawTrackerHit edm4eic::MutableMCRecoTrackerHitAssociation::getRawHit ( ) const

Access the reference to the digitized hit.

◆ getSimHit()

const edm4hep::SimTrackerHit edm4eic::MutableMCRecoTrackerHitAssociation::getSimHit ( ) const

Access the reference to the simulated hit.

◆ getWeight()

float edm4eic::MutableMCRecoTrackerHitAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableMCRecoTrackerHitAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoTrackerHitAssociation()

edm4eic::MutableMCRecoTrackerHitAssociation::operator MCRecoTrackerHitAssociation ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableMCRecoTrackerHitAssociation::operator== ( const MCRecoTrackerHitAssociation & other) const

◆ operator==() [2/2]

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

◆ setRawHit()

void edm4eic::MutableMCRecoTrackerHitAssociation::setRawHit ( edm4eic::RawTrackerHit value)

Set the reference to the digitized hit.

◆ setSimHit()

void edm4eic::MutableMCRecoTrackerHitAssociation::setSimHit ( edm4hep::SimTrackerHit value)

Set the reference to the simulated hit.

◆ setWeight()

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

Set the weight of this association.

◆ unlink()

void edm4eic::MutableMCRecoTrackerHitAssociation::unlink ( )
inline

disconnect from MCRecoTrackerHitAssociationObj instance

Friends And Related Symbol Documentation

◆ MCRecoTrackerHitAssociation

friend class MCRecoTrackerHitAssociation
friend

◆ MCRecoTrackerHitAssociationCollection

◆ MCRecoTrackerHitAssociationMutableCollectionIterator

◆ swap


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