|
EDM4eic
EIC data model
|
#include <MutablePMTHit.h>
Public Types | |
| using | object_type = PMTHit |
| using | collection_type = PMTHitCollection |
Public Member Functions | |
| MutablePMTHit () | |
| default constructor | |
| MutablePMTHit (const std::uint64_t cellID, const float npe, const float time, const float timeError, const edm4hep::Vector3f &position, const edm4hep::Vector3f &dimension, const std::int32_t sector, const edm4hep::Vector3f &local) | |
| Constructor initializing all members. | |
| MutablePMTHit (const MutablePMTHit &other)=default | |
| copy constructor | |
| MutablePMTHit & | operator= (MutablePMTHit other) & |
| copy-assignment operator | |
| MutablePMTHit & | operator= (MutablePMTHit other) &&=delete |
| MutablePMTHit | clone (bool cloneRelations=true) const |
| ~MutablePMTHit ()=default | |
| destructor | |
| std::uint64_t | getCellID () const |
| Access the The detector specific (geometrical) cell id. | |
| float | getNpe () const |
| Access the Estimated number of photo-electrons [#]. | |
| float | getTime () const |
| Access the Time [ns]. | |
| float | getTimeError () const |
| Access the Error on the time [ns]. | |
| const edm4hep::Vector3f & | getPosition () const |
| Access the PMT hit position [mm]. | |
| const edm4hep::Vector3f & | getDimension () const |
| Access the The dimension information of the pixel [mm]. | |
| std::int32_t | getSector () const |
| Access the The sector this hit occurred in. | |
| const edm4hep::Vector3f & | getLocal () const |
| Access the The local position of the hit in detector coordinates (relative to the sector) [mm]. | |
| 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 | setNpe (const float npe) |
| Set the Estimated number of photo-electrons [#]. | |
| float & | getNpe () |
| Get mutable reference to Estimated number of photo-electrons [#]. | |
| float & | npe () |
| Get reference to Estimated number of photo-electrons [#]. | |
| void | setTime (const float time) |
| Set the Time [ns]. | |
| float & | getTime () |
| Get mutable reference to Time [ns]. | |
| float & | time () |
| Get reference to Time [ns]. | |
| void | setTimeError (const float timeError) |
| Set the Error on the time [ns]. | |
| float & | getTimeError () |
| Get mutable reference to Error on the time [ns]. | |
| float & | timeError () |
| Get reference to Error on the time [ns]. | |
| void | setPosition (const edm4hep::Vector3f &position) |
| Set the PMT hit position [mm]. | |
| edm4hep::Vector3f & | getPosition () |
| Get mutable reference to PMT hit position [mm]. | |
| edm4hep::Vector3f & | position () |
| Get reference to PMT hit position [mm]. | |
| void | setDimension (const edm4hep::Vector3f &dimension) |
| Set the The dimension information of the pixel [mm]. | |
| edm4hep::Vector3f & | getDimension () |
| Get mutable reference to The dimension information of the pixel [mm]. | |
| edm4hep::Vector3f & | dimension () |
| Get reference to The dimension information of the pixel [mm]. | |
| void | setSector (const std::int32_t sector) |
| Set the The sector this hit occurred in. | |
| std::int32_t & | getSector () |
| Get mutable reference to The sector this hit occurred in. | |
| std::int32_t & | sector () |
| Get reference to The sector this hit occurred in. | |
| void | setLocal (const edm4hep::Vector3f &local) |
| Set the The local position of the hit in detector coordinates (relative to the sector) [mm]. | |
| edm4hep::Vector3f & | getLocal () |
| Get mutable reference to The local position of the hit in detector coordinates (relative to the sector) [mm]. | |
| edm4hep::Vector3f & | local () |
| Get reference to The local position of the hit in detector coordinates (relative to the sector) [mm]. | |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from PMTHitObj instance | |
| bool | operator== (const MutablePMTHit &other) const |
| bool | operator== (const PMTHit &other) const |
| bool | operator!= (const MutablePMTHit &other) const |
| bool | operator!= (const PMTHit &other) const |
| bool | operator< (const MutablePMTHit &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Friends | |
| class | PMTHitCollection |
| class | PMTHitMutableCollectionIterator |
| class | PMTHit |
| void | swap (MutablePMTHit &a, MutablePMTHit &b) |
EIC PMT hit
| edm4eic::MutablePMTHit::MutablePMTHit | ( | ) |
default constructor
| edm4eic::MutablePMTHit::MutablePMTHit | ( | const std::uint64_t | cellID, |
| const float | npe, | ||
| const float | time, | ||
| const float | timeError, | ||
| const edm4hep::Vector3f & | position, | ||
| const edm4hep::Vector3f & | dimension, | ||
| const std::int32_t | sector, | ||
| const edm4hep::Vector3f & | local ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| std::uint64_t & edm4eic::MutablePMTHit::cellID | ( | ) |
Get reference to The detector specific (geometrical) cell id.
| MutablePMTHit edm4eic::MutablePMTHit::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
| edm4hep::Vector3f & edm4eic::MutablePMTHit::dimension | ( | ) |
Get reference to The dimension information of the pixel [mm].
| std::uint64_t & edm4eic::MutablePMTHit::getCellID | ( | ) |
Get mutable reference to The detector specific (geometrical) cell id.
| std::uint64_t edm4eic::MutablePMTHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
| edm4hep::Vector3f & edm4eic::MutablePMTHit::getDimension | ( | ) |
Get mutable reference to The dimension information of the pixel [mm].
| const edm4hep::Vector3f & edm4eic::MutablePMTHit::getDimension | ( | ) | const |
Access the The dimension information of the pixel [mm].
| edm4hep::Vector3f & edm4eic::MutablePMTHit::getLocal | ( | ) |
Get mutable reference to The local position of the hit in detector coordinates (relative to the sector) [mm].
| const edm4hep::Vector3f & edm4eic::MutablePMTHit::getLocal | ( | ) | const |
Access the The local position of the hit in detector coordinates (relative to the sector) [mm].
| float & edm4eic::MutablePMTHit::getNpe | ( | ) |
Get mutable reference to Estimated number of photo-electrons [#].
| float edm4eic::MutablePMTHit::getNpe | ( | ) | const |
Access the Estimated number of photo-electrons [#].
| const podio::ObjectID edm4eic::MutablePMTHit::getObjectID | ( | ) | const |
| edm4hep::Vector3f & edm4eic::MutablePMTHit::getPosition | ( | ) |
Get mutable reference to PMT hit position [mm].
| const edm4hep::Vector3f & edm4eic::MutablePMTHit::getPosition | ( | ) | const |
Access the PMT hit position [mm].
| std::int32_t & edm4eic::MutablePMTHit::getSector | ( | ) |
Get mutable reference to The sector this hit occurred in.
| std::int32_t edm4eic::MutablePMTHit::getSector | ( | ) | const |
Access the The sector this hit occurred in.
| float & edm4eic::MutablePMTHit::getTime | ( | ) |
Get mutable reference to Time [ns].
| float edm4eic::MutablePMTHit::getTime | ( | ) | const |
Access the Time [ns].
| float & edm4eic::MutablePMTHit::getTimeError | ( | ) |
Get mutable reference to Error on the time [ns].
| float edm4eic::MutablePMTHit::getTimeError | ( | ) | const |
Access the Error on the time [ns].
|
inline |
| bool edm4eic::MutablePMTHit::isAvailable | ( | ) | const |
check whether the object is actually available
| edm4hep::Vector3f & edm4eic::MutablePMTHit::local | ( | ) |
Get reference to The local position of the hit in detector coordinates (relative to the sector) [mm].
| float & edm4eic::MutablePMTHit::npe | ( | ) |
Get reference to Estimated number of photo-electrons [#].
|
inline |
|
inline |
|
inline |
| MutablePMTHit & edm4eic::MutablePMTHit::operator= | ( | MutablePMTHit | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MutablePMTHit::operator== | ( | const PMTHit & | other | ) | const |
| edm4hep::Vector3f & edm4eic::MutablePMTHit::position | ( | ) |
Get reference to PMT hit position [mm].
| std::int32_t & edm4eic::MutablePMTHit::sector | ( | ) |
Get reference to The sector this hit occurred in.
| void edm4eic::MutablePMTHit::setCellID | ( | const std::uint64_t | cellID | ) |
Set the The detector specific (geometrical) cell id.
| void edm4eic::MutablePMTHit::setDimension | ( | const edm4hep::Vector3f & | dimension | ) |
Set the The dimension information of the pixel [mm].
| void edm4eic::MutablePMTHit::setLocal | ( | const edm4hep::Vector3f & | local | ) |
Set the The local position of the hit in detector coordinates (relative to the sector) [mm].
| void edm4eic::MutablePMTHit::setNpe | ( | const float | npe | ) |
Set the Estimated number of photo-electrons [#].
| void edm4eic::MutablePMTHit::setPosition | ( | const edm4hep::Vector3f & | position | ) |
Set the PMT hit position [mm].
| void edm4eic::MutablePMTHit::setSector | ( | const std::int32_t | sector | ) |
Set the The sector this hit occurred in.
| void edm4eic::MutablePMTHit::setTime | ( | const float | time | ) |
Set the Time [ns].
| void edm4eic::MutablePMTHit::setTimeError | ( | const float | timeError | ) |
Set the Error on the time [ns].
| float & edm4eic::MutablePMTHit::time | ( | ) |
Get reference to Time [ns].
| float & edm4eic::MutablePMTHit::timeError | ( | ) |
Get reference to Error on the time [ns].
|
inline |
disconnect from PMTHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |