Fork me on GitHub

Changeset 240 in svn


Ignore:
Timestamp:
Feb 3, 2009, 2:36:53 PM (16 years ago)
Author:
Xavier Rouby
Message:

moving from PI to pi

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/src/H_BeamParticle.cc

    r216 r240  
    270270
    271271void H_BeamParticle::emitGamma(const double gee, const double gq2) {
    272         emitGamma(gee,gq2,0,2*PI);
     272        emitGamma(gee,gq2,0,2*pi);
    273273        return;
    274274}
  • trunk/interface/SmearUtil.h

    r223 r240  
    4747};
    4848
     49extern const float pi = 3.14159265358979312;
    4950
    5051class RESOLution
     
    193194  void BinEtaPhi(const float phi, const float eta, float& iPhi, float& iEta);
    194195
     196  static const float pi = 3.14159265358979312;
    195197};
    196198
     
    224226
    225227
    226 #ifndef __PI__
    227 #define __PI__
    228 const double PI = acos(-1.0);
    229 #endif
    230 
    231228// ** returns the sign (+1 or -1) or an integer
    232229int sign(const int myint);
Note: See TracChangeset for help on using the changeset viewer.