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

#include <MCRecoCalorimeterHitAssociation.h>

Public Types

using mutable_type = MutableMCRecoCalorimeterHitAssociation
using collection_type = MCRecoCalorimeterHitAssociationCollection

Public Member Functions

 MCRecoCalorimeterHitAssociation ()=default
 default constructor
 MCRecoCalorimeterHitAssociation (const float weight)
 Constructor initializing all members.
 MCRecoCalorimeterHitAssociation (const MCRecoCalorimeterHitAssociation &other)=default
 copy constructor
MCRecoCalorimeterHitAssociationoperator= (MCRecoCalorimeterHitAssociation other) &
 copy-assignment operator
MCRecoCalorimeterHitAssociationoperator= (MCRecoCalorimeterHitAssociation other) &&=delete
MutableMCRecoCalorimeterHitAssociation clone (bool cloneRelations=true) const
 ~MCRecoCalorimeterHitAssociation ()=default
 destructor
 MCRecoCalorimeterHitAssociation (const MutableMCRecoCalorimeterHitAssociation &other)
 converting constructor from mutable 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.
bool isAvailable () const
 check whether the object is actually available
void unlink ()
 disconnect from MCRecoCalorimeterHitAssociationObj instance
bool operator== (const MCRecoCalorimeterHitAssociation &other) const
bool operator== (const MutableMCRecoCalorimeterHitAssociation &other) const
bool operator!= (const MCRecoCalorimeterHitAssociation &other) const
bool operator!= (const MutableMCRecoCalorimeterHitAssociation &other) const
bool operator< (const MCRecoCalorimeterHitAssociation &other) const
podio::ObjectID id () const
const podio::ObjectID getObjectID () const

Static Public Member Functions

static MCRecoCalorimeterHitAssociation makeEmpty ()

Static Public Attributes

static constexpr std::string_view typeName = "edm4eic::MCRecoCalorimeterHitAssociation"

Friends

class MutableMCRecoCalorimeterHitAssociation
class MCRecoCalorimeterHitAssociationCollection
class edm4eic::MCRecoCalorimeterHitAssociationCollectionData
class MCRecoCalorimeterHitAssociationCollectionIterator
podio::detail::OrderKey podio::detail::getOrderKey (const MCRecoCalorimeterHitAssociation &obj)
void swap (MCRecoCalorimeterHitAssociation &a, MCRecoCalorimeterHitAssociation &b)

Detailed Description

Association between a RawCalorimeterHit and a SimCalorimeterHit

Author
: S. Rahman

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoCalorimeterHitAssociation() [1/4]

edm4eic::MCRecoCalorimeterHitAssociation::MCRecoCalorimeterHitAssociation ( )
default

default constructor

◆ MCRecoCalorimeterHitAssociation() [2/4]

edm4eic::MCRecoCalorimeterHitAssociation::MCRecoCalorimeterHitAssociation ( const float weight)

Constructor initializing all members.

◆ MCRecoCalorimeterHitAssociation() [3/4]

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

copy constructor

◆ ~MCRecoCalorimeterHitAssociation()

edm4eic::MCRecoCalorimeterHitAssociation::~MCRecoCalorimeterHitAssociation ( )
default

destructor

◆ MCRecoCalorimeterHitAssociation() [4/4]

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

converting constructor from mutable object

Member Function Documentation

◆ clone()

MutableMCRecoCalorimeterHitAssociation edm4eic::MCRecoCalorimeterHitAssociation::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::MCRecoCalorimeterHitAssociation::getObjectID ( ) const

◆ getRawHit()

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

Access the reference to the digitized calorimeter hit.

◆ getSimHit()

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

Access the reference to the simulated calorimeter hit.

◆ getWeight()

float edm4eic::MCRecoCalorimeterHitAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MCRecoCalorimeterHitAssociation::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

MCRecoCalorimeterHitAssociation edm4eic::MCRecoCalorimeterHitAssociation::makeEmpty ( )
static

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

MCRecoCalorimeterHitAssociation & edm4eic::MCRecoCalorimeterHitAssociation::operator= ( MCRecoCalorimeterHitAssociation other) &&
delete

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::MCRecoCalorimeterHitAssociation::unlink ( )
inline

disconnect from MCRecoCalorimeterHitAssociationObj instance

◆ edm4eic::MCRecoCalorimeterHitAssociationCollectionData

◆ MCRecoCalorimeterHitAssociationCollection

friend class MCRecoCalorimeterHitAssociationCollection
friend

◆ MCRecoCalorimeterHitAssociationCollectionIterator

friend class MCRecoCalorimeterHitAssociationCollectionIterator
friend

◆ MutableMCRecoCalorimeterHitAssociation

friend class MutableMCRecoCalorimeterHitAssociation
friend

◆ podio::detail::getOrderKey

podio::detail::OrderKey podio::detail::getOrderKey ( const MCRecoCalorimeterHitAssociation & obj)
friend

◆ swap

Member Data Documentation

◆ typeName

std::string_view edm4eic::MCRecoCalorimeterHitAssociation::typeName = "edm4eic::MCRecoCalorimeterHitAssociation"
staticconstexpr

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