dd4pod::ConstCalorimeterHit Class Reference

#include <CalorimeterHitConst.h>

Public Member Functions

 ConstCalorimeterHit ()
 default constructor More...
 
 ConstCalorimeterHit (long long cellID, long flag, long g4ID, dd4pod::FourVector position, dd4pod::MonteCarloContrib truth, double energyDeposit)
 
 ConstCalorimeterHit (CalorimeterHitObj *obj)
 constructor from existing CalorimeterHitObj More...
 
 ConstCalorimeterHit (const ConstCalorimeterHit &other)
 copy constructor More...
 
ConstCalorimeterHitoperator= (const ConstCalorimeterHit &other)
 copy-assignment operator More...
 
ConstCalorimeterHit clone () const
 support cloning (deep-copy) More...
 
 ~ConstCalorimeterHit ()
 destructor More...
 
const long long & cellID () const
 Access the cellID. More...
 
const long & flag () const
 Access the User flag to classify hits. More...
 
const long & g4ID () const
 Access the Original Geant4 track identifier of the creating track (debugging) More...
 
const dd4pod::FourVectorposition () const
 Access the position. More...
 
const dd4pod::MonteCarloContribtruth () const
 Access the truth. More...
 
const double & energyDeposit () const
 Access the energyDeposit. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from CalorimeterHitObj instance More...
 
bool operator== (const ConstCalorimeterHit &other) const
 
bool operator== (const CalorimeterHit &other) const
 
bool operator< (const ConstCalorimeterHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Detailed Description

Podio implementation of dd4hep's dd4hep::sim::Geant4Calorimeter::Hit class

Author
: W.Armstrong

Definition at line 25 of file CalorimeterHitConst.h.

Constructor & Destructor Documentation

◆ ConstCalorimeterHit() [1/4]

dd4pod::ConstCalorimeterHit::ConstCalorimeterHit ( )

default constructor

Definition at line 16 of file CalorimeterHitConst.cc.

◆ ConstCalorimeterHit() [2/4]

dd4pod::ConstCalorimeterHit::ConstCalorimeterHit ( long long  cellID,
long  flag,
long  g4ID,
dd4pod::FourVector  position,
dd4pod::MonteCarloContrib  truth,
double  energyDeposit 
)

Definition at line 20 of file CalorimeterHitConst.cc.

◆ ConstCalorimeterHit() [3/4]

dd4pod::ConstCalorimeterHit::ConstCalorimeterHit ( CalorimeterHitObj obj)

constructor from existing CalorimeterHitObj

Definition at line 40 of file CalorimeterHitConst.cc.

◆ ConstCalorimeterHit() [4/4]

dd4pod::ConstCalorimeterHit::ConstCalorimeterHit ( const ConstCalorimeterHit other)

copy constructor

Definition at line 30 of file CalorimeterHitConst.cc.

◆ ~ConstCalorimeterHit()

dd4pod::ConstCalorimeterHit::~ConstCalorimeterHit ( )

destructor

Definition at line 48 of file CalorimeterHitConst.cc.

Member Function Documentation

◆ cellID()

const long long & dd4pod::ConstCalorimeterHit::cellID ( ) const

Access the cellID.

Definition at line 51 of file CalorimeterHitConst.cc.

◆ clone()

ConstCalorimeterHit dd4pod::ConstCalorimeterHit::clone ( ) const

support cloning (deep-copy)

Definition at line 44 of file CalorimeterHitConst.cc.

◆ energyDeposit()

const double & dd4pod::ConstCalorimeterHit::energyDeposit ( ) const

Access the energyDeposit.

Definition at line 56 of file CalorimeterHitConst.cc.

◆ flag()

const long & dd4pod::ConstCalorimeterHit::flag ( ) const

Access the User flag to classify hits.

Definition at line 52 of file CalorimeterHitConst.cc.

◆ g4ID()

const long & dd4pod::ConstCalorimeterHit::g4ID ( ) const

Access the Original Geant4 track identifier of the creating track (debugging)

Definition at line 53 of file CalorimeterHitConst.cc.

◆ getObjectID()

const podio::ObjectID dd4pod::ConstCalorimeterHit::getObjectID ( ) const

Definition at line 70 of file CalorimeterHitConst.cc.

◆ id()

unsigned int dd4pod::ConstCalorimeterHit::id ( ) const
inline

Definition at line 87 of file CalorimeterHitConst.h.

◆ isAvailable()

bool dd4pod::ConstCalorimeterHit::isAvailable ( ) const

check whether the object is actually available

Definition at line 63 of file CalorimeterHitConst.cc.

◆ operator<()

bool dd4pod::ConstCalorimeterHit::operator< ( const ConstCalorimeterHit other) const
inline

Definition at line 85 of file CalorimeterHitConst.h.

◆ operator=()

ConstCalorimeterHit & dd4pod::ConstCalorimeterHit::operator= ( const ConstCalorimeterHit other)

copy-assignment operator

Definition at line 34 of file CalorimeterHitConst.cc.

◆ operator==() [1/2]

bool dd4pod::ConstCalorimeterHit::operator== ( const CalorimeterHit other) const

Definition at line 77 of file CalorimeterHitConst.cc.

◆ operator==() [2/2]

bool dd4pod::ConstCalorimeterHit::operator== ( const ConstCalorimeterHit other) const
inline

Definition at line 81 of file CalorimeterHitConst.h.

◆ position()

const dd4pod::FourVector & dd4pod::ConstCalorimeterHit::position ( ) const

Access the position.

Definition at line 54 of file CalorimeterHitConst.cc.

◆ truth()

const dd4pod::MonteCarloContrib & dd4pod::ConstCalorimeterHit::truth ( ) const

Access the truth.

Definition at line 55 of file CalorimeterHitConst.cc.

◆ unlink()

void dd4pod::ConstCalorimeterHit::unlink ( )
inline

disconnect from CalorimeterHitObj instance

Definition at line 79 of file CalorimeterHitConst.h.


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