42 using ExtraDig = std::vector<itsmft::PreDigitLabelRef>;
45 void setDigits(std::vector<o2::itsmft::Digit>* dig) { mDigits = dig; }
57 void process(
const std::vector<o2::trk::Hit>* hits,
int evID,
int srcID);
78 mEventROFrameMin = 0xffffffff;
85 void processHit(
const o2::trk::Hit& hit, uint32_t& maxFr,
int evID,
int srcID);
89 ExtraDig* getExtraDigBuffer(uint32_t roFrame)
91 if (mROFrameMin > roFrame) {
94 int ind = roFrame - mROFrameMin;
95 while (ind >=
int(mExtraBuff.size())) {
96 mExtraBuff.emplace_back(std::make_unique<ExtraDig>());
98 return mExtraBuff[ind].get();
105 int getNCols(
int subDetID,
int layer)
108 return constants::VD::petal::layer::nCols;
109 }
else if (subDetID == 1) {
119 int getNRows(
int subDetID,
int layer)
122 return constants::VD::petal::layer::nRows[
layer];
123 }
else if (subDetID == 1) {
129 static constexpr float sec2ns = 1e9;
134 double mCollisionTimeWrtROF{};
135 uint32_t mROFrameMin = 0;
136 uint32_t mROFrameMax = 0;
137 uint32_t mNewROFrame = 0;
139 uint32_t mEventROFrameMin = 0xffffffff;
140 uint32_t mEventROFrameMax = 0;
142 int mNumberOfChips = 0;
148 bool mSimRespOrientation{
false};
149 float mSimRespVDShift{0.f};
150 float mSimRespVDScaleX{1.f};
151 float mSimRespVDScaleZ{1.f};
152 float mSimRespMLOTShift{0.f};
153 float mSimRespMLOTScaleX{1.f};
154 float mSimRespMLOTScaleZ{1.f};
155 float mSimRespVDScaleDepth{1.f};
156 float mSimRespMLOTScaleDepth{1.f};
160 std::vector<o2::trk::ChipDigitsContainer> mChips;
161 std::deque<std::unique_ptr<ExtraDig>> mExtraBuff;
163 std::vector<o2::itsmft::Digit>* mDigits =
nullptr;
164 std::vector<o2::itsmft::ROFRecord>* mROFRecords =
nullptr;