EDM4eic
EIC data model
|
#include <CalorimeterHit.h>
Public Types | |
using | mutable_type = MutableCalorimeterHit |
using | collection_type = CalorimeterHitCollection |
Public Member Functions | |
CalorimeterHit () | |
default constructor | |
CalorimeterHit (std::uint64_t cellID, float energy, float energyError, float time, float timeError, edm4hep::Vector3f position, edm4hep::Vector3f dimension, std::int32_t sector, std::int32_t layer, edm4hep::Vector3f local) | |
Constructor initializing all members. | |
CalorimeterHit (const CalorimeterHit &other)=default | |
copy constructor | |
CalorimeterHit & | operator= (CalorimeterHit other) |
copy-assignment operator | |
MutableCalorimeterHit | clone () const |
create a mutable deep-copy of the object with identical relations | |
~CalorimeterHit ()=default | |
destructor | |
std::uint64_t | getCellID () const |
Access the The detector specific (geometrical) cell id. | |
float | getEnergy () const |
Access the The energy for this hit in [GeV]. | |
float | getEnergyError () const |
Access the Error on energy [GeV]. | |
float | getTime () const |
Access the The time of the hit in [ns]. | |
float | getTimeError () const |
Access the Error on the time. | |
const edm4hep::Vector3f & | getPosition () const |
Access the The global position of the hit in world coordinates [mm]. | |
const edm4hep::Vector3f & | getDimension () const |
Access the The dimension information of the cell [mm]. | |
std::int32_t | getSector () const |
Access the Sector that this hit occurred in. | |
std::int32_t | getLayer () const |
Access the Layer that the hit occurred in. | |
const edm4hep::Vector3f & | getLocal () const |
Access the The local coordinates of the hit in the detector segment [mm]. | |
const edm4hep::RawCalorimeterHit | getRawHit () const |
Access the Related raw calorimeter hit. | |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from CalorimeterHitObj instance | |
bool | operator== (const CalorimeterHit &other) const |
bool | operator== (const MutableCalorimeterHit &other) const |
bool | operator< (const CalorimeterHit &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static CalorimeterHit | makeEmpty () |
Friends | |
class | MutableCalorimeterHit |
class | CalorimeterHitCollection |
class | edm4eic::CalorimeterHitCollectionData |
class | CalorimeterHitCollectionIterator |
void | swap (CalorimeterHit &a, CalorimeterHit &b) |
Calorimeter hit
edm4eic::CalorimeterHit::CalorimeterHit | ( | ) |
default constructor
edm4eic::CalorimeterHit::CalorimeterHit | ( | std::uint64_t | cellID, |
float | energy, | ||
float | energyError, | ||
float | time, | ||
float | timeError, | ||
edm4hep::Vector3f | position, | ||
edm4hep::Vector3f | dimension, | ||
std::int32_t | sector, | ||
std::int32_t | layer, | ||
edm4hep::Vector3f | local ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableCalorimeterHit edm4eic::CalorimeterHit::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
std::uint64_t edm4eic::CalorimeterHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
const edm4hep::Vector3f & edm4eic::CalorimeterHit::getDimension | ( | ) | const |
Access the The dimension information of the cell [mm].
float edm4eic::CalorimeterHit::getEnergy | ( | ) | const |
Access the The energy for this hit in [GeV].
float edm4eic::CalorimeterHit::getEnergyError | ( | ) | const |
Access the Error on energy [GeV].
std::int32_t edm4eic::CalorimeterHit::getLayer | ( | ) | const |
Access the Layer that the hit occurred in.
const edm4hep::Vector3f & edm4eic::CalorimeterHit::getLocal | ( | ) | const |
Access the The local coordinates of the hit in the detector segment [mm].
const podio::ObjectID edm4eic::CalorimeterHit::getObjectID | ( | ) | const |
const edm4hep::Vector3f & edm4eic::CalorimeterHit::getPosition | ( | ) | const |
Access the The global position of the hit in world coordinates [mm].
const edm4hep::RawCalorimeterHit edm4eic::CalorimeterHit::getRawHit | ( | ) | const |
Access the Related raw calorimeter hit.
std::int32_t edm4eic::CalorimeterHit::getSector | ( | ) | const |
Access the Sector that this hit occurred in.
float edm4eic::CalorimeterHit::getTime | ( | ) | const |
Access the The time of the hit in [ns].
float edm4eic::CalorimeterHit::getTimeError | ( | ) | const |
Access the Error on the time.
|
inline |
bool edm4eic::CalorimeterHit::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
CalorimeterHit & edm4eic::CalorimeterHit::operator= | ( | CalorimeterHit | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::CalorimeterHit::operator== | ( | const MutableCalorimeterHit & | other | ) | const |
|
inline |
disconnect from CalorimeterHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |