Project
Loading...
Searching...
No Matches
o2::iotof::Cluster Class Reference

#include <Cluster.h>

Public Member Functions

 Cluster ()=default
 
 Cluster (UShort_t row, UShort_t col, UShort_t rowSpan, UShort_t colSpan, UShort_t patt, UShort_t topo, UShort_t chipID=0, time_t time=0.0f)
 
void set (UShort_t row, UShort_t col, UShort_t rowSpan, UShort_t colSpan, UShort_t patt, UShort_t topo, UShort_t chipID, time_t time)
 
uint32_t getRow () const
 
uint32_t getCol () const
 
uint8_t getRowSpan () const
 
uint8_t getColSpan () const
 
uint32_t getPattern () const
 
uint32_t getTopology () const
 
int getSize () const
 
uint32_t getChipID () const
 
uint32_t getSensorID () const
 
time_t getTime () const
 
uint64_t getPackedData () const
 
void setRow (UShort_t r)
 
void setCol (UShort_t c)
 
void setRowSpan (UShort_t rs)
 
void setColSpan (UShort_t cs)
 
void setPatternID (UShort_t p)
 
void setTopology (UShort_t t)
 
void setChipID (UShort_t c)
 
void setTime (time_t t)
 
bool operator== (const Cluster &cl) const
 
void print () const
 
std::string asString () const
 

Static Public Attributes

static constexpr uint16_t InvalidPatternID = static_cast<uint16_t>(ClusterInfo::MaskPattern)
 

Detailed Description

Definition at line 110 of file Cluster.h.

Constructor & Destructor Documentation

◆ Cluster() [1/2]

o2::iotof::Cluster::Cluster ( )
default

◆ Cluster() [2/2]

o2::iotof::Cluster::Cluster ( UShort_t  row,
UShort_t  col,
UShort_t  rowSpan,
UShort_t  colSpan,
UShort_t  patt,
UShort_t  topo,
UShort_t  chipID = 0,
time_t  time = 0.0f 
)
inline

Definition at line 116 of file Cluster.h.

Member Function Documentation

◆ asString()

std::string o2::iotof::Cluster::asString ( ) const

Definition at line 30 of file Cluster.cxx.

◆ getChipID()

uint32_t o2::iotof::Cluster::getChipID ( ) const
inline

Definition at line 149 of file Cluster.h.

◆ getCol()

uint32_t o2::iotof::Cluster::getCol ( ) const
inline

Definition at line 131 of file Cluster.h.

◆ getColSpan()

uint8_t o2::iotof::Cluster::getColSpan ( ) const
inline

Definition at line 133 of file Cluster.h.

◆ getPackedData()

uint64_t o2::iotof::Cluster::getPackedData ( ) const
inline

Definition at line 152 of file Cluster.h.

◆ getPattern()

uint32_t o2::iotof::Cluster::getPattern ( ) const
inline

Definition at line 134 of file Cluster.h.

◆ getRow()

uint32_t o2::iotof::Cluster::getRow ( ) const
inline

Definition at line 130 of file Cluster.h.

◆ getRowSpan()

uint8_t o2::iotof::Cluster::getRowSpan ( ) const
inline

Definition at line 132 of file Cluster.h.

◆ getSensorID()

uint32_t o2::iotof::Cluster::getSensorID ( ) const
inline

Definition at line 150 of file Cluster.h.

◆ getSize()

int o2::iotof::Cluster::getSize ( ) const
inline

Definition at line 136 of file Cluster.h.

◆ getTime()

time_t o2::iotof::Cluster::getTime ( ) const
inline

Definition at line 151 of file Cluster.h.

◆ getTopology()

uint32_t o2::iotof::Cluster::getTopology ( ) const
inline

Definition at line 135 of file Cluster.h.

◆ operator==()

bool o2::iotof::Cluster::operator== ( const Cluster &  cl) const
inline

Definition at line 165 of file Cluster.h.

◆ print()

void o2::iotof::Cluster::print ( ) const

Definition at line 45 of file Cluster.cxx.

◆ set()

void o2::iotof::Cluster::set ( UShort_t  row,
UShort_t  col,
UShort_t  rowSpan,
UShort_t  colSpan,
UShort_t  patt,
UShort_t  topo,
UShort_t  chipID,
time_t  time 
)
inline

Definition at line 122 of file Cluster.h.

◆ setChipID()

void o2::iotof::Cluster::setChipID ( UShort_t  c)
inline

Definition at line 161 of file Cluster.h.

◆ setCol()

void o2::iotof::Cluster::setCol ( UShort_t  c)
inline

Definition at line 156 of file Cluster.h.

◆ setColSpan()

void o2::iotof::Cluster::setColSpan ( UShort_t  cs)
inline

Definition at line 158 of file Cluster.h.

◆ setPatternID()

void o2::iotof::Cluster::setPatternID ( UShort_t  p)
inline

Definition at line 159 of file Cluster.h.

◆ setRow()

void o2::iotof::Cluster::setRow ( UShort_t  r)
inline

Definition at line 155 of file Cluster.h.

◆ setRowSpan()

void o2::iotof::Cluster::setRowSpan ( UShort_t  rs)
inline

Definition at line 157 of file Cluster.h.

◆ setTime()

void o2::iotof::Cluster::setTime ( time_t  t)
inline

Definition at line 162 of file Cluster.h.

◆ setTopology()

void o2::iotof::Cluster::setTopology ( UShort_t  t)
inline

Definition at line 160 of file Cluster.h.

Member Data Documentation

◆ InvalidPatternID

constexpr uint16_t o2::iotof::Cluster::InvalidPatternID = static_cast<uint16_t>(ClusterInfo::MaskPattern)
staticconstexpr

Definition at line 113 of file Cluster.h.


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