Rename AOD Ttree from AOD to aodTree (Markus)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Aug 2007 21:06:32 +0000 (21:06 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Aug 2007 21:06:32 +0000 (21:06 +0000)
STEER/AliESDTagCreator.cxx
STEER/CreateAODfromKineTree.C

index 66b28d5..9b38b82 100644 (file)
@@ -1106,7 +1106,7 @@ void AliESDTagCreator::CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent) {
     delete file;
     return ;
   }
-  TTree *aodTree = (TTree*)file->Get("AOD");
+  TTree *aodTree = (TTree*)file->Get("aodTree");
   AliAODEvent *aod = (AliAODEvent*)aodTree->GetUserInfo()->FindObject("AliAODEvent");
   TIter next(aod->GetList());
   TObject *el;
index 236ee17..ba18d34 100644 (file)
@@ -77,7 +77,7 @@ void CreateAODfromKineTree(const char *inFileName,
   TFile *outFile = TFile::Open(outFileName, "RECREATE");
 
   // create the tree
-  TTree *aodTree = new TTree("AOD", "AliAOD tree");
+  TTree *aodTree = new TTree("aodTree", "AliAOD tree");
   aodTree->Branch(aod->GetList());
 
   AliRunLoader *runLoader;