|
EDM4eic
EIC data model
|
#include <CalorimeterHit.h>
Public Types | |
| using | mutable_type = MutableCalorimeterHit |
| using | collection_type = CalorimeterHitCollection |
Public Member Functions | |
| CalorimeterHit () | |
| default constructor | |
| CalorimeterHit (const std::uint64_t cellID, const float energy, const float energyError, const float time, const float timeError, const edm4hep::Vector3f &position, const edm4hep::Vector3f &dimension, const std::int32_t sector, const std::int32_t layer, const edm4hep::Vector3f &local) | |
| Constructor initializing all members. | |
| CalorimeterHit (const CalorimeterHit &other)=default | |
| copy constructor | |
| CalorimeterHit & | operator= (CalorimeterHit other) & |
| copy-assignment operator | |
| CalorimeterHit & | operator= (CalorimeterHit other) &&=delete |
| MutableCalorimeterHit | clone (bool cloneRelations=true) const |
| ~CalorimeterHit ()=default | |
| destructor | |
| CalorimeterHit (const MutableCalorimeterHit &other) | |
| converting constructor from mutable object | |
| 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 |
| 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 () |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::CalorimeterHit" |
Friends | |
| class | MutableCalorimeterHit |
| class | CalorimeterHitCollection |
| class | edm4eic::CalorimeterHitCollectionData |
| class | CalorimeterHitCollectionIterator |
| podio::detail::OrderKey | podio::detail::getOrderKey (const CalorimeterHit &obj) |
| void | swap (CalorimeterHit &a, CalorimeterHit &b) |
Calorimeter hit
| edm4eic::CalorimeterHit::CalorimeterHit | ( | ) |
default constructor
| edm4eic::CalorimeterHit::CalorimeterHit | ( | const std::uint64_t | cellID, |
| const float | energy, | ||
| const float | energyError, | ||
| const float | time, | ||
| const float | timeError, | ||
| const edm4hep::Vector3f & | position, | ||
| const edm4hep::Vector3f & | dimension, | ||
| const std::int32_t | sector, | ||
| const std::int32_t | layer, | ||
| const edm4hep::Vector3f & | local ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| edm4eic::CalorimeterHit::CalorimeterHit | ( | const MutableCalorimeterHit & | other | ) |
converting constructor from mutable object
| MutableCalorimeterHit edm4eic::CalorimeterHit::clone | ( | bool | cloneRelations = true | ) | const |
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
| 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 |
|
inline |
|
inline |
| CalorimeterHit & edm4eic::CalorimeterHit::operator= | ( | CalorimeterHit | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::CalorimeterHit::operator== | ( | const MutableCalorimeterHit & | other | ) | const |
|
inline |
disconnect from CalorimeterHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |