]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Call the getter without argument
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 May 2004 08:16:49 +0000 (08:16 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 May 2004 08:16:49 +0000 (08:16 +0000)
EMCAL/AliEMCALPIDv1.cxx

index d05f9e2c3bf077634251c679a2ff01a75d0c7f26..391696736bbc4137c4248740c0ea5c57ca86127c 100644 (file)
@@ -155,8 +155,8 @@ void  AliEMCALPIDv1::Exec(Option_t * option)
     Print("") ; 
     return ; 
   }
-  AliEMCALGetter * gime = AliEMCALGetter::Instance(GetTitle()) ; 
-
+  AliEMCALGetter * gime = AliEMCALGetter::Instance() ; 
+  
   if (fLastEvent == -1) 
     fLastEvent = gime->MaxEvent() - 1 ;
   else 
@@ -165,7 +165,6 @@ void  AliEMCALPIDv1::Exec(Option_t * option)
 
   Int_t ievent ;
 
-
   for (ievent = fFirstEvent; ievent <= fLastEvent; ievent++) {
     gime->Event(ievent,"R") ;
     MakeRecParticles() ;
@@ -173,8 +172,7 @@ void  AliEMCALPIDv1::Exec(Option_t * option)
     if(strstr(option,"deb"))
       PrintRecParticles(option) ;
     //increment the total number of rec particles per run 
-    fRecParticlesInRun += gime->RecParticles()->GetEntriesFast() ; 
-    
+    fRecParticlesInRun += gime->RecParticles()->GetEntriesFast() ;  
   }
   if(strstr(option,"tim")){
     gBenchmark->Stop("EMCALPID");