Replace TObjArray::GetEntries() by TObjArray::GetEntriesFast()
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Apr 2008 20:01:53 +0000 (20:01 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Apr 2008 20:01:53 +0000 (20:01 +0000)
PHOS/AliPHOSDigitizer.cxx

index 69621c9..2c03c8d 100644 (file)
@@ -512,7 +512,7 @@ void AliPHOSDigitizer::Digitize(Int_t event)
 
   //set amplitudes in bad channels to zero
 
-  for(Int_t i = 0 ; i <digits->GetEntries(); i++){
+  for(Int_t i = 0 ; i <digits->GetEntriesFast(); i++){
     digit = dynamic_cast<AliPHOSDigit*>( digits->At(i) ) ;
     geom->AbsToRelNumbering(digit->GetId(),relId);
     if(relId[1] == 0) // Emc