20#ifndef ALICEO2_IOTOF_CHIP_H_
21#define ALICEO2_IOTOF_CHIP_H_
91 std::map<DigitKey, o2::iotof::LabeledDigit>
mDigits;
102 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< double > mMaskStates
Vector of the last time the RO column was masked.
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
std::vector< std::array< double, 4 > > & getTDCStates()
std::vector< double > & getMaskStates()
~Chip()=default
Destructor.
std::vector< std::array< double, 4 > > mTDCStates
Vector of the last times the TDC pairs went busy.
std::map< DigitKey, o2::iotof::LabeledDigit > & getDigits()
void resizeMaskStates(int const size)
o2::iotof::LabeledDigit * findDigit(DigitKey key)
reset points container
GLuint GLsizei const GLchar * label