Skip to content

Commit d85d415

Browse files
committed
Address linter and formatting issues
1 parent 225feb3 commit d85d415

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

PWGLF/Tasks/Resonances/f0980analysis.cxx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "Math/LorentzVector.h"
3232
#include "Math/Vector4D.h"
3333
#include "TVector2.h"
34-
#include <TLorentzVector.h>
3534

3635
#include <vector>
3736

@@ -76,7 +75,7 @@ struct f0980analysis {
7675
Configurable<double> cMaxTPCnSigmaPion{"cMaxTPCnSigmaPion", 5.0, "TPC nSigma cut for Pion"};
7776
Configurable<double> cMaxTPCnSigmaPionWoTOF{"cMaxTPCnSigmaPionWoTOF", 2.0, "TPC nSigma cut without TOF for Pion"};
7877
Configurable<double> nsigmaCutCombinedPion{"nsigmaCutCombinedPion", -999, "Combined nSigma cut for Pion"};
79-
Configurable<int> selectType{"SelectType", 0, "PID selection type"};
78+
Configurable<int> selectType{"selectType", 0, "PID selection type"};
8079

8180
// Axis
8281
ConfigurableAxis massAxis{"massAxis", {400, 0.2, 2.2}, "Invariant mass axis"};
@@ -94,7 +93,7 @@ struct f0980analysis {
9493
std::vector<double> lptBinning = {0, 5.0, 13.0, 20.0, 50.0, 1000.0};
9594

9695
AxisSpec rtAxis = {3, 0, 3};
97-
AxisSpec lptAxis = {lptBinning}; // Minimum leading hadron pT selection
96+
AxisSpec lptAxis = {lptBinning}; // Minimum leading hadron pT selection
9897
AxisSpec epAxis = {10, 0, o2::constants::math::PI}; // Event Plane
9998
AxisSpec epqaAxis = {200, -o2::constants::math::PI, o2::constants::math::PI};
10099
AxisSpec epResAxis = {200, -2, 2};
@@ -103,17 +102,17 @@ struct f0980analysis {
103102
AxisSpec pTqaAxis = {200, 0, 20, "#it{p}_{T} (GeV/#it{c})"};
104103
AxisSpec phiqaAxis = {72, 0, o2::constants::math::TwoPI, "#Phi"}; // Azimuthal angle axis
105104
AxisSpec etaqaAxis = {150, -2, 2, "#eta"}; // Pseudorapidity axis
106-
AxisSpec rapqaAxis = {60, -1.5, 1.5, "#it{y}"}; // Rapidity axis
105+
AxisSpec rapqaAxis = {60, -1.5, 1.5, "#it{y}"}; // Rapidity axis
107106
AxisSpec dcaxyAxis = {200, -5.0, 5.0, "DCA_{xy} (cm)"}; // DCAxy axis
108-
AxisSpec dcazAxis = {200, -5.0, 5.0, "DCA_{z} (cm)"}; // DCAz axis
107+
AxisSpec dcazAxis = {200, -5.0, 5.0, "DCA_{z} (cm)"}; // DCAz axis
109108

110109
AxisSpec collCutAxis = {4, -0.5, 3.5, "Collision cut index for MC"};
111110

112111
if (cfgFindRT) {
113112
histos.add("hInvMass_f0980_US_RT", "unlike invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, rtAxis, lptAxis}});
114113
histos.add("hInvMass_f0980_LSpp_RT", "++ invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, rtAxis, lptAxis}});
115114
histos.add("hInvMass_f0980_LSmm_RT", "-- invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, rtAxis, lptAxis}});
116-
} else if (cfgFindEP){
115+
} else if (cfgFindEP) {
117116
histos.add("hInvMass_f0980_US_EPA", "unlike invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, epAxis}});
118117
histos.add("hInvMass_f0980_LSpp_EPA", "++ invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, epAxis}});
119118
histos.add("hInvMass_f0980_LSmm_EPA", "-- invariant mass", {HistType::kTHnSparseF, {massAxis, pTAxis, centAxis, epAxis}});
@@ -161,7 +160,7 @@ struct f0980analysis {
161160
histos.add("QAMCTrue/f0_pt_y", "Generated f0 ; #it{p}_{T} (GeV/#it{c}) ; #it{y}", HistType::kTH2F, {pTqaAxis, rapqaAxis});
162161
histos.add("QAMCTrue/f0_pt_cent", "Generated f0 ; #it{p}_{T} (GeV/#it{c}); Centrality (%)", HistType::kTH2F, {pTqaAxis, centAxis});
163162
}
164-
}
163+
}
165164
histos.print();
166165
}
167166

0 commit comments

Comments
 (0)