Bug corrected in DeltaPhi
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jun 2004 11:46:08 +0000 (11:46 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jun 2004 11:46:08 +0000 (11:46 +0000)
HBTAN/AliHBTPair.h

index 61c686f8f16791a949d156d9f99147d67a24d467..48564eaa800f391d7bbad0a6da4bf701ce5e3a1c 100644 (file)
@@ -291,11 +291,11 @@ Double_t AliHBTPair::GetDeltaPhi()
     {
       if (phi1 > TMath::Pi())
        {
-         phi1-=TMath::Pi();
+         phi1-=TMath::TwoPi();
        }
       else
        {
-         phi2-=TMath::Pi();
+         phi2-=TMath::TwoPi();
        }
       diff = phi1-phi2; 
     }