CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/PhysicsTools/Utilities/interface/Number.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_Utilities_Number_h
00002 #define PhysicsTools_Utilities_Number_h
00003 
00004 namespace funct {
00005 
00006   struct Number {
00007     Number(double value) : value_(value) { }
00008     double operator()(double x) const { return value_; }
00009   private:
00010     double value_;
00011   };
00012 
00013 }
00014 
00015 #endif