CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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
FUNCTION_OBJECT_IMP
#define FUNCTION_OBJECT_IMP(classname)
Definition:
AbsFunction.hh:149
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::X_
Definition:
X.hh:19
Genfun::X_::~X_
virtual ~X_()
Definition:
X.cc:15
Genfun::X_::operator()
virtual double operator()(double argument) const override
Definition:
X.cc:18
Genfun::X_::X_
X_()
Definition:
X.cc:8
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
src
X.cc
Generated by
1.9.6