EICd
EIC data model
|
#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... | |
ConstCalorimeterHit & | operator= (const ConstCalorimeterHit &other) |
copy-assignment operator More... | |
ConstCalorimeterHit | clone () const |
support cloning (deep-copy) More... | |
~ConstCalorimeterHit () | |
destructor More... | |
const eic::Index & | ID () 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::VectorXYZ & | position () const |
Access the The global position of the hit in world coordinates [mm]. More... | |
const eic::VectorXYZ & | local () const |
Access the The local position of the hit in detector coordinates [mm]. More... | |
const eic::VectorXYZ & | dimension () 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 |
Calorimeter hit
eic::ConstCalorimeterHit::ConstCalorimeterHit | ( | ) |
default constructor
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 | ||
) |
eic::ConstCalorimeterHit::ConstCalorimeterHit | ( | CalorimeterHitObj * | obj | ) |
constructor from existing CalorimeterHitObj
eic::ConstCalorimeterHit::ConstCalorimeterHit | ( | const ConstCalorimeterHit & | other | ) |
copy constructor
eic::ConstCalorimeterHit::~ConstCalorimeterHit | ( | ) |
destructor
const std::int64_t & eic::ConstCalorimeterHit::cellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
ConstCalorimeterHit eic::ConstCalorimeterHit::clone | ( | ) | const |
support cloning (deep-copy)
const eic::VectorXYZ & eic::ConstCalorimeterHit::dimension | ( | ) | const |
Access the The dimension information of the cell [mm].
const float & eic::ConstCalorimeterHit::energy | ( | ) | const |
Access the The energy for this hit in [GeV].
const float & eic::ConstCalorimeterHit::energyError | ( | ) | const |
Access the Error on energy [GeV].
const podio::ObjectID eic::ConstCalorimeterHit::getObjectID | ( | ) | const |
const eic::Index & eic::ConstCalorimeterHit::ID | ( | ) | const |
Access the unique ID for this hit.
|
inline |
bool eic::ConstCalorimeterHit::isAvailable | ( | ) | const |
check whether the object is actually available
const std::int32_t & eic::ConstCalorimeterHit::layer | ( | ) | const |
Access the layer for this hit.
const eic::VectorXYZ & eic::ConstCalorimeterHit::local | ( | ) | const |
Access the The local position of the hit in detector coordinates [mm].
|
inline |
ConstCalorimeterHit & eic::ConstCalorimeterHit::operator= | ( | const ConstCalorimeterHit & | other | ) |
copy-assignment operator
bool eic::ConstCalorimeterHit::operator== | ( | const CalorimeterHit & | other | ) | const |
|
inline |
const eic::VectorXYZ & eic::ConstCalorimeterHit::position | ( | ) | const |
Access the The global position of the hit in world coordinates [mm].
const std::int32_t & eic::ConstCalorimeterHit::sector | ( | ) | const |
Access the sector for this hit.
const float & eic::ConstCalorimeterHit::time | ( | ) | const |
Access the The time of the hit in [ns].
|
inline |
disconnect from CalorimeterHitObj instance
|
friend |
|
friend |
|
friend |