PeterParfenov лет назад: 4
Родитель
Сommit
8e3ab2d2d1
2 измененных файлов с 3 добавлено и 1 удалено
  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 :