33 mIBNSimSteps =
v > 0 ?
v : 1;
34 mIBNSimStepsInv = 1.f / mIBNSimSteps;
41 mIBChargeThreshold =
v;
42 mIBMinChargeToAccount =
v * frac2Account;
43 if (mIBMinChargeToAccount < 0 || mIBMinChargeToAccount > mIBChargeThreshold) {
44 mIBMinChargeToAccount = mIBChargeThreshold;
46 LOG(info) <<
"Set Mosaix charge threshold to " << mIBChargeThreshold
47 <<
", single hit will be accounted from " << mIBMinChargeToAccount
54 printf(
"ITS3 DigiParams settings:\n");
55 printf(
"Continuous readout : %s\n",
isContinuous() ?
"ON" :
"OFF");
63 printf(
"Number of charge sharing steps of IB : %d\n",
getIBNSimSteps());
64 printf(
"Number of charge sharing steps of OB : %d\n",
getNSimSteps());
68 printf(
"Charge time-response:\n");
74 mIBSimResponse = response;
ClassImp(o2::its3::DigiParams)
void computeCentreFromData()
int getIBMinChargeToAccount() const
void setIBNSimSteps(int v)
void setIBChargeThreshold(int v, float frac2Account=0.1)
float getIBNoisePerPixel() const
int getIBChargeThreshold() const
int getIBNSimSteps() const
void setIBSimResponse(o2::its3::ChipSimResponse *response)
int getMinChargeToAccount() const
const SignalShape & getSignalShape() const
float getEnergyToNElectrons() const
float getStrobeDelay() const
bool isContinuous() const
int getChargeThreshold() const
float getNoisePerPixel() const
float getROFrameLength() const
float getStrobeLength() const
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"