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