EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MutableRawTrackerHit Class Reference

#include <MutableRawTrackerHit.h>

Public Types

using object_type = RawTrackerHit
 
using collection_type = RawTrackerHitCollection
 

Public Member Functions

 MutableRawTrackerHit ()
 default constructor
 
 MutableRawTrackerHit (std::uint64_t cellID, std::int32_t charge, std::int32_t timeStamp)
 Constructor initializing all members.
 
 MutableRawTrackerHit (const MutableRawTrackerHit &other)=default
 copy constructor
 
MutableRawTrackerHitoperator= (MutableRawTrackerHit other)
 copy-assignment operator
 
MutableRawTrackerHit clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableRawTrackerHit ()=default
 destructor
 
 operator RawTrackerHit () const
 conversion to const object
 
std::uint64_t getCellID () const
 Access the The detector specific (geometrical) cell id.
 
std::int32_t getCharge () const
 Access the ADC value.
 
std::int32_t getTimeStamp () const
 Access the TDC value.
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id.
 
void setCharge (std::int32_t value)
 Set the ADC value.
 
void setTimeStamp (std::int32_t value)
 Set the TDC value.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from RawTrackerHitObj instance
 
bool operator== (const MutableRawTrackerHit &other) const
 
bool operator== (const RawTrackerHit &other) const
 
bool operator< (const MutableRawTrackerHit &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawTrackerHitCollection
 
class RawTrackerHitMutableCollectionIterator
 
class RawTrackerHit
 
void swap (MutableRawTrackerHit &a, MutableRawTrackerHit &b)
 

Detailed Description

Raw (digitized) tracker hit

Author
: W. Armstrong, S. Joosten

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableRawTrackerHit() [1/3]

edm4eic::MutableRawTrackerHit::MutableRawTrackerHit ( )

default constructor

◆ MutableRawTrackerHit() [2/3]

edm4eic::MutableRawTrackerHit::MutableRawTrackerHit ( std::uint64_t cellID,
std::int32_t charge,
std::int32_t timeStamp )

Constructor initializing all members.

◆ MutableRawTrackerHit() [3/3]

edm4eic::MutableRawTrackerHit::MutableRawTrackerHit ( const MutableRawTrackerHit & other)
default

copy constructor

◆ ~MutableRawTrackerHit()

edm4eic::MutableRawTrackerHit::~MutableRawTrackerHit ( )
default

destructor

Member Function Documentation

◆ clone()

MutableRawTrackerHit edm4eic::MutableRawTrackerHit::clone ( ) const

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

◆ getCellID()

std::uint64_t edm4eic::MutableRawTrackerHit::getCellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ getCharge()

std::int32_t edm4eic::MutableRawTrackerHit::getCharge ( ) const

Access the ADC value.

◆ getObjectID()

const podio::ObjectID edm4eic::MutableRawTrackerHit::getObjectID ( ) const

◆ getTimeStamp()

std::int32_t edm4eic::MutableRawTrackerHit::getTimeStamp ( ) const

Access the TDC value.

◆ id()

podio::ObjectID edm4eic::MutableRawTrackerHit::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MutableRawTrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator RawTrackerHit()

edm4eic::MutableRawTrackerHit::operator RawTrackerHit ( ) const

conversion to const object

◆ operator<()

bool edm4eic::MutableRawTrackerHit::operator< ( const MutableRawTrackerHit & other) const
inline

◆ operator=()

MutableRawTrackerHit & edm4eic::MutableRawTrackerHit::operator= ( MutableRawTrackerHit other)

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableRawTrackerHit::operator== ( const MutableRawTrackerHit & other) const
inline

◆ operator==() [2/2]

bool edm4eic::MutableRawTrackerHit::operator== ( const RawTrackerHit & other) const

◆ setCellID()

void edm4eic::MutableRawTrackerHit::setCellID ( std::uint64_t value)

Set the The detector specific (geometrical) cell id.

◆ setCharge()

void edm4eic::MutableRawTrackerHit::setCharge ( std::int32_t value)

Set the ADC value.

◆ setTimeStamp()

void edm4eic::MutableRawTrackerHit::setTimeStamp ( std::int32_t value)

Set the TDC value.

◆ unlink()

void edm4eic::MutableRawTrackerHit::unlink ( )
inline

disconnect from RawTrackerHitObj instance

Friends And Related Symbol Documentation

◆ RawTrackerHit

friend class RawTrackerHit
friend

◆ RawTrackerHitCollection

friend class RawTrackerHitCollection
friend

◆ RawTrackerHitMutableCollectionIterator

◆ swap

void swap ( MutableRawTrackerHit & a,
MutableRawTrackerHit & b )
friend

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