Skip to content

Commit 81cd73e

Browse files
EmilGormEmil Gorm Nielsen
andauthored
[PWGCF] Added PID, Added RBR NUA (#8938)
Co-authored-by: Emil Gorm Nielsen <emilgormnielsen@cern-ch>
1 parent 9579326 commit 81cd73e

File tree

3 files changed

+459
-119
lines changed

3 files changed

+459
-119
lines changed

PWGCF/GenericFramework/Core/FlowPtContainer.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// or submit itself to any jurisdiction.
1111

1212
#include "FlowPtContainer.h"
13+
#include <algorithm>
14+
#include <vector>
15+
#include <cstdio>
1316

1417
FlowPtContainer::FlowPtContainer() : TNamed("name", "name"),
1518
fCMTermList(0),
@@ -796,7 +799,7 @@ void FlowPtContainer::RebinMulti(Int_t nbins, Double_t* binedges)
796799
}
797800
TH1* FlowPtContainer::getCorrHist(int ind, int m)
798801
{
799-
return dynamic_cast<BootstrapProfile*>(fCorrList->FindObject(Form("mpt%i", m + 1)))->getHist(ind);
802+
return dynamic_cast<BootstrapProfile*>(fCorrList->FindObject(Form("mpt%i", m)))->getHist(ind);
800803
}
801804
TH1* FlowPtContainer::getCentralMomentHist(int ind, int m)
802805
{

PWGCF/GenericFramework/Core/FlowPtContainer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class FlowPtContainer : public TNamed
7878
void SetUseCentralMoments(bool newval) { fUseCentralMoments = newval; }
7979
void SetUseGapMethod(bool newval) { fUseGap = newval; }
8080
bool usesCentralMoments() { return fUseCentralMoments; }
81+
bool usesGap() { return fUseGap; }
8182
void RebinMulti(Int_t nbins);
8283
void RebinMulti(Int_t nbins, double* binedges);
8384
TH1* getCentralMomentHist(int ind, int m);

0 commit comments

Comments
 (0)