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 f1357b9630d60d3864b3ad991d51f9b3871b0cf5..412ffa2c9ee5e4f5162a0c327ecd17ad79453412 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;
 }