Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
Utils
src
ExpressionNumber.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_ExpressionNumber_h
2
#define CommonTools_Utils_ExpressionNumber_h
3
/* \class reco::parser::ExpressionNumber
4
*
5
* Numberical expression
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted by Luca Lista, INFN
9
*
10
* \version $Revision: 1.2 $
11
*
12
*/
13
#include "
CommonTools/Utils/src/ExpressionBase.h
"
14
15
namespace
reco
{
16
namespace
parser
{
17
struct
ExpressionNumber
:
public
ExpressionBase
{
18
virtual
double
value
(
const
edm::ObjectWithDict
& )
const
{
return
value_
; }
19
ExpressionNumber
(
double
value
) :
value_
( value ) { }
20
private
:
21
double
value_
;
22
};
23
}
24
}
25
26
#endif
edm::ObjectWithDict
Definition:
ObjectWithDict.h:16
geometryXMLtoCSV.parser
tuple parser
Definition:
geometryXMLtoCSV.py:78
reco::parser::ExpressionNumber
Definition:
ExpressionNumber.h:17
ExpressionBase.h
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
reco::parser::ExpressionNumber::ExpressionNumber
ExpressionNumber(double value)
Definition:
ExpressionNumber.h:19
reco::parser::ExpressionBase
Definition:
ExpressionBase.h:20
reco::parser::ExpressionNumber::value_
double value_
Definition:
ExpressionNumber.h:21
reco::parser::ExpressionNumber::value
virtual double value(const edm::ObjectWithDict &) const
Definition:
ExpressionNumber.h:18
Generated for CMSSW Reference Manual by
1.8.5