15#ifndef ALICEO2_ITSMFT_DIGITPIXELREADER_H
16#define ALICEO2_ITSMFT_DIGITPIXELREADER_H
58 void setDigits(
const gsl::span<const o2::itsmft::Digit>
a)
62 if (mSquashOverflowsDepth) {
63 mSquashedDigitsMask.resize(
a.size(),
false);
64 mBookmarkNextROFs.resize(mSquashOverflowsDepth, 0);
76 return mDigitsMCTruth;
100 mSquashOverflowsDepth =
v;
112 mMaxBCSeparationToSquash =
n;
121 chipData.
getData().emplace_back(dig);
126 std::vector<o2::itsmft::Digit>* mDigitsSelf =
nullptr;
127 std::vector<o2::itsmft::ROFRecord>* mROFRecVecSelf =
nullptr;
128 std::vector<o2::itsmft::MC2ROFRecord>* mMC2ROFRecVecSelf =
nullptr;
131 gsl::span<const o2::itsmft::Digit> mDigits;
132 gsl::span<const o2::itsmft::ROFRecord> mROFRecVec;
133 gsl::span<const o2::itsmft::MC2ROFRecord> mMC2ROFRecVec;
139 std::unique_ptr<TTree> mInputTree;
142 int16_t mSquashOverflowsDepth = 0;
143 std::vector<bool> mSquashedDigitsMask;
144 uint16_t mMaxSquashDist = 1;
145 int mMaxBCSeparationToSquash;
146 std::vector<int> mBookmarkNextROFs;
A const (ready only) version of MCTruthContainer.
A special IO container - splitting a given vector to enable ROOT IO.
Transient data classes for single pixel and set of pixels from current chip.
Abstract class for Alpide data reader class.
Static class with identifiers, bitmasks and names for ALICE detectors.
const std::vector< PixelData > & getData() const
int decodeNextTrigger() override
void squashNeighbours(const uint16_t &iROF, const int &iDigit, const int &maxDigits, ChipPixelData &chipData)
uint16_t getSquashingDist()
void setDigitsMCTruth(const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > *m)
bool getNextChipData(ChipPixelData &chipData) override
const auto getMC2ROFRecords() const
void openInput(const std::string rawInput, o2::detectors::DetID det)
void setDigits(const gsl::span< const o2::itsmft::Digit > a)
void setSquashingDist(const int16_t v)
DigitPixelReader()=default
const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > * getDigitsMCTruth() const override
~DigitPixelReader() override
uint16_t getSquashingDepth()
void setMaxBCSeparationToSquash(int n)
void setMC2ROFRecords(const gsl::span< const o2::itsmft::MC2ROFRecord > a)
int getMaxBCSeparationToSquash() const
void setROFRecords(const gsl::span< const o2::itsmft::ROFRecord > a)
void setSquashingDepth(const int16_t v)
PixelReader class for the ITSMFT.
GLboolean GLboolean GLboolean GLboolean a
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...