ATLAS Offline Software
PhysicsAnalysis
CommonTools
ExpressionEvaluation
Root
NTUPUnitInterpreter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// NTUPUnitInterpreter.h, (c) ATLAS Detector software
8
// Author: Thomas Gillam (thomas.gillam@cern.ch)
9
// ExpressionParsing library
11
12
#ifndef NTUP_UNIT_INTERPRETER_H
13
#define NTUP_UNIT_INTERPRETER_H
14
15
#include "
ExpressionEvaluation/IUnitInterpreter.h
"
16
17
namespace
ExpressionParsing
{
18
class
NTUPUnitInterpreter
:
public
IUnitInterpreter
{
19
public
:
20
NTUPUnitInterpreter
();
21
virtual
~NTUPUnitInterpreter
();
22
23
private
:
24
virtual
const
std::map<std::string, double> &
unitMap
()
const
;
25
26
private
:
27
std::map<std::string, double>
m_unitStringToValue
;
28
};
29
}
30
31
#endif // NTUP_UNIT_INTERPRETER_H
ExpressionParsing::NTUPUnitInterpreter::m_unitStringToValue
std::map< std::string, double > m_unitStringToValue
Definition:
NTUPUnitInterpreter.h:27
ExpressionParsing::IUnitInterpreter
Definition:
IUnitInterpreter.h:19
ExpressionParsing::NTUPUnitInterpreter::unitMap
virtual const std::map< std::string, double > & unitMap() const
Definition:
NTUPUnitInterpreter.cxx:30
ExpressionParsing::NTUPUnitInterpreter
Definition:
NTUPUnitInterpreter.h:18
ExpressionParsing
Namespace holding all the expression evaluation code.
Definition:
ExpressionParser.h:26
ExpressionParsing::NTUPUnitInterpreter::NTUPUnitInterpreter
NTUPUnitInterpreter()
Definition:
NTUPUnitInterpreter.cxx:15
ExpressionParsing::NTUPUnitInterpreter::~NTUPUnitInterpreter
virtual ~NTUPUnitInterpreter()
Definition:
NTUPUnitInterpreter.cxx:26
IUnitInterpreter.h
Generated on Tue Dec 24 2024 21:15:53 for ATLAS Offline Software by
1.8.18