Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CommonTools
Utils
interface
ExpressionBase.h
Go to the documentation of this file.
1
#ifndef Parser_ExpressionBase_h
2
#define Parser_ExpressionBase_h
3
/* \class reco::parser::ExpressionBase
4
*
5
* Base class for parsed expressions
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted by Luca Lista, INFN
9
*
10
*/
11
12
#include <vector>
13
#include <memory>
14
15
namespace
edm {
16
class
ObjectWithDict;
17
}
18
19
namespace
reco
{
20
namespace
parser
{
21
struct
ExpressionBase
{
22
virtual
~ExpressionBase
() {}
23
virtual
double
value
(
const
edm::ObjectWithDict
&)
const
= 0;
24
};
25
typedef
std::shared_ptr<ExpressionBase>
ExpressionPtr
;
26
}
// namespace parser
27
}
// namespace reco
28
29
#endif
edm::ObjectWithDict
Definition:
ObjectWithDict.h:17
reco::parser::ExpressionBase::value
virtual double value(const edm::ObjectWithDict &) const =0
reco::parser::ExpressionBase::~ExpressionBase
virtual ~ExpressionBase()
Definition:
ExpressionBase.h:22
reco::parser::ExpressionPtr
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition:
ExpressionBase.h:25
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
reco::parser::ExpressionBase
Definition:
ExpressionBase.h:21
writedatasetfile.parser
tuple parser
Definition:
writedatasetfile.py:7
Generated for CMSSW Reference Manual by
1.8.5