EICd
EIC data model
eic::ConstCalorimeterHit Class Reference

#include <CalorimeterHitConst.h>

Public Member Functions

 ConstCalorimeterHit ()
 default constructor More...
 
 ConstCalorimeterHit (eic::Index ID, std::int64_t cellID, std::int32_t layer, std::int32_t sector, float energy, float energyError, float time, eic::VectorXYZ position, eic::VectorXYZ local, eic::VectorXYZ dimension)
 
 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 eic::IndexID () const
 Access the unique ID for this hit. More...
 
const std::int64_t & cellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const std::int32_t & layer () const
 Access the layer for this hit. More...
 
const std::int32_t & sector () const
 Access the sector for this hit. More...
 
const float & energy () const
 Access the The energy for this hit in [GeV]. More...
 
const float & energyError () const
 Access the Error on energy [GeV]. More...
 
const float & time () const
 Access the The time of the hit in [ns]. More...
 
const eic::VectorXYZposition () const
 Access the The global position of the hit in world coordinates [mm]. More...
 
const eic::VectorXYZlocal () const
 Access the The local position of the hit in detector coordinates [mm]. More...
 
const eic::VectorXYZdimension () const
 Access the The dimension information of the cell [mm]. 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
 

Friends

class CalorimeterHit
 
class CalorimeterHitCollection
 
class CalorimeterHitConstCollectionIterator
 

Detailed Description

Calorimeter hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ ConstCalorimeterHit() [1/4]

eic::ConstCalorimeterHit::ConstCalorimeterHit ( )

default constructor

◆ ConstCalorimeterHit() [2/4]

eic::ConstCalorimeterHit::ConstCalorimeterHit ( eic::Index  ID,
std::int64_t  cellID,
std::int32_t  layer,
std::int32_t  sector,
float  energy,
float  energyError,
float  time,
eic::VectorXYZ  position,
eic::VectorXYZ  local,
eic::VectorXYZ  dimension 
)

◆ ConstCalorimeterHit() [3/4]

eic::ConstCalorimeterHit::ConstCalorimeterHit ( CalorimeterHitObj obj)

constructor from existing CalorimeterHitObj

◆ ConstCalorimeterHit() [4/4]

eic::ConstCalorimeterHit::ConstCalorimeterHit ( const ConstCalorimeterHit other)

copy constructor

◆ ~ConstCalorimeterHit()

eic::ConstCalorimeterHit::~ConstCalorimeterHit ( )

destructor

Member Function Documentation

◆ cellID()

const std::int64_t & eic::ConstCalorimeterHit::cellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ clone()

ConstCalorimeterHit eic::ConstCalorimeterHit::clone ( ) const

support cloning (deep-copy)

◆ dimension()

const eic::VectorXYZ & eic::ConstCalorimeterHit::dimension ( ) const

Access the The dimension information of the cell [mm].

◆ energy()

const float & eic::ConstCalorimeterHit::energy ( ) const

Access the The energy for this hit in [GeV].

◆ energyError()

const float & eic::ConstCalorimeterHit::energyError ( ) const

Access the Error on energy [GeV].

◆ getObjectID()

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

◆ ID()

const eic::Index & eic::ConstCalorimeterHit::ID ( ) const

Access the unique ID for this hit.

◆ id()

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

◆ isAvailable()

bool eic::ConstCalorimeterHit::isAvailable ( ) const

check whether the object is actually available

◆ layer()

const std::int32_t & eic::ConstCalorimeterHit::layer ( ) const

Access the layer for this hit.

◆ local()

const eic::VectorXYZ & eic::ConstCalorimeterHit::local ( ) const

Access the The local position of the hit in detector coordinates [mm].

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ position()

const eic::VectorXYZ & eic::ConstCalorimeterHit::position ( ) const

Access the The global position of the hit in world coordinates [mm].

◆ sector()

const std::int32_t & eic::ConstCalorimeterHit::sector ( ) const

Access the sector for this hit.

◆ time()

const float & eic::ConstCalorimeterHit::time ( ) const

Access the The time of the hit in [ns].

◆ unlink()

void eic::ConstCalorimeterHit::unlink ( )
inline

disconnect from CalorimeterHitObj instance

Friends And Related Function Documentation

◆ CalorimeterHit

friend class CalorimeterHit
friend

◆ CalorimeterHitCollection

friend class CalorimeterHitCollection
friend

◆ CalorimeterHitConstCollectionIterator


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