15#ifndef ALICEO2_ITSMFT_DIGIPARAMS_H
16#define ALICEO2_ITSMFT_DIGIPARAMS_H
39class AlpideSimResponse;
89 float getVbb()
const {
return mVbb; }
107 virtual void print()
const;
110 static constexpr double infTime = 1e99;
111 bool mIsContinuous =
false;
112 float mNoisePerPixel = 1.e-8;
113 int mROFrameLengthInBC = 0;
114 float mROFrameLength = 0;
115 float mStrobeDelay = 0.;
116 float mStrobeLength = 0;
117 double mTimeOffset = -2 * infTime;
118 int mROFrameBiasInBC = 0;
119 int mChargeThreshold = 150;
120 int mMinChargeToAccount = 15;
122 float mEnergyToNElectrons = 1. / 3.6e-9;
128 std::vector<int> mROFrameLayerLengthInBC;
129 std::vector<int> mROFrameLayerBiasInBC;
130 std::vector<float> mROFrameLayerLength;
131 std::vector<float> mStrobeLayerLength;
132 std::vector<float> mStrobeLayerDelay;
139 float mROFrameLengthInv = 0;
140 std::vector<float> mROFrameLayerLengthInv;
141 float mNSimStepsInv = 0;
Simple class describing ALPIDE signal time shape.
void addROFrameLayerBiasInBC(int len)
void setROFrameLength(float ns, int layer=-1)
int getMinChargeToAccount() const
void setEnergyToNElectrons(float v)
float getStrobeDelay(int layer=-1) const
void setAlpSimResponse(const o2::itsmft::AlpideSimResponse *par)
const o2::itsmft::AlpideSimResponse * getAlpSimResponse() const
void setNoisePerPixel(float v)
void addStrobeLength(float ns)
double getTimeOffset() const
virtual void print() const
void setChargeThreshold(int v, float frac2Account=0.1)
int getROFrameBiasInBC(int layer=-1) const
float getROFrameLengthInv(int layer=-1) const
const SignalShape & getSignalShape() const
void setTimeOffset(double sec)
void setStrobeDelay(float ns)
float getStrobeLength(int layer=-1) const
void addStrobeDelay(float ns)
float getEnergyToNElectrons() const
void setROFrameLengthInBC(int n, int layer=-1)
bool withStaggering() const noexcept
int getROFrameLengthInBC(int layer=-1) const
bool isContinuous() const
void addROFrameLayerLengthInBC(int len)
void setStrobeLength(float ns)
int getChargeThreshold() const
float getNoisePerPixel() const
float getNSimStepsInv() const
SignalShape & getSignalShape()
float getROFrameLength(int layer=-1) const
void setROFrameBiasInBC(int n, int layer=-1)
void setContinuous(bool v)
bool isTimeOffsetSet() const
GLenum GLuint GLint GLint layer
GLenum GLenum GLsizei len
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...