EICd
EIC data model
eicd::RawPMTHit Class Reference

#include <RawPMTHit.h>

Public Member Functions

 RawPMTHit ()
 default constructor More...
 
 RawPMTHit (std::uint64_t cellID, std::uint32_t integral, std::uint32_t timeStamp)
 
 RawPMTHit (RawPMTHitObj *obj)
 constructor from existing RawPMTHitObj More...
 
 RawPMTHit (const RawPMTHit &other)
 copy constructor More...
 
RawPMTHitoperator= (RawPMTHit other)
 copy-assignment operator More...
 
MutableRawPMTHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~RawPMTHit ()
 destructor More...
 
const std::uint64_t & getCellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const std::uint32_t & getIntegral () const
 Access the PMT signal integral [ADC]. More...
 
const std::uint32_t & getTimeStamp () const
 Access the PMT signal time [TDC]. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from RawPMTHitObj instance More...
 
bool operator== (const RawPMTHit &other) const
 
bool operator== (const MutableRawPMTHit &other) const
 
bool operator< (const RawPMTHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MutableRawPMTHit
 
class RawPMTHitCollection
 
class RawPMTHitCollectionIterator
 
void swap (RawPMTHit &a, RawPMTHit &b)
 

Detailed Description

EIC Raw PMT hit

Author
: S. Joosten, C. Peng

Constructor & Destructor Documentation

◆ RawPMTHit() [1/4]

eicd::RawPMTHit::RawPMTHit ( )

default constructor

◆ RawPMTHit() [2/4]

eicd::RawPMTHit::RawPMTHit ( std::uint64_t  cellID,
std::uint32_t  integral,
std::uint32_t  timeStamp 
)

◆ RawPMTHit() [3/4]

eicd::RawPMTHit::RawPMTHit ( RawPMTHitObj obj)

constructor from existing RawPMTHitObj

◆ RawPMTHit() [4/4]

eicd::RawPMTHit::RawPMTHit ( const RawPMTHit other)

copy constructor

◆ ~RawPMTHit()

eicd::RawPMTHit::~RawPMTHit ( )

destructor

Member Function Documentation

◆ clone()

MutableRawPMTHit eicd::RawPMTHit::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getCellID()

const std::uint64_t & eicd::RawPMTHit::getCellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ getIntegral()

const std::uint32_t & eicd::RawPMTHit::getIntegral ( ) const

Access the PMT signal integral [ADC].

◆ getObjectID()

const podio::ObjectID eicd::RawPMTHit::getObjectID ( ) const

◆ getTimeStamp()

const std::uint32_t & eicd::RawPMTHit::getTimeStamp ( ) const

Access the PMT signal time [TDC].

◆ id()

unsigned int eicd::RawPMTHit::id ( ) const
inline

◆ isAvailable()

bool eicd::RawPMTHit::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

bool eicd::RawPMTHit::operator< ( const RawPMTHit other) const
inline

◆ operator=()

RawPMTHit & eicd::RawPMTHit::operator= ( RawPMTHit  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::RawPMTHit::operator== ( const MutableRawPMTHit other) const

◆ operator==() [2/2]

bool eicd::RawPMTHit::operator== ( const RawPMTHit other) const
inline

◆ unlink()

void eicd::RawPMTHit::unlink ( )
inline

disconnect from RawPMTHitObj instance

Friends And Related Function Documentation

◆ MutableRawPMTHit

friend class MutableRawPMTHit
friend

◆ RawPMTHitCollection

friend class RawPMTHitCollection
friend

◆ RawPMTHitCollectionIterator

friend class RawPMTHitCollectionIterator
friend

◆ swap

void swap ( RawPMTHit a,
RawPMTHit b 
)
friend

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