Fixing problems dscovered by test/gun
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 17 Jul 2011 14:07:17 +0000 (14:07 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 17 Jul 2011 14:07:17 +0000 (14:07 +0000)
ANALYSIS/AliAnalysisTaskTagCreator.cxx
STEER/CreateAODfromESD.C

index 769501e..50c86ef 100644 (file)
@@ -75,6 +75,7 @@ void AliAnalysisTaskTagCreator::UserCreateOutputObjects()
     TBranch * btag = fTreeT->Branch("AliTAG", "AliRunTag", &fRunTag);
     btag->SetCompressionLevel(9);
     fTagCreator = new AliAODTagCreator();
+    PostData(1, fTreeT);
 }
 
 void AliAnalysisTaskTagCreator::Init()
index 9d32109..480a2a8 100644 (file)
@@ -24,6 +24,7 @@ void CreateAODfromESD(const char *inFileName = "AliESDs.root",
     gSystem->Load("libANALYSIS");
     gSystem->Load("libANALYSISalice");
     gSystem->Load("libCORRFW");
+    gSystem->Load("libPWG3base");
     gSystem->Load("libPWG3muon");
 
     TChain *chain = new TChain("esdTree");