PeterParfenov 2 years ago
parent
commit
8e3ab2d2d1
2 changed files with 3 additions and 1 deletions
  1. 1 1
      Flow/FlowCalculator.cxx
  2. 2 0
      Flow/FlowCalculator.h

+ 1 - 1
Flow/FlowCalculator.cxx

@@ -129,7 +129,7 @@ Double_t FlowCalculator::GetPsiEP(TVector2 qv)
 void FlowCalculator::InitCentrality(TString inName)
 {
   TFile *fi = new TFile(inName.Data(),"read");
-  TH1F *hist = (TH1F*) fi->Get("hNmult");
+  TH1F *hist = (TH1F*) fi->Get("hMult");
   centCalc->SetHistogram(hist);
   centCalc->Calc();
 }

+ 2 - 0
Flow/FlowCalculator.h

@@ -19,7 +19,9 @@
 
 // Header file for the classes stored in the TTree if any.
 
+#ifndef MAX_TRACKS
 #define MAX_TRACKS 50000
+#endif
 
 class FlowCalculator {
 public :