EICd
EIC data model
eicd::MutableRawPMTHit Class Reference

#include <MutableRawPMTHit.h>

Public Member Functions

 MutableRawPMTHit ()
 default constructor More...
 
 MutableRawPMTHit (std::uint64_t cellID, std::uint32_t integral, std::uint32_t timeStamp)
 
 MutableRawPMTHit (RawPMTHitObj *obj)
 constructor from existing RawPMTHitObj More...
 
 MutableRawPMTHit (const MutableRawPMTHit &other)
 copy constructor More...
 
MutableRawPMTHitoperator= (MutableRawPMTHit other)
 copy-assignment operator More...
 
MutableRawPMTHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableRawPMTHit ()
 destructor More...
 
 operator RawPMTHit () const
 conversion to const object 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...
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id. More...
 
void setIntegral (std::uint32_t value)
 Set the PMT signal integral [ADC]. More...
 
void setTimeStamp (std::uint32_t value)
 Set 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 MutableRawPMTHit &other) const
 
bool operator== (const RawPMTHit &other) const
 
bool operator< (const MutableRawPMTHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

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

Detailed Description

EIC Raw PMT hit

Author
: S. Joosten, C. Peng

Constructor & Destructor Documentation

◆ MutableRawPMTHit() [1/4]

eicd::MutableRawPMTHit::MutableRawPMTHit ( )

default constructor

◆ MutableRawPMTHit() [2/4]

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

◆ MutableRawPMTHit() [3/4]

eicd::MutableRawPMTHit::MutableRawPMTHit ( RawPMTHitObj obj)

constructor from existing RawPMTHitObj

◆ MutableRawPMTHit() [4/4]

eicd::MutableRawPMTHit::MutableRawPMTHit ( const MutableRawPMTHit other)

copy constructor

◆ ~MutableRawPMTHit()

eicd::MutableRawPMTHit::~MutableRawPMTHit ( )

destructor

Member Function Documentation

◆ clone()

MutableRawPMTHit eicd::MutableRawPMTHit::clone ( ) const

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

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getIntegral()

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

Access the PMT signal integral [ADC].

◆ getObjectID()

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

◆ getTimeStamp()

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

Access the PMT signal time [TDC].

◆ id()

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

◆ isAvailable()

bool eicd::MutableRawPMTHit::isAvailable ( ) const

check whether the object is actually available

◆ operator RawPMTHit()

eicd::MutableRawPMTHit::operator RawPMTHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ setCellID()

void eicd::MutableRawPMTHit::setCellID ( std::uint64_t  value)

Set the The detector specific (geometrical) cell id.

◆ setIntegral()

void eicd::MutableRawPMTHit::setIntegral ( std::uint32_t  value)

Set the PMT signal integral [ADC].

◆ setTimeStamp()

void eicd::MutableRawPMTHit::setTimeStamp ( std::uint32_t  value)

Set the PMT signal time [TDC].

◆ unlink()

void eicd::MutableRawPMTHit::unlink ( )
inline

disconnect from RawPMTHitObj instance

Friends And Related Function Documentation

◆ RawPMTHit

friend class RawPMTHit
friend

◆ RawPMTHitCollection

friend class RawPMTHitCollection
friend

◆ RawPMTHitMutableCollectionIterator

◆ swap

void swap ( MutableRawPMTHit a,
MutableRawPMTHit b 
)
friend

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