Skip to content

Commit e27ed49

Browse files
author
Pei-Ying Kuan
committed
fix clang error
1 parent 6325079 commit e27ed49

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
629629

630630
if (bFileIsInAliEn) {
631631
// File you want to access is in your home dir in AliEn:
632-
TGrid* const alien = TGrid::Connect("alien", gSystem->Getenv("USER"), "", ""); // do not forget to add #include <TGrid.h> to the preamble of your analysis task
632+
const TGrid* alien = TGrid::Connect("alien", gSystem->Getenv("USER"), "", ""); // do not forget to add #include <TGrid.h> to the preamble of your analysis task
633633
if (!alien) {
634634
LOGF(fatal, "\033[1;31m%s at line %d\033[0m", __FUNCTION__, __LINE__);
635635
}
@@ -1202,7 +1202,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
12021202
}
12031203

12041204
template <EnParticleHistograms histType, typename T1>
1205-
void bookParticleHistograms(T1 const& lPcBins/* , ParticleHistograms& pc */)
1205+
void bookParticleHistograms(T1 const& lPcBins)
12061206
{
12071207
const auto& lPtBins = lPcBins[histType]; // define local array and initialize it from an array set in the configurables
12081208
int nBinsPt = static_cast<int>(lPtBins[0]);
@@ -1231,7 +1231,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
12311231
}
12321232

12331233
template <EnEventHistograms histType, typename T1>
1234-
void bookEventHistograms(T1 const& lEvBins/* , EventHistograms& ev */)
1234+
void bookEventHistograms(T1 const& lEvBins)
12351235
{
12361236
const auto& lCentBins = lEvBins[histType]; // define local array and initialize it from an array set in the configurables
12371237
int nBinsCent = static_cast<int>(lCentBins[0]);
@@ -1273,7 +1273,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
12731273
}
12741274

12751275
template <EnEventHistograms histType, typename T1>
1276-
void bookQAHistograms(T1 const& lQABins/* , QAHistograms& qa */)
1276+
void bookQAHistograms(T1 const& lQABins)
12771277
{
12781278
int nBinsCentX = 0;
12791279
float minCentX = 0.;
@@ -1327,7 +1327,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
13271327
}
13281328

13291329
template <EnCorrHistograms histType, typename T1>
1330-
void bookCorrHistograms(T1 const& lCrBins/* , CorrHistograms& cr */)
1330+
void bookCorrHistograms(T1 const& lCrBins)
13311331
{
13321332

13331333
const auto& lCentBins = lCrBins[histType]; // define local array and initialize it from an array set in the configurables
@@ -1478,18 +1478,18 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
14781478
std::vector<std::vector<float>> lQABins = {tc.fCentBins, tc.fMultBins, tc.fNumContribBins};
14791479
std::vector<std::vector<float>> lCrBins = {tc.fCentBins, tc.fMultBins};
14801480

1481-
bookParticleHistograms<ePt>(lPcBins/* , pc */);
1482-
bookParticleHistograms<ePhi>(lPcBins/* , pc */);
1483-
bookEventHistograms<eCent>(lEvBins/* , ev */);
1484-
bookEventHistograms<eMult>(lEvBins/* , ev */);
1485-
bookEventHistograms<eVertexX>(lEvBins/* , ev */);
1486-
bookEventHistograms<eVertexY>(lEvBins/* , ev */);
1487-
bookEventHistograms<eVertexZ>(lEvBins/* , ev */);
1488-
bookEventHistograms<eNumContrib>(lEvBins/* , ev */);
1489-
bookQAHistograms<eCent>(lQABins/* , qa */);
1490-
bookQAHistograms<eMult>(lQABins/* , qa */);
1491-
bookCorrHistograms<eCorrCent>(lCrBins/* , cr */); // if switch on ...
1492-
bookCorrHistograms<eCorrMult>(lCrBins/* , cr */);
1481+
bookParticleHistograms<ePt>(lPcBins);
1482+
bookParticleHistograms<ePhi>(lPcBins);
1483+
bookEventHistograms<eCent>(lEvBins);
1484+
bookEventHistograms<eMult>(lEvBins);
1485+
bookEventHistograms<eVertexX>(lEvBins);
1486+
bookEventHistograms<eVertexY>(lEvBins);
1487+
bookEventHistograms<eVertexZ>(lEvBins);
1488+
bookEventHistograms<eNumContrib>(lEvBins);
1489+
bookQAHistograms<eCent>(lQABins);
1490+
bookQAHistograms<eMult>(lQABins);
1491+
bookCorrHistograms<eCorrCent>(lCrBins); // if switch on ...
1492+
bookCorrHistograms<eCorrMult>(lCrBins);
14931493

14941494
wt.fDummyPhiWeightHistogram = new TH1F("fDummyPhiWeightHistogram", "Dummy phi weight histogram", static_cast<int>(tc.fPhiBins[0]), tc.fPhiBins[1], tc.fPhiBins[2]);
14951495
for (int i = 1; i <= wt.fDummyPhiWeightHistogram->GetNbinsX(); i++) {

0 commit comments

Comments
 (0)