]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RICH/AliRICHMerger.cxx
Transition to NewIO
[u/mrichter/AliRoot.git] / RICH / AliRICHMerger.cxx
index 6dc04fcc860ddb1ac9c5450e0cfa80d7fb1f22ea..05030f2ce447921735d2122b33ab1b68ba3dc6ca 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.7  2001/11/02 15:37:26  hristov
-Digitizer class created. Code cleaning and bug fixes (J.Chudoba)
+/* $Id$ */
 
-Revision 1.5  2001/10/23 13:03:35  hristov
-The access to several data members was changed from public to protected. The digitisation was adapted to the multi-event case (J.Chudoba)
-
-Revision 1.4  2001/10/21 18:31:24  hristov
-Several pointers were set to zero in the default constructors to avoid memory management problems
-
-Revision 1.3  2001/05/16 14:57:20  alibrary
-New files for folders and Stack
-
-Revision 1.2  2001/03/14 18:16:08  jbarbosa
-Corrected bug (more to correct).
-File "points.dat" is no longer created.
-
-Revision 1.1  2001/02/27 22:13:34  jbarbosa
-Implementing merger class.
-
-*/
-#include <iostream.h> 
+#include <Riostream.h> 
 
 #include <TTree.h> 
 #include <TObjArray.h>
@@ -222,7 +202,7 @@ void AliRICHMerger::Digitise(Int_t nev, Int_t flag)
     
   fSignal = kTRUE;
   fCounter = 0;
-  TTree *treeH = gAlice->TreeH();
+  TTree *treeH = pRICH->TreeH();
   Int_t ntracks =(Int_t) treeH->GetEntries();
   for (fTrack=0; fTrack<ntracks; fTrack++) {
     gAlice->ResetHits();