Skip to content

Commit 3c487cf

Browse files
fixed the cpplint issues
1 parent 72861f4 commit 3c487cf

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

PWGUD/Tasks/exclusiveRhoTo4Pi.cxx

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
#include <cmath>
3838
#include <cstdlib>
39+
#include <string>
3940
#include <vector>
4041

4142
using namespace std;
@@ -394,10 +395,10 @@ struct ExclusiveRhoTo4Pi {
394395
// Run Numbers
395396
static int runNos[113];
396397
static int numRunNums;
397-
static std::string eventLabels[12];
398-
static std::string trackLabels[14];
399-
static int numTrackCuts;
400-
static int numEventCuts;
398+
// static std::string eventLabels[12];
399+
// static std::string trackLabels[14];
400+
// static int numTrackCuts;
401+
// static int numEventCuts;
401402
// Derived Data
402403
Produces<aod::SignalData> sigFromData;
403404
Produces<aod::BkgroundData> bkgFromData;
@@ -1191,6 +1192,20 @@ struct ExclusiveRhoTo4Pi {
11911192

11921193
void setHistBinLabels()
11931194
{
1195+
1196+
std::string eventLabels[12] = {
1197+
"No Cuts", "UPC mode", "vtxITSTPC=1", "sbp=1", "itsROFb=1", "tfb=1",
1198+
"FT0A <= 50", "FT0C <= 50", "FV0A <= 50", "ZDC <= 0",
1199+
"n PV Contrib = 4", "V_{z} < 10cm"};
1200+
1201+
int numEventCuts = 12;
1202+
1203+
std::string trackLabels[14] = {
1204+
"No Cuts", "isPVContributor", "pT > 0.15 GeV/c", "|#eta| < 0.9", "DCA Z < 2 cm",
1205+
"DCA XY cut", "hasITS", "hasTPC", "itsChi2NCl < 36", "tpcChi2NCl < 4",
1206+
"tpcNClsFindable < 70", "#pi tracks", "#pi^{+} tracks", "#pi^{-} tracks"};
1207+
int numTrackCuts = 14;
1208+
11941209
auto h1 = histosCounter.get<TH2>(HIST("EventsCounts_vs_runNo"));
11951210
auto h2 = histosCounter.get<TH2>(HIST("TracksCounts_vs_runNo"));
11961211
auto h3 = histosCounter.get<TH1>(HIST("fourPionCounts_0c"));
@@ -1236,19 +1251,21 @@ int ExclusiveRhoTo4Pi::runNos[113] = {
12361251

12371252
int ExclusiveRhoTo4Pi::numRunNums = 113;
12381253

1239-
std::string ExclusiveRhoTo4Pi::eventLabels[12] = {
1240-
"No Cuts", "UPC mode", "vtxITSTPC=1", "sbp=1", "itsROFb=1", "tfb=1",
1241-
"FT0A <= 50", "FT0C <= 50", "FV0A <= 50", "ZDC <= 0",
1242-
"n PV Contrib = 4", "V_{z} < 10cm"};
1243-
1244-
int ExclusiveRhoTo4Pi::numEventCuts = 20;
1254+
// std::string ExclusiveRhoTo4Pi::eventLabels[12] = {
1255+
// "No Cuts","UPC mode","vtxITSTPC=1","sbp=1","itsROFb=1","tfb=1",
1256+
// "FT0A <= 50","FT0C <= 50","FV0A <= 50","ZDC <= 0",
1257+
// "n PV Contrib = 4","V_{z} < 10cm"
1258+
// };
12451259

1246-
std::string ExclusiveRhoTo4Pi::trackLabels[14] = {
1247-
"No Cuts", "isPVContributor", "pT > 0.15 GeV/c", "|#eta| < 0.9", "DCA Z < 2 cm",
1248-
"DCA XY cut", "hasITS", "hasTPC", "itsChi2NCl < 36", "tpcChi2NCl < 4",
1249-
"tpcNClsFindable < 70", "#pi tracks", "#pi^{+} tracks", "#pi^{-} tracks"};
1260+
// int ExclusiveRhoTo4Pi::numEventCuts = 20;
12501261

1251-
int ExclusiveRhoTo4Pi::numTrackCuts = 14;
1262+
// std::string ExclusiveRhoTo4Pi::trackLabels[14] = {
1263+
// "No Cuts","isPVContributor","pT > 0.15 GeV/c","|#eta| < 0.9","DCA Z < 2 cm",
1264+
// "DCA XY cut","hasITS","hasTPC","itsChi2NCl < 36","tpcChi2NCl < 4",
1265+
// "tpcNClsFindable < 70","#pi tracks","#pi^{+} tracks","#pi^{-} tracks"
1266+
// };
1267+
//
1268+
// int ExclusiveRhoTo4Pi::numTrackCuts = 14;
12521269

12531270
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
12541271
{

0 commit comments

Comments
 (0)