CommonTools
Utils
src
ExpressionSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_ExpressionSetter_h
2
#define CommonTools_Utils_ExpressionSetter_h
3
/* \class reco::parser::ExpressionSetter
4
*
5
* Expression setter
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/ExpressionPtr.h
"
14
#include "
CommonTools/Utils/src/ExpressionStack.h
"
15
16
namespace
reco
{
17
namespace
parser
{
18
struct
ExpressionSetter
{
19
ExpressionSetter
(
ExpressionPtr
&
expr
,
ExpressionStack
& exprStack) :
expr_
(
expr
),
exprStack_
(exprStack) {}
20
21
void
operator()
(
const
char
*,
const
char
*)
const
;
22
ExpressionPtr
&
expr_
;
23
ExpressionStack
&
exprStack_
;
24
};
25
}
// namespace parser
26
}
// namespace reco
27
28
#endif
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::parser::ExpressionSetter
Definition:
ExpressionSetter.h:18
ExpressionStack.h
reco::parser::ExpressionSetter::exprStack_
ExpressionStack & exprStack_
Definition:
ExpressionSetter.h:23
reco::parser::ExpressionPtr
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition:
ExpressionBase.h:25
reco::parser::ExpressionSetter::operator()
void operator()(const char *, const char *) const
Definition:
ExpressionSetter.cc:9
reco::parser::ExpressionSetter::expr_
ExpressionPtr & expr_
Definition:
ExpressionSetter.h:22
ExpressionPtr.h
jets_cff.expr
expr
Definition:
jets_cff.py:483
reco::parser::ExpressionSetter::ExpressionSetter
ExpressionSetter(ExpressionPtr &expr, ExpressionStack &exprStack)
Definition:
ExpressionSetter.h:19
reco::parser::ExpressionStack
std::vector< std::shared_ptr< ExpressionBase > > ExpressionStack
Definition:
ExpressionStack.h:19
Generated for CMSSW Reference Manual by
1.8.16