Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
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:644
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:55
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TypeWithDict.h
writedatasetfile.parser
tuple parser
Definition:
writedatasetfile.py:7
ExpressionPtr.h
Exception.h
edm::TypeWithDict
Definition:
TypeWithDict.h:38
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.5