|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | /// |
12 | | -/// \brief task for analysis of rho in UPCs using UD tables (from SG producer) |
13 | | -/// includes event tagging based on ZN information, track selection, reconstruction, |
| 12 | +/// \brief Task for analysis of rho in UPCs using UD tables (from SG producer). |
| 13 | +/// Includes event tagging based on ZN information, track selection, reconstruction, |
14 | 14 | /// and also some basic stuff for decay phi anisotropy studies |
15 | 15 | /// \author Jakub Juracka, jakub.juracka@cern.ch |
16 | 16 | /// \file upcRhoAnalysis.cxx |
17 | 17 |
|
18 | | -#include "Common/DataModel/PIDResponse.h" |
19 | | -// #include "Common/Core/RecoDecay.h" // need to use something from this to restrict angle ranges |
20 | | - |
21 | 18 | #include "PWGUD/Core/UPCTauCentralBarrelHelperRL.h" |
22 | 19 | #include "PWGUD/DataModel/UDTables.h" |
23 | 20 |
|
| 21 | +#include "Common/DataModel/PIDResponse.h" |
| 22 | + |
24 | 23 | #include "Framework/AnalysisDataModel.h" |
25 | 24 | #include "Framework/AnalysisTask.h" |
26 | 25 | #include "Framework/runDataProcessing.h" |
@@ -526,11 +525,7 @@ struct UpcRhoAnalysis { |
526 | 525 | { |
527 | 526 | double dPhi = p1.Phi() - p2.Phi(); |
528 | 527 | dPhi = std::fmod(dPhi + o2::constants::math::PI, o2::constants::math::TwoPI) - o2::constants::math::PI; // normalize to (-pi, pi) |
529 | | - // if (dPhi > o2::constants::math::PI) |
530 | | - // dPhi -= o2::constants::math::TwoPI; |
531 | | - // else if (dPhi < -o2::constants::math::PI) |
532 | | - // dPhi += o2::constants::math::TwoPI; |
533 | | - return dPhi; // calculate delta phi in (-pi, pi) |
| 528 | + return dPhi; |
534 | 529 | } |
535 | 530 |
|
536 | 531 | float getPhiRandom(const std::vector<ROOT::Math::PxPyPzMVector>& cutTracksLVs) // decay phi anisotropy |
@@ -580,7 +575,7 @@ struct UpcRhoAnalysis { |
580 | 575 | return; |
581 | 576 |
|
582 | 577 | int neutronClass = -1; |
583 | | - bool xnxn = false, onon = false, xnon = false, onxn = false; // note: On == 0n... |
| 578 | + bool xnxn = false, onon = false, xnon = false, onxn = false; |
584 | 579 | float energyCommonZNA = collision.energyCommonZNA(), energyCommonZNC = collision.energyCommonZNC(); |
585 | 580 | float timeZNA = collision.timeZNA(), timeZNC = collision.timeZNC(); |
586 | 581 | if (std::isinf(energyCommonZNA)) |
|
0 commit comments