15#include "fairlogger/Logger.h"
20using namespace constants;
61 mDetector = ((((
phase) & 0x3) << 12) | (mDetector & 0xfff));
66 if (mChannel == 0 || mChannel == 1 || mChannel == NADCMCM - 1) {
80 auto itMax = std::max_element(mADC.begin(), mADC.end());
81 idx = std::distance(mADC.begin(), itMax);
88 for (
int i = 0;
i < constants::TIMEBINS;
i++) {
ADC_t getADCmax(int &idx) const
bool isNeighbour(const Digit &other) const
bool isSharedDigit() const
void setADC(ArrayADC const &adc)
void setPreTrigPhase(int phase)
ArrayADC const & getADC() const
void setDetector(int det)
void setChannel(int channel)
std::array< ADC_t, constants::TIMEBINS > ArrayADC
std::ostream & operator<<(std::ostream &stream, const Digit &d)
static int getStack(int det)
static int getLayer(int det)
static int getSector(int det)
VectorOfTObjectPtrs other