|
EDM4eic
EIC data model
|
#include <MutableTrackerHit.h>
Public Types | |
| using | object_type = TrackerHit |
| using | collection_type = TrackerHitCollection |
Public Member Functions | |
| MutableTrackerHit () | |
| default constructor | |
| MutableTrackerHit (const std::uint64_t cellID, const edm4hep::Vector3f &position, const edm4eic::CovDiag3f &positionError, const float time, const float timeError, const float edep, const float edepError) | |
| Constructor initializing all members. | |
| MutableTrackerHit (const MutableTrackerHit &other)=default | |
| copy constructor | |
| MutableTrackerHit & | operator= (MutableTrackerHit other) & |
| copy-assignment operator | |
| MutableTrackerHit & | operator= (MutableTrackerHit other) &&=delete |
| MutableTrackerHit | clone (bool cloneRelations=true) const |
| ~MutableTrackerHit ()=default | |
| destructor | |
| std::uint64_t | getCellID () const |
| Access the The detector specific (geometrical) cell id. | |
| const edm4hep::Vector3f & | getPosition () const |
| Access the Hit (cell) position [mm]. | |
| const edm4eic::CovDiag3f & | getPositionError () const |
| Access the Covariance Matrix. | |
| float | getTime () const |
| Access the Hit time [ns]. | |
| float | getTimeError () const |
| Access the Error on the time. | |
| float | getEdep () const |
| Access the Energy deposit in this hit [GeV]. | |
| float | getEdepError () const |
| Access the Error on the energy deposit [GeV]. | |
| const edm4eic::RawTrackerHit | getRawHit () const |
| Access the Related raw tracker hit. | |
| void | setCellID (const std::uint64_t cellID) |
| Set the The detector specific (geometrical) cell id. | |
| std::uint64_t & | getCellID () |
| Get mutable reference to The detector specific (geometrical) cell id. | |
| std::uint64_t & | cellID () |
| Get reference to The detector specific (geometrical) cell id. | |
| void | setPosition (const edm4hep::Vector3f &position) |
| Set the Hit (cell) position [mm]. | |
| edm4hep::Vector3f & | getPosition () |
| Get mutable reference to Hit (cell) position [mm]. | |
| edm4hep::Vector3f & | position () |
| Get reference to Hit (cell) position [mm]. | |
| void | setPositionError (const edm4eic::CovDiag3f &positionError) |
| Set the Covariance Matrix. | |
| edm4eic::CovDiag3f & | getPositionError () |
| Get mutable reference to Covariance Matrix. | |
| edm4eic::CovDiag3f & | positionError () |
| Get reference to Covariance Matrix. | |
| void | setTime (const float time) |
| Set the Hit time [ns]. | |
| float & | getTime () |
| Get mutable reference to Hit time [ns]. | |
| float & | time () |
| Get reference to Hit time [ns]. | |
| void | setTimeError (const float timeError) |
| Set the Error on the time. | |
| float & | getTimeError () |
| Get mutable reference to Error on the time. | |
| float & | timeError () |
| Get reference to Error on the time. | |
| void | setEdep (const float edep) |
| Set the Energy deposit in this hit [GeV]. | |
| float & | getEdep () |
| Get mutable reference to Energy deposit in this hit [GeV]. | |
| float & | edep () |
| Get reference to Energy deposit in this hit [GeV]. | |
| void | setEdepError (const float edepError) |
| Set the Error on the energy deposit [GeV]. | |
| float & | getEdepError () |
| Get mutable reference to Error on the energy deposit [GeV]. | |
| float & | edepError () |
| Get reference to Error on the energy deposit [GeV]. | |
| void | setRawHit (const edm4eic::RawTrackerHit &value) |
| Set the Related raw tracker hit. | |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from TrackerHitObj instance | |
| bool | operator== (const MutableTrackerHit &other) const |
| bool | operator== (const TrackerHit &other) const |
| bool | operator!= (const MutableTrackerHit &other) const |
| bool | operator!= (const TrackerHit &other) const |
| bool | operator< (const MutableTrackerHit &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Friends | |
| class | TrackerHitCollection |
| class | TrackerHitMutableCollectionIterator |
| class | TrackerHit |
| void | swap (MutableTrackerHit &a, MutableTrackerHit &b) |
Tracker hit (reconstructed from Raw)
| edm4eic::MutableTrackerHit::MutableTrackerHit | ( | ) |
default constructor
| edm4eic::MutableTrackerHit::MutableTrackerHit | ( | const std::uint64_t | cellID, |
| const edm4hep::Vector3f & | position, | ||
| const edm4eic::CovDiag3f & | positionError, | ||
| const float | time, | ||
| const float | timeError, | ||
| const float | edep, | ||
| const float | edepError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| std::uint64_t & edm4eic::MutableTrackerHit::cellID | ( | ) |
Get reference to The detector specific (geometrical) cell id.
| MutableTrackerHit edm4eic::MutableTrackerHit::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
| float & edm4eic::MutableTrackerHit::edep | ( | ) |
Get reference to Energy deposit in this hit [GeV].
| float & edm4eic::MutableTrackerHit::edepError | ( | ) |
Get reference to Error on the energy deposit [GeV].
| std::uint64_t & edm4eic::MutableTrackerHit::getCellID | ( | ) |
Get mutable reference to The detector specific (geometrical) cell id.
| std::uint64_t edm4eic::MutableTrackerHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
| float & edm4eic::MutableTrackerHit::getEdep | ( | ) |
Get mutable reference to Energy deposit in this hit [GeV].
| float edm4eic::MutableTrackerHit::getEdep | ( | ) | const |
Access the Energy deposit in this hit [GeV].
| float & edm4eic::MutableTrackerHit::getEdepError | ( | ) |
Get mutable reference to Error on the energy deposit [GeV].
| float edm4eic::MutableTrackerHit::getEdepError | ( | ) | const |
Access the Error on the energy deposit [GeV].
| const podio::ObjectID edm4eic::MutableTrackerHit::getObjectID | ( | ) | const |
| edm4hep::Vector3f & edm4eic::MutableTrackerHit::getPosition | ( | ) |
Get mutable reference to Hit (cell) position [mm].
| const edm4hep::Vector3f & edm4eic::MutableTrackerHit::getPosition | ( | ) | const |
Access the Hit (cell) position [mm].
| edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::getPositionError | ( | ) |
Get mutable reference to Covariance Matrix.
| const edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::getPositionError | ( | ) | const |
Access the Covariance Matrix.
| const edm4eic::RawTrackerHit edm4eic::MutableTrackerHit::getRawHit | ( | ) | const |
Access the Related raw tracker hit.
| float & edm4eic::MutableTrackerHit::getTime | ( | ) |
Get mutable reference to Hit time [ns].
| float edm4eic::MutableTrackerHit::getTime | ( | ) | const |
Access the Hit time [ns].
| float & edm4eic::MutableTrackerHit::getTimeError | ( | ) |
Get mutable reference to Error on the time.
| float edm4eic::MutableTrackerHit::getTimeError | ( | ) | const |
Access the Error on the time.
|
inline |
| bool edm4eic::MutableTrackerHit::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
|
inline |
| MutableTrackerHit & edm4eic::MutableTrackerHit::operator= | ( | MutableTrackerHit | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MutableTrackerHit::operator== | ( | const TrackerHit & | other | ) | const |
| edm4hep::Vector3f & edm4eic::MutableTrackerHit::position | ( | ) |
Get reference to Hit (cell) position [mm].
| edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::positionError | ( | ) |
Get reference to Covariance Matrix.
| void edm4eic::MutableTrackerHit::setCellID | ( | const std::uint64_t | cellID | ) |
Set the The detector specific (geometrical) cell id.
| void edm4eic::MutableTrackerHit::setEdep | ( | const float | edep | ) |
Set the Energy deposit in this hit [GeV].
| void edm4eic::MutableTrackerHit::setEdepError | ( | const float | edepError | ) |
Set the Error on the energy deposit [GeV].
| void edm4eic::MutableTrackerHit::setPosition | ( | const edm4hep::Vector3f & | position | ) |
Set the Hit (cell) position [mm].
| void edm4eic::MutableTrackerHit::setPositionError | ( | const edm4eic::CovDiag3f & | positionError | ) |
Set the Covariance Matrix.
| void edm4eic::MutableTrackerHit::setRawHit | ( | const edm4eic::RawTrackerHit & | value | ) |
Set the Related raw tracker hit.
| void edm4eic::MutableTrackerHit::setTime | ( | const float | time | ) |
Set the Hit time [ns].
| void edm4eic::MutableTrackerHit::setTimeError | ( | const float | timeError | ) |
Set the Error on the time.
| float & edm4eic::MutableTrackerHit::time | ( | ) |
Get reference to Hit time [ns].
| float & edm4eic::MutableTrackerHit::timeError | ( | ) |
Get reference to Error on the time.
|
inline |
disconnect from TrackerHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |