]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
misc small mods
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Dec 2008 13:21:09 +0000 (13:21 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Dec 2008 13:21:09 +0000 (13:21 +0000)
PWG2/FLOW/AliFlowAnalysisWithMCEventPlane.cxx
PWG2/FLOW/AliFlowAnalysisWithMCEventPlane.h

index 6589c68546caf53805fcfafcc0168a1c64f9d411..0b4cd7e50b6fd44370c7c51bfee109436d2210b0 100644 (file)
@@ -78,6 +78,8 @@ void AliFlowAnalysisWithMCEventPlane::WriteHistograms(TString* outputFileName)
 {
  //store the final results in output .root file
  TFile *output = new TFile(outputFileName->Data(),"RECREATE");
+ output->mkdir("cobjMCEP","cobjMCEP");
+ output->cd("cobjMCEP"); 
  fHistList->Write(); 
  delete output;
 }
index 3d60c759492a35c49589d9337f4b23fe59377914..f541e852a8f98d5e1e6efd3f08d4df0b1c407693 100644 (file)
@@ -39,11 +39,11 @@ class AliFlowAnalysisWithMCEventPlane {
    AliFlowAnalysisWithMCEventPlane();            //default constructor
    virtual  ~AliFlowAnalysisWithMCEventPlane();  //destructor
  
+   void      WriteHistograms(TString* outputFileName);
    void      Init();                             //defines variables and histograms
    void      Make(AliFlowEventSimple* anEvent, Double_t aRP);   //calculates variables and fills histograms
    void      Finish();                           //saves histograms
-   void      WriteHistograms(TString*);  
+   
    void      SetDebug(Bool_t kt)          { this->fDebug = kt ; }
    Bool_t    GetDebug() const             { return this->fDebug ; }