|
19 | 19 | #include <TH1D.h> |
20 | 20 | #include <TDirectory.h> |
21 | 21 | #include <THn.h> |
22 | | -//#include <TLorentzVector.h> |
| 22 | +// #include <TLorentzVector.h> |
23 | 23 | #include <TMath.h> |
24 | 24 | #include <TObjArray.h> |
25 | 25 | #include <TFile.h> |
26 | 26 | #include <TH2F.h> |
27 | 27 | // #include <TDatabasePDG.h> // FIXME |
28 | | -#include <TPDGCode.h> // FIXME |
29 | | - |
30 | | -#include <vector> |
31 | | -#include <cmath> |
32 | | -#include <array> |
33 | | -#include <cstdlib> |
34 | | -#include <chrono> |
35 | | -#include <string> |
| 28 | +#include "PWGLF/DataModel/LFStrangenessTables.h" |
| 29 | +#include "PWGLF/Utils/collisionCuts.h" |
36 | 30 |
|
37 | | -#include "TRandom3.h" |
38 | | -#include "TF1.h" |
39 | | -#include "TVector2.h" |
40 | | -#include "Math/Vector3D.h" |
41 | | -#include "Math/Vector4D.h" |
42 | | -#include "Math/RotationZ.h" |
43 | | -#include "Math/GenVector/Boost.h" |
44 | | -#include <TMath.h> |
| 31 | +#include "Common/Core/RecoDecay.h" |
| 32 | +#include "Common/Core/TrackSelection.h" |
| 33 | +#include "Common/Core/trackUtilities.h" |
| 34 | +#include "Common/DataModel/Centrality.h" |
| 35 | +#include "Common/DataModel/EventSelection.h" |
| 36 | +#include "Common/DataModel/Multiplicity.h" |
| 37 | +#include "Common/DataModel/PIDResponse.h" |
| 38 | +#include "Common/DataModel/TrackSelectionTables.h" |
45 | 39 |
|
46 | | -#include "Framework/runDataProcessing.h" |
47 | | -#include "Framework/AnalysisTask.h" |
| 40 | +#include "CCDB/BasicCCDBManager.h" |
| 41 | +#include "CCDB/CcdbApi.h" |
| 42 | +#include "CommonConstants/MathConstants.h" |
| 43 | +#include "CommonConstants/PhysicsConstants.h" |
| 44 | +#include "DCAFitter/DCAFitterN.h" |
| 45 | +#include "DataFormatsParameters/GRPMagField.h" |
| 46 | +#include "DataFormatsParameters/GRPObject.h" |
| 47 | +#include "Framework/ASoAHelpers.h" |
48 | 48 | #include "Framework/AnalysisDataModel.h" |
| 49 | +#include "Framework/AnalysisTask.h" |
49 | 50 | #include "Framework/HistogramRegistry.h" |
50 | | -#include "Framework/StepTHn.h" |
51 | 51 | #include "Framework/O2DatabasePDGPlugin.h" |
52 | | -#include "Framework/ASoAHelpers.h" |
53 | 52 | #include "Framework/StaticFor.h" |
54 | | -#include "DCAFitter/DCAFitterN.h" |
55 | | - |
56 | | -#include "Common/DataModel/PIDResponse.h" |
57 | | -#include "Common/DataModel/Multiplicity.h" |
58 | | -#include "Common/DataModel/Centrality.h" |
59 | | -#include "Common/DataModel/TrackSelectionTables.h" |
60 | | -#include "Common/DataModel/EventSelection.h" |
61 | | - |
62 | | -#include "Common/Core/trackUtilities.h" |
63 | | -#include "Common/Core/TrackSelection.h" |
64 | | -#include "Common/Core/RecoDecay.h" |
65 | | - |
66 | | -#include "CommonConstants/PhysicsConstants.h" |
67 | | -#include "CommonConstants/MathConstants.h" |
68 | | - |
| 53 | +#include "Framework/StepTHn.h" |
| 54 | +#include "Framework/runDataProcessing.h" |
69 | 55 | #include "ReconstructionDataFormats/Track.h" |
70 | 56 |
|
71 | | -#include "DataFormatsParameters/GRPObject.h" |
72 | | -#include "DataFormatsParameters/GRPMagField.h" |
73 | | - |
74 | | -#include "CCDB/CcdbApi.h" |
75 | | -#include "CCDB/BasicCCDBManager.h" |
| 57 | +#include "Math/GenVector/Boost.h" |
| 58 | +#include "Math/RotationZ.h" |
| 59 | +#include "Math/Vector3D.h" |
| 60 | +#include "Math/Vector4D.h" |
| 61 | +#include "TF1.h" |
| 62 | +#include "TRandom3.h" |
| 63 | +#include "TVector2.h" |
| 64 | +#include <TMath.h> |
| 65 | +#include <TPDGCode.h> // FIXME |
76 | 66 |
|
77 | | -#include "PWGLF/DataModel/LFStrangenessTables.h" |
78 | | -#include "PWGLF/Utils/collisionCuts.h" |
| 67 | +#include <array> |
| 68 | +#include <chrono> |
| 69 | +#include <cmath> |
| 70 | +#include <cstdlib> |
| 71 | +#include <string> |
| 72 | +#include <vector> |
79 | 73 |
|
80 | 74 | using namespace o2; |
81 | 75 | using namespace o2::framework; |
@@ -106,7 +100,7 @@ struct Chk892pp { |
106 | 100 | using MCEventCandidates = soa::Join<EventCandidates, aod::McCollisionLabels>; |
107 | 101 | using MCTrackCandidates = soa::Join<TrackCandidates, aod::McTrackLabels>; |
108 | 102 | using MCV0Candidates = soa::Join<V0Candidates, aod::McV0Labels>; |
109 | | - using LorentzVectorSetXYZM = ROOT::Math::LorentzVector<ROOT::Math::PxPyPzM4D<float>>; |
| 103 | + using LorentzVectorSetXYZM = ROOT::Math::LorentzVector<ROOT::Math::PxPyPzM4D<float>>; |
110 | 104 |
|
111 | 105 | HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject}; |
112 | 106 |
|
@@ -444,9 +438,9 @@ struct Chk892pp { |
444 | 438 | histos.print(); |
445 | 439 | } |
446 | 440 |
|
447 | | - const int kCentFT0C = 1; |
448 | | - const int kCentFT0M = 2; |
449 | | - const float kInvalidCentrality = -999.f; |
| 441 | + const int kCentFT0C = 1; |
| 442 | + const int kCentFT0M = 2; |
| 443 | + const float kInvalidCentrality = -999.f; |
450 | 444 |
|
451 | 445 | template <typename CollisionType> |
452 | 446 | float getCentrality(CollisionType const& collision) |
@@ -881,17 +875,17 @@ struct Chk892pp { |
881 | 875 | histos.fill(HIST("QA/RotBkg/hRotBkg"), lRotAngle); |
882 | 876 | if (BkgEstimationConfig.cfgRotPion) { |
883 | 877 | lDaughterRot = lDecayDaughter_bach; |
884 | | - //lDaughterRot.RotateZ(lRotAngle); |
885 | | - ROOT::Math::RotationZ rot(lRotAngle); |
886 | | - auto p3 = rot * lDaughterRot.Vect(); |
887 | | - lDaughterRot = LorentzVectorSetXYZM(p3.X(),p3.Y(),p3.Z(),lDaughterRot.M()); |
| 878 | + // lDaughterRot.RotateZ(lRotAngle); |
| 879 | + ROOT::Math::RotationZ rot(lRotAngle); |
| 880 | + auto p3 = rot * lDaughterRot.Vect(); |
| 881 | + lDaughterRot = LorentzVectorSetXYZM(p3.X(), p3.Y(), p3.Z(), lDaughterRot.M()); |
888 | 882 | lResonanceRot = lDaughterRot + lResoSecondary; |
889 | 883 | } else { |
890 | 884 | lDaughterRot = lResoSecondary; |
891 | | - //lDaughterRot.RotateZ(lRotAngle); |
892 | | - ROOT::Math::RotationZ rot(lRotAngle); |
893 | | - auto p3 = rot * lDaughterRot.Vect(); |
894 | | - lDaughterRot = LorentzVectorSetXYZM(p3.X(),p3.Y(),p3.Z(),lDaughterRot.M()); |
| 885 | + // lDaughterRot.RotateZ(lRotAngle); |
| 886 | + ROOT::Math::RotationZ rot(lRotAngle); |
| 887 | + auto p3 = rot * lDaughterRot.Vect(); |
| 888 | + lDaughterRot = LorentzVectorSetXYZM(p3.X(), p3.Y(), p3.Z(), lDaughterRot.M()); |
895 | 889 | lResonanceRot = lDecayDaughter_bach + lDaughterRot; |
896 | 890 | } |
897 | 891 | typeKstar = bTrack.sign() > 0 ? BinType::kKstarP_Rot : BinType::kKstarN_Rot; |
|
0 commit comments