CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
src
X.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: X.cc,v 1.3 2003/09/06 14:04:14 boudreau Exp $
3
#include "
CLHEP/GenericFunctions/X.hh
"
4
5
namespace
Genfun {
6
FUNCTION_OBJECT_IMP
(X_)
7
8
X_
::
X_
()
9
{}
10
11
X_::X_
(
const
X_
& right) :
AbsFunction
(right)
12
{
13
}
14
15
X_::~X_
() {
16
}
17
18
double
X_::operator()
(
double
x)
const
{
19
return
x;
20
}
21
22
}
// namespace Genfun
Generated on Mon May 6 2013 04:04:12 for CLHEP by
1.8.1.2