|
21 | 21 |
|
22 | 22 | #include "PWGCF/Femto/Core/FemtoFlowAngularContainer.h" |
23 | 23 | #include "PWGCF/Femto/Core/FemtoFlowFemtoContainer.h" |
| 24 | +#include "PWGCF/Femto/Core/FemtoFlowTrackSelection.h" |
24 | 25 | #include "PWGCF/Femto/DataModel/FemtoDerived.h" |
| 26 | + |
25 | 27 | #include "Common/Core/RecoDecay.h" |
26 | 28 |
|
| 29 | +#include "Framework/HistogramRegistry.h" |
| 30 | + |
27 | 31 | #include "TMath.h" |
28 | 32 |
|
29 | 33 | #include <memory> |
30 | 34 | #include <string> |
31 | 35 | #include <vector> |
32 | | -#include "PWGCF/Femto/Core/FemtoFlowTrackSelection.h" |
33 | | - |
34 | | -#include "Framework/HistogramRegistry.h" |
35 | 36 |
|
36 | 37 | namespace o2::analysis |
37 | 38 | { |
@@ -173,7 +174,7 @@ class FemtoFlowDetaDphiStar |
173 | 174 | magfield = lmagfield; |
174 | 175 |
|
175 | 176 | const int numEvtType = 2; |
176 | | - |
| 177 | + |
177 | 178 | if constexpr (kPartOneType == o2::aod::femtoflowparticle::ParticleType::kTrack && kPartTwoType == o2::aod::femtoflowparticle::ParticleType::kTrack) { |
178 | 179 | /// Track-Track combination |
179 | 180 | // check if provided particles are in agreement with the class instantiation |
@@ -299,7 +300,7 @@ class FemtoFlowDetaDphiStar |
299 | 300 | auto daughter = particles.begin() + indexOfDaughter; |
300 | 301 | auto deta = part1.eta() - daughter.eta(); |
301 | 302 | auto dphiAvg = averagePhiStar(part1, *daughter, i); // auto dphiAvg = calculateDphiStar(part1, *daughter); |
302 | | - dphiAvg = RecoDecay::constrainAngle(dphiAvg, -1*o2::constants::math::PI, 1); |
| 303 | + dphiAvg = RecoDecay::constrainAngle(dphiAvg, -1 * o2::constants::math::PI, 1); |
303 | 304 | if (ChosenEventType == femto_flow_femto_container::EventType::same) { |
304 | 305 | histdetadpisame[i][0]->Fill(deta, dphiAvg); |
305 | 306 | } else if (ChosenEventType == femto_flow_femto_container::EventType::mixed) { |
@@ -419,7 +420,7 @@ class FemtoFlowDetaDphiStar |
419 | 420 | /// Magnetic field to be provided in Tesla |
420 | 421 | template <typename T> |
421 | 422 | void phiAtRadiiTPC(const T& part, std::vector<float>& tmpVec) |
422 | | - { |
| 423 | + { |
423 | 424 |
|
424 | 425 | float phi0 = part.phi(); |
425 | 426 | // Start: Get the charge from cutcontainer using masks |
@@ -465,7 +466,7 @@ class FemtoFlowDetaDphiStar |
465 | 466 | } else { |
466 | 467 | dphi = 0; |
467 | 468 | } |
468 | | - dphi = RecoDecay::constrainAngle(dphi, -1*o2::constants::math::PI, 1); |
| 469 | + dphi = RecoDecay::constrainAngle(dphi, -1 * o2::constants::math::PI, 1); |
469 | 470 | dPhiAvg += dphi; |
470 | 471 | if (plotForEveryRadii) { |
471 | 472 | histdetadpiRadii[iHist][i]->Fill(part1.eta() - part2.eta(), dphi); |
|
0 commit comments