CommonTools
Utils
interface
expressionParser.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_expressionParset_h
2
#define CommonTools_Utils_expressionParset_h
3
#include "
CommonTools/Utils/interface/ExpressionPtr.h
"
4
#include "
CommonTools/Utils/interface/Exception.h
"
5
#include "
FWCore/Reflection/interface/TypeWithDict.h
"
6
#include <string>
7
8
namespace
reco
{
9
namespace
parser
{
10
bool
expressionParser
(
const
edm::TypeWithDict
&
t
,
const
std::string
&
value
,
ExpressionPtr
&
expr
,
bool
lazy);
11
12
template
<
typename
T>
13
bool
expressionParser
(
const
std::string
&
value
,
ExpressionPtr
&
expr
,
bool
lazy =
false
) {
14
return
reco::parser::expressionParser
(
edm::TypeWithDict
(
typeid
(
T
)),
value
,
expr
, lazy);
15
}
16
17
}
// namespace parser
18
}
// namespace reco
19
20
#endif
jetsAK8_cff.expr
expr
Definition:
jetsAK8_cff.py:155
reco::parser::expressionParser
bool expressionParser(const edm::TypeWithDict &t, const std::string &value, ExpressionPtr &expr, bool lazy)
Definition:
expressionParser.cc:7
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:651
reco::parser::ExpressionPtr
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition:
ExpressionBase.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TypeWithDict.h
value
Definition:
value.py:1
ExpressionPtr.h
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
Exception.h
edm::TypeWithDict
Definition:
TypeWithDict.h:38
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.14