EICd
EIC data model
eic::ConstPMTHit Class Reference

#include <PMTHitConst.h>

Public Member Functions

 ConstPMTHit ()
 default constructor More...
 
 ConstPMTHit (eic::Index ID, std::int64_t cellID, float npe, float time, float timeError, eic::VectorXYZ position, eic::VectorXYZ local, eic::VectorXYZ dimension)
 
 ConstPMTHit (PMTHitObj *obj)
 constructor from existing PMTHitObj More...
 
 ConstPMTHit (const ConstPMTHit &other)
 copy constructor More...
 
ConstPMTHitoperator= (const ConstPMTHit &other)
 copy-assignment operator More...
 
ConstPMTHit clone () const
 support cloning (deep-copy) More...
 
 ~ConstPMTHit ()
 destructor More...
 
const eic::IndexID () const
 Access the Unique hit ID. More...
 
const std::int64_t & cellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const float & npe () const
 Access the estimated number of photo-electrons [#]. More...
 
const float & time () const
 Access the Time [ns]. More...
 
const float & timeError () const
 Access the Error on the time [ns]. More...
 
const eic::VectorXYZposition () const
 Access the PMT hit position [mm]. More...
 
const eic::VectorXYZlocal () const
 Access the The local position of the hit in detector coordinates [mm]. More...
 
const eic::VectorXYZdimension () const
 Access the The dimension information of the pixel [mm]. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from PMTHitObj instance More...
 
bool operator== (const ConstPMTHit &other) const
 
bool operator== (const PMTHit &other) const
 
bool operator< (const ConstPMTHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class PMTHit
 
class PMTHitCollection
 
class PMTHitConstCollectionIterator
 

Detailed Description

EIC PMT hit

Author
: S. Joosten, C. Peng

Constructor & Destructor Documentation

◆ ConstPMTHit() [1/4]

eic::ConstPMTHit::ConstPMTHit ( )

default constructor

◆ ConstPMTHit() [2/4]

eic::ConstPMTHit::ConstPMTHit ( eic::Index  ID,
std::int64_t  cellID,
float  npe,
float  time,
float  timeError,
eic::VectorXYZ  position,
eic::VectorXYZ  local,
eic::VectorXYZ  dimension 
)

◆ ConstPMTHit() [3/4]

eic::ConstPMTHit::ConstPMTHit ( PMTHitObj obj)

constructor from existing PMTHitObj

◆ ConstPMTHit() [4/4]

eic::ConstPMTHit::ConstPMTHit ( const ConstPMTHit other)

copy constructor

◆ ~ConstPMTHit()

eic::ConstPMTHit::~ConstPMTHit ( )

destructor

Member Function Documentation

◆ cellID()

const std::int64_t & eic::ConstPMTHit::cellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ clone()

ConstPMTHit eic::ConstPMTHit::clone ( ) const

support cloning (deep-copy)

◆ dimension()

const eic::VectorXYZ & eic::ConstPMTHit::dimension ( ) const

Access the The dimension information of the pixel [mm].

◆ getObjectID()

const podio::ObjectID eic::ConstPMTHit::getObjectID ( ) const

◆ ID()

const eic::Index & eic::ConstPMTHit::ID ( ) const

Access the Unique hit ID.

◆ id()

unsigned int eic::ConstPMTHit::id ( ) const
inline

◆ isAvailable()

bool eic::ConstPMTHit::isAvailable ( ) const

check whether the object is actually available

◆ local()

const eic::VectorXYZ & eic::ConstPMTHit::local ( ) const

Access the The local position of the hit in detector coordinates [mm].

◆ npe()

const float & eic::ConstPMTHit::npe ( ) const

Access the estimated number of photo-electrons [#].

◆ operator<()

bool eic::ConstPMTHit::operator< ( const ConstPMTHit other) const
inline

◆ operator=()

ConstPMTHit & eic::ConstPMTHit::operator= ( const ConstPMTHit other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::ConstPMTHit::operator== ( const ConstPMTHit other) const
inline

◆ operator==() [2/2]

bool eic::ConstPMTHit::operator== ( const PMTHit other) const

◆ position()

const eic::VectorXYZ & eic::ConstPMTHit::position ( ) const

Access the PMT hit position [mm].

◆ time()

const float & eic::ConstPMTHit::time ( ) const

Access the Time [ns].

◆ timeError()

const float & eic::ConstPMTHit::timeError ( ) const

Access the Error on the time [ns].

◆ unlink()

void eic::ConstPMTHit::unlink ( )
inline

disconnect from PMTHitObj instance

Friends And Related Function Documentation

◆ PMTHit

friend class PMTHit
friend

◆ PMTHitCollection

friend class PMTHitCollection
friend

◆ PMTHitConstCollectionIterator

friend class PMTHitConstCollectionIterator
friend

The documentation for this class was generated from the following files: