TMath::Pi()/2. substituted with TMath:PiOver2
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Sep 2003 14:16:15 +0000 (14:16 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Sep 2003 14:16:15 +0000 (14:16 +0000)
HBTAN/AliHBTParticle.h

index 70c473d3931fc3083cbe6a1a808ed28560803c55..7f3f9d90d6077ffc3af0beedb671c565c7041b8f 100644 (file)
@@ -85,10 +85,9 @@ public:
 
   Double_t         Phi   () const { return TMath::Pi()+TMath::ATan2(-fPy,-fPx); }
 
-  Double_t         Theta () const { return (fPz==0)?TMath::Pi()/2:TMath::ACos(fPz/P()); }
-
-                                // setters
+  Double_t         Theta () const { return (fPz==0)?TMath::PiOver2():TMath::ACos(fPz/P()); }
 
+  // setters
 
   void           SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
                              {fPx=px; fPy=py; fPz=pz; fE=e;}