]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALPIDv1.cxx
Remove obsolete classes
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPIDv1.cxx
index e854449b6a5d937d2cded09df9474998dc85cd60..391696736bbc4137c4248740c0ea5c57ca86127c 100644 (file)
@@ -109,7 +109,6 @@ TVector3 AliEMCALPIDv1::GetMomentumDirection(AliEMCALRecPoint * emc)const
   
 
   dir = emcglobalpos ;  
-  dir.SetZ( -dir.Z() ) ;   // why ?  
   // dir.SetMag(1.) ; Removed to avoid warings !!!!!!!!!!!!!! TO BE REVISED
 
   //account correction to the position of IP
@@ -156,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 
@@ -166,7 +165,6 @@ void  AliEMCALPIDv1::Exec(Option_t * option)
 
   Int_t ievent ;
 
-
   for (ievent = fFirstEvent; ievent <= fLastEvent; ievent++) {
     gime->Event(ievent,"R") ;
     MakeRecParticles() ;
@@ -174,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");