// Output slot #0 id reserved by the base class for AOD
// Output slot #1 writes into a TH1 container
DefineOutput(1, TList::Class());
+ DefineOutput(2, TTree::Class());
}
//________________________________________________________________________
PostData(1, fOutputList);
+ PostData(2, fTree);
}
//________________________________________________________________________
if(fCaloClustersNew)
fCaloClustersNew->Clear();
PostData(1, fOutputList);
+ PostData(2, fTree);
}
//________________________________________________________________________
void AliAnalysisTaskEMCALPhoton::Terminate(Option_t *)
{
// Called once at the end of the query
- if(fIsGrid)
- return;
+/* if(fIsGrid)
+ return;*/
if (fTree) {
TFile *f = OpenFile(1);
TDirectory::TContext context(f);