Skip to content

Commit fc7fef4

Browse files
committed
Please consider the following formatting changes
1 parent af0bd6a commit fc7fef4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

ALICE3/Core/FlatLutEntry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ class FlatLutData
125125
/**
126126
* @brief Get raw data buffer
127127
*/
128-
uint8_t* data() { return mData.data(); } // owned
129-
const uint8_t* data() const { return mDataRef.data(); } //view
128+
uint8_t* data() { return mData.data(); } // owned
129+
const uint8_t* data() const { return mDataRef.data(); } // view
130130

131131
/**
132132
* @brief Total size in bytes

ALICE3/Core/FlatTrackSmearer.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ bool TrackSmearer::smearTrack(O2Track& o2track, const lutEntry_t* lutEntry, floa
299299
if (mInterpolateEfficiency) {
300300
eff = interpolatedEff;
301301
}
302-
if (gRandom->Uniform() > eff) {//FIXME: use a fixed RNG instead of whatever ROOT has as a default
302+
if (gRandom->Uniform() > eff) { // FIXME: use a fixed RNG instead of whatever ROOT has as a default
303303
isReconstructed = false;
304304
}
305305
}
@@ -376,9 +376,9 @@ double TrackSmearer::getEtaRes(const int pdg, const float nch, const float eta,
376376
{
377377
float dummy = 0.0f;
378378
const lutEntry_t* lutEntry = getLUTEntry(pdg, nch, 0.f, eta, pt, dummy);
379-
auto sigmatgl = std::sqrt(lutEntry->covm[9]); // sigmatgl2
380-
auto etaRes = std::fabs(std::sin(2.0 * std::atan(std::exp(-eta)))) * sigmatgl; // propagate tgl to eta uncertainty
381-
etaRes /= lutEntry->eta; // relative uncertainty
379+
auto sigmatgl = std::sqrt(lutEntry->covm[9]); // sigmatgl2
380+
auto etaRes = std::fabs(std::sin(2.0 * std::atan(std::exp(-eta)))) * sigmatgl; // propagate tgl to eta uncertainty
381+
etaRes /= lutEntry->eta; // relative uncertainty
382382
return etaRes;
383383
}
384384

0 commit comments

Comments
 (0)