Changeset 240 in svn
- Timestamp:
- Feb 3, 2009, 2:36:53 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/src/H_BeamParticle.cc
r216 r240 270 270 271 271 void H_BeamParticle::emitGamma(const double gee, const double gq2) { 272 emitGamma(gee,gq2,0,2* PI);272 emitGamma(gee,gq2,0,2*pi); 273 273 return; 274 274 } -
trunk/interface/SmearUtil.h
r223 r240 47 47 }; 48 48 49 extern const float pi = 3.14159265358979312; 49 50 50 51 class RESOLution … … 193 194 void BinEtaPhi(const float phi, const float eta, float& iPhi, float& iEta); 194 195 196 static const float pi = 3.14159265358979312; 195 197 }; 196 198 … … 224 226 225 227 226 #ifndef __PI__227 #define __PI__228 const double PI = acos(-1.0);229 #endif230 231 228 // ** returns the sign (+1 or -1) or an integer 232 229 int sign(const int myint);
Note:
See TracChangeset
for help on using the changeset viewer.