Skip to content

Commit 2658bc0

Browse files
authored
use new names from dpldigitizerparames
1 parent 954c9c5 commit 2658bc0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ void Digitizer::init()
5151
}
5252

5353
LOG(info) << "Initializing IOTOF digitizer";
54-
LOG(info) << " Time resolution: " << mTimeResolution * 1e3 << " ps";
54+
LOG(info) << " Time resolution: " << timeResolution * 1e3 << " ps";
5555
LOG(info) << " Charge threshold: " << chargeThreshold << " electrons";
56-
LOG(info) << " Detection efficiency: " << mEfficiency * 100 << " %";
56+
LOG(info) << " Detection efficiency: " << efficiency * 100 << " %";
5757
LOG(info) << " Continuous mode: " << (mContinuous ? "ON" : "OFF");
5858
sSegmentation = o2::iotof::Segmentation::Instance();
5959
}
@@ -256,8 +256,8 @@ void Digitizer::stepping(const o2::itsmft::Hit& hit, float**& respMatrix, int& r
256256
double Digitizer::smearTime(double time) const
257257
{
258258
// Apply Gaussian smearing to simulate detector time resolution
259-
if (mTimeResolution > 0) {
260-
return time + gRandom->Gaus(0, mTimeResolution);
259+
if (timeResolution > 0) {
260+
return time + gRandom->Gaus(0, timeResolution);
261261
}
262262
return time;
263263
}
@@ -275,7 +275,7 @@ int Digitizer::energyToCharge(float energyLoss) const
275275
bool Digitizer::isEfficient() const
276276
{
277277
// Apply efficiency cut using random number
278-
return gRandom->Uniform() < mEfficiency;
278+
return gRandom->Uniform() < efficiency;
279279
}
280280

281281
//_______________________________________________________________________

0 commit comments

Comments
 (0)