Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
}

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

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

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

template <EnCorrHistograms histType, typename T1>
void bookCorrHistograms(T1 const& lCrBins/* , CorrHistograms& cr */)
void bookCorrHistograms(T1 const& lCrBins /* , CorrHistograms& cr */)
{

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

bookParticleHistograms<ePt>(lPcBins/* , pc */);
bookParticleHistograms<ePhi>(lPcBins/* , pc */);
bookEventHistograms<eCent>(lEvBins/* , ev */);
bookEventHistograms<eMult>(lEvBins/* , ev */);
bookEventHistograms<eVertexX>(lEvBins/* , ev */);
bookEventHistograms<eVertexY>(lEvBins/* , ev */);
bookEventHistograms<eVertexZ>(lEvBins/* , ev */);
bookEventHistograms<eNumContrib>(lEvBins/* , ev */);
bookQAHistograms<eCent>(lQABins/* , qa */);
bookQAHistograms<eMult>(lQABins/* , qa */);
bookCorrHistograms<eCorrCent>(lCrBins/* , cr */); // if switch on ...
bookCorrHistograms<eCorrMult>(lCrBins/* , cr */);
bookParticleHistograms<ePt>(lPcBins /* , pc */);
bookParticleHistograms<ePhi>(lPcBins /* , pc */);
bookEventHistograms<eCent>(lEvBins /* , ev */);
bookEventHistograms<eMult>(lEvBins /* , ev */);
bookEventHistograms<eVertexX>(lEvBins /* , ev */);
bookEventHistograms<eVertexY>(lEvBins /* , ev */);
bookEventHistograms<eVertexZ>(lEvBins /* , ev */);
bookEventHistograms<eNumContrib>(lEvBins /* , ev */);
bookQAHistograms<eCent>(lQABins /* , qa */);
bookQAHistograms<eMult>(lQABins /* , qa */);
bookCorrHistograms<eCorrCent>(lCrBins /* , cr */); // if switch on ...
bookCorrHistograms<eCorrMult>(lCrBins /* , cr */);

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