20#ifndef ALICEO2_IOTOF_CHIP_H_
21#define ALICEO2_IOTOF_CHIP_H_
88 std::map<DigitKey, o2::iotof::LabeledDigit>
mDigits;
98 return digitentry !=
mDigits.end() ? &(digitentry->second) :
nullptr;
Container for similated points connected to a given TOF Chip This will be used in order to allow a mo...
std::vector< std::array< double, 2 > > & getTDCStates()
void addDigit(UShort_t row, UShort_t col, Int_t charge, double time, ULong64_t bc, Int_t tdc, o2::MCCompLabel label)
bool mDisabled
Flag to indicate if the chip is disabled (e.g. due to dead channels)
Chip(const Chip &ref)=default
void resizeTDCStates(int const size)
Resize the vector of tdc states.
Chip()=default
Default constructor.
Int_t getNumberOfDigits() const
void disable(bool disable)
std::map< DigitKey, o2::iotof::LabeledDigit > mDigits
Map of fired digits, possibly in multiple frames.
void setChipIndex(Int_t index)
Int_t getChipIndex() const
~Chip()=default
Destructor.
std::vector< std::array< double, 2 > > mTDCStates
Vector of the last times the TDC pairs went busy.
std::map< DigitKey, o2::iotof::LabeledDigit > & getDigits()
o2::iotof::LabeledDigit * findDigit(DigitKey key)
reset points container
GLuint GLsizei const GLchar * label