]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterizer.cxx
Go back to previous version of simulation
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizer.cxx
index 305d477c0d9cf7f9955a3d234a714cbddbb29d95..584dac756a122cefab99b704aecb3f97315173ee 100644 (file)
@@ -163,6 +163,22 @@ Bool_t AliTRDclusterizer::OpenOutput()
 
 }
 
+//_____________________________________________________________________________
+Bool_t AliTRDclusterizer::OpenOutput(TTree *clusterTree)
+{
+  //
+  // Connect the output tree
+  //
+
+  TObjArray *ioArray = 0;
+
+  fClusterTree = clusterTree;
+  fClusterTree->Branch("TRDcluster","TObjArray",&ioArray,32000,0);
+
+  return kTRUE;
+
+}
+
 //_____________________________________________________________________________
 Bool_t AliTRDclusterizer::OpenInput(Int_t nEvent)
 {