CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 // -*- C++ -*- 00002 // $Id: X.cc,v 1.3 2003/09/06 14:04:14 boudreau Exp $ 00003 #include "CLHEP/GenericFunctions/X.hh" 00004 00005 namespace Genfun { 00006 FUNCTION_OBJECT_IMP(X_) 00007 00008 X_::X_() 00009 {} 00010 00011 X_::X_(const X_ & right) : AbsFunction(right) 00012 { 00013 } 00014 00015 X_::~X_() { 00016 } 00017 00018 double X_::operator() (double x) const { 00019 return x; 00020 } 00021 00022 } // namespace Genfun