EICd
EIC data model
|
#include <MutablePMTHit.h>
Public Member Functions | |
MutablePMTHit () | |
default constructor More... | |
MutablePMTHit (std::uint64_t cellID, float npe, float time, float timeError, edm4hep::Vector3f position, edm4hep::Vector3f dimension, std::int32_t sector, edm4hep::Vector3f local) | |
MutablePMTHit (PMTHitObj *obj) | |
constructor from existing PMTHitObj More... | |
MutablePMTHit (const MutablePMTHit &other) | |
copy constructor More... | |
MutablePMTHit & | operator= (MutablePMTHit other) |
copy-assignment operator More... | |
MutablePMTHit | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~MutablePMTHit () | |
destructor More... | |
operator PMTHit () const | |
conversion to const object More... | |
const std::uint64_t & | getCellID () const |
Access the The detector specific (geometrical) cell id. More... | |
const float & | getNpe () const |
Access the Estimated number of photo-electrons [#]. More... | |
const float & | getTime () const |
Access the Time [ns]. More... | |
const float & | getTimeError () const |
Access the Error on the time [ns]. More... | |
const edm4hep::Vector3f & | getPosition () const |
Access the PMT hit position [mm]. More... | |
const edm4hep::Vector3f & | getDimension () const |
Access the The dimension information of the pixel [mm]. More... | |
const std::int32_t & | getSector () const |
Access the The sector this hit occured in. More... | |
const edm4hep::Vector3f & | getLocal () const |
Access the The local position of the hit in detector coordinates (relative to the sector) [mm]. More... | |
void | setCellID (std::uint64_t value) |
Set the The detector specific (geometrical) cell id. More... | |
void | setNpe (float value) |
Set the Estimated number of photo-electrons [#]. More... | |
void | setTime (float value) |
Set the Time [ns]. More... | |
void | setTimeError (float value) |
Set the Error on the time [ns]. More... | |
void | setPosition (edm4hep::Vector3f value) |
Set the PMT hit position [mm]. More... | |
edm4hep::Vector3f & | position () |
Get reference to PMT hit position [mm]. More... | |
void | setDimension (edm4hep::Vector3f value) |
Set the The dimension information of the pixel [mm]. More... | |
edm4hep::Vector3f & | dimension () |
Get reference to The dimension information of the pixel [mm]. More... | |
void | setSector (std::int32_t value) |
Set the The sector this hit occured in. More... | |
void | setLocal (edm4hep::Vector3f value) |
Set the The local position of the hit in detector coordinates (relative to the sector) [mm]. More... | |
edm4hep::Vector3f & | local () |
Get reference to The local position of the hit in detector coordinates (relative to the sector) [mm]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from PMTHitObj instance More... | |
bool | operator== (const MutablePMTHit &other) const |
bool | operator== (const PMTHit &other) const |
bool | operator< (const MutablePMTHit &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | PMTHitCollection |
class | PMTHitMutableCollectionIterator |
class | PMTHit |
void | swap (MutablePMTHit &a, MutablePMTHit &b) |
EIC PMT hit
eicd::MutablePMTHit::MutablePMTHit | ( | ) |
default constructor
eicd::MutablePMTHit::MutablePMTHit | ( | std::uint64_t | cellID, |
float | npe, | ||
float | time, | ||
float | timeError, | ||
edm4hep::Vector3f | position, | ||
edm4hep::Vector3f | dimension, | ||
std::int32_t | sector, | ||
edm4hep::Vector3f | local | ||
) |
eicd::MutablePMTHit::MutablePMTHit | ( | const MutablePMTHit & | other | ) |
copy constructor
eicd::MutablePMTHit::~MutablePMTHit | ( | ) |
destructor
MutablePMTHit eicd::MutablePMTHit::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
edm4hep::Vector3f & eicd::MutablePMTHit::dimension | ( | ) |
Get reference to The dimension information of the pixel [mm].
const std::uint64_t & eicd::MutablePMTHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
const edm4hep::Vector3f & eicd::MutablePMTHit::getDimension | ( | ) | const |
Access the The dimension information of the pixel [mm].
const edm4hep::Vector3f & eicd::MutablePMTHit::getLocal | ( | ) | const |
Access the The local position of the hit in detector coordinates (relative to the sector) [mm].
const float & eicd::MutablePMTHit::getNpe | ( | ) | const |
Access the Estimated number of photo-electrons [#].
const podio::ObjectID eicd::MutablePMTHit::getObjectID | ( | ) | const |
const edm4hep::Vector3f & eicd::MutablePMTHit::getPosition | ( | ) | const |
Access the PMT hit position [mm].
const std::int32_t & eicd::MutablePMTHit::getSector | ( | ) | const |
Access the The sector this hit occured in.
const float & eicd::MutablePMTHit::getTime | ( | ) | const |
Access the Time [ns].
const float & eicd::MutablePMTHit::getTimeError | ( | ) | const |
Access the Error on the time [ns].
|
inline |
bool eicd::MutablePMTHit::isAvailable | ( | ) | const |
check whether the object is actually available
edm4hep::Vector3f & eicd::MutablePMTHit::local | ( | ) |
Get reference to The local position of the hit in detector coordinates (relative to the sector) [mm].
eicd::MutablePMTHit::operator PMTHit | ( | ) | const |
conversion to const object
|
inline |
MutablePMTHit & eicd::MutablePMTHit::operator= | ( | MutablePMTHit | other | ) |
copy-assignment operator
|
inline |
bool eicd::MutablePMTHit::operator== | ( | const PMTHit & | other | ) | const |
edm4hep::Vector3f & eicd::MutablePMTHit::position | ( | ) |
Get reference to PMT hit position [mm].
void eicd::MutablePMTHit::setCellID | ( | std::uint64_t | value | ) |
Set the The detector specific (geometrical) cell id.
void eicd::MutablePMTHit::setDimension | ( | edm4hep::Vector3f | value | ) |
Set the The dimension information of the pixel [mm].
void eicd::MutablePMTHit::setLocal | ( | edm4hep::Vector3f | value | ) |
Set the The local position of the hit in detector coordinates (relative to the sector) [mm].
void eicd::MutablePMTHit::setNpe | ( | float | value | ) |
Set the Estimated number of photo-electrons [#].
void eicd::MutablePMTHit::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the PMT hit position [mm].
void eicd::MutablePMTHit::setSector | ( | std::int32_t | value | ) |
Set the The sector this hit occured in.
void eicd::MutablePMTHit::setTime | ( | float | value | ) |
Set the Time [ns].
void eicd::MutablePMTHit::setTimeError | ( | float | value | ) |
Set the Error on the time [ns].
|
inline |
disconnect from PMTHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |