Fix to angles
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Oct 2005 18:32:35 +0000 (18:32 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Oct 2005 18:32:35 +0000 (18:32 +0000)
FMD/AliFMDMultNaiive.cxx

index f1357b9..412ffa2 100644 (file)
@@ -140,7 +140,7 @@ AliFMDMultNaiive::Adc2Energy(AliFMDDigit* /* digit */,
   //           ADC_channel_size    
   // 
   // is constant and the same for all strips. 
-  Double_t theta = 2 * TMath::Tan(TMath::Exp(-eta));
+  Double_t theta = 2 * TMath::ATan(TMath::Exp(-eta));
   Double_t edep  = TMath::Abs(TMath::Cos(theta)) * fGain * count;
   return edep;
 }