o) splitted analysis and correction of dneta
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaAnalysisSelector.cxx
index 2d47ae58928ec1dad280cc58987c6397e7de2827..743a515f6429a1544ff1eecc337a52513594454b 100644 (file)
 #include <AliHeader.h>
 
 #include "dNdEtaAnalysis.h"
-#include "dNdEtaCorrection.h"
 
 ClassImp(AlidNdEtaAnalysisSelector)
 
 AlidNdEtaAnalysisSelector::AlidNdEtaAnalysisSelector() :
   AliSelector(),
-  fdNdEtaAnalysis(0),
-  fdNdEtaCorrection(0)
+  fdNdEtaAnalysis(0)
 {
   //
   // Constructor. Initialization of pointers
@@ -84,14 +82,10 @@ void AlidNdEtaAnalysisSelector::Terminate()
     return;
   }
 
-  fdNdEtaAnalysis->Finish(fdNdEtaCorrection);
-
   TFile* fout = new TFile("out.root","RECREATE");
   WriteObjects();
   fout->Write();
   fout->Close();
-
-  fdNdEtaAnalysis->DrawHistograms();
 }
 
 void AlidNdEtaAnalysisSelector::WriteObjects()