Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGCF/JCorran/Tasks/jEPFlowAnalysis.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -148,7 +148,7 @@
}
}

for (int i = initflow; i < initflow + cfgNmode; i++) { // loop over different harmonic orders
for (int i = initflow; i < initflow + cfgNmode; i++) { // loop over different harmonic orders
harmInd = cfgnTotalSystem * nqvec * (i - initflow) + nstep; // harmonic index to access corresponding Q-vector as all Q-vectors are in same vector
eps[0] = helperEP.GetEventPlane(coll.qvecRe()[detId + harmInd], coll.qvecIm()[detId + harmInd], i);
eps[1] = helperEP.GetEventPlane(coll.qvecRe()[refAId + harmInd], coll.qvecIm()[refAId + harmInd], i);
Expand Down Expand Up @@ -190,7 +190,7 @@
for (uint j = 0; j < nsystem; j++) { // loop over detectors used
for (const auto& track : tracks) {
float vn = std::cos((i) * (track.phi() - eps[j]));
float vn_sin = std::sin((i) * (track.phi() - eps[j]));
epAnalysis.fillVnHistograms(i, cent, static_cast<float>(j + 1), track.pt(), vn * weight, vn_sin * weight);
}
}
Expand Down