Double_t Y () const { if (fE != fPz) return 0.5*TMath::Log((fE+fPz)/(fE-fPz));
else return 1.e30;}
- Double_t Phi () const { return kPI+TMath::ATan2(-fPy,-fPx); }
+ Double_t Phi () const { return TMath::Pi()+TMath::ATan2(-fPy,-fPx); }
- Double_t Theta () const { return (fPz==0)?kPI/2:TMath::ACos(fPz/P()); }
+ Double_t Theta () const { return (fPz==0)?TMath::Pi()/2:TMath::ACos(fPz/P()); }
// setters
const Int_t kColorPHOS = kRed ;
- Double_t const kRADDEG = 180.0 / kPI ;
+ Double_t const kRADDEG = 180.0 / TMath::Pi() ;
new TBRIK( "BigBox", "PHOS box", "void", GetBigBox(0)/2,
GetBigBox(1)/2,
// --- Position PHOS mdules in ALICE setup ---
Int_t idrotm[99] ;
- Double_t const kRADDEG = 180.0 / kPI ;
+ Double_t const kRADDEG = 180.0 / TMath::Pi() ;
for( Int_t i = 1; i <= GetGeometry()->GetNModules(); i++ ) {
#include <TMath.h>
-static const Double_t kPI = TMath::Pi();
static const Double_t k2PI = TMath::TwoPi();
static const Double_t kDegrad = TMath::DegToRad();
static const Double_t kRaddeg = TMath::RadToDeg();