]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/testsimglobal.C
08-feb-2003 NvE Class AliSignal modified such that the maximum number of signal slots is
[u/mrichter/AliRoot.git] / PHOS / testsimglobal.C
index fefe7393c1d5605222382a055274ffac58a72f12..596c822c3e6961f59dbf1195da2d0280c8624c34 100644 (file)
@@ -238,7 +238,7 @@ Bool_t sim_exam()
       nhits += n ;
       his->Fill(n) ;
       // Get the data per block
-      TClonesArray * hita = static_cast<TClonesArray *>(gime -> Hits()) ;
+      const TClonesArray * hita = static_cast<const TClonesArray *>(gime -> Hits()) ;
       TIter next(hita) ;
       Float_t Et = 0. ;
       Int_t id = 0, block = 0 ;
@@ -425,7 +425,7 @@ Bool_t particle()
   if ( nRecParticles < maxRecParticles-0.25 ||
        nRecParticles > maxRecParticles+0.25 ) {
     cout <<  "particle() : nRecParticles = " << nRecParticles 
-        << " maxRecParticles,widRecParticles= " << maxRecParticles << "," << widRecParticles << endl ;    
+        << " maxRecParticles,widRecParticles= " << maxRecParticles << "," << "0.25" << endl ;    
     mess = "Error detected in the RecParticles process. Sending error file to PHOS director.Stop reconstruction." ;
     write_info(mess) ;
     return kFALSE ;