Skip to content

Commit b13e0dc

Browse files
authored
Fix o2 building issue
1 parent 9459a2a commit b13e0dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longrangeCorrelation.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,14 @@ struct LongrangeCorrelation {
278278
Filter fMftTrackColID = (aod::fwdtrack::bestCollisionId >= 0);
279279
Filter fMftTrackDca = (nabs(aod::fwdtrack::bestDCAXY) < cfigMftDcaxy);
280280

281-
double getPhiFT0(uint_t chno, int i)
281+
double getPhiFT0(uint chno, int i)
282282
{
283283
ft0Det.calculateChannelCenter();
284284
auto chPos = ft0Det.getChannelCenter(chno);
285285
return RecoDecay::phi(chPos.X() + (*offsetFT0)[i].getX(), chPos.Y() + (*offsetFT0)[i].getY());
286286
}
287287

288-
double getPhiFV0(uint_t chno)
288+
double getPhiFV0(uint chno)
289289
{
290290
int cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
291291
bool isChnoInLeft = std::find(std::begin(cellsInLeft), std::end(cellsInLeft), chno) != std::end(cellsInLeft);
@@ -306,7 +306,7 @@ struct LongrangeCorrelation {
306306
return RecoDecay::phi(chPos.x + offsetX, chPos.y + offsetY);
307307
}
308308

309-
double getEtaFT0(uint_t chno, int i)
309+
double getEtaFT0(uint chno, int i)
310310
{
311311
ft0Det.calculateChannelCenter();
312312
auto chPos = ft0Det.getChannelCenter(chno);
@@ -318,7 +318,7 @@ struct LongrangeCorrelation {
318318
return -std::log(std::tan(0.5 * theta));
319319
}
320320

321-
double getEtaFV0(uint_t chno)
321+
double getEtaFV0(uint chno)
322322
{
323323
int cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
324324
bool isChnoInLeft = std::find(std::begin(cellsInLeft), std::end(cellsInLeft), chno) != std::end(cellsInLeft);
@@ -381,7 +381,7 @@ struct LongrangeCorrelation {
381381
for (auto const& iTrk : tracks) {
382382
auto phi = iTrk.phi();
383383
if constexpr (corrType == kFV0MFT || corrType == kFT0AMFT) {
384-
phi = o2::math_utils::bringTo02Pi(phi);
384+
o2::math_utils::bringTo02Pi(phi);
385385
}
386386
histos.fill(HIST(kCorrType[corrType]) + HIST(kEvntType[evntType]) + HIST("Trig_etavsphi"), phi, iTrk.eta());
387387
histos.fill(HIST(kCorrType[corrType]) + HIST(kEvntType[evntType]) + HIST("Trig_eta"), iTrk.eta());

0 commit comments

Comments
 (0)