CMS 3D CMS Logo

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  */
14 
15 namespace reco {
16  namespace parser {
17  struct ExpressionNumber : public ExpressionBase {
18  double value(const edm::ObjectWithDict&) const override { return value_; }
20 
21  private:
22  double value_;
23  };
24  } // namespace parser
25 } // namespace reco
26 
27 #endif
double value(const edm::ObjectWithDict &) const override
Definition: value.py:1
fixed size matrix