Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DetectorDescription
ExprAlgo
interface
ExprEvalSingleton.h
Go to the documentation of this file.
1
#ifndef ExprEvalSingleton_h
2
#define ExprEvalSingleton_h
3
4
#include "
DetectorDescription/Base/interface/Singleton.h
"
5
#include "
DetectorDescription/ExprAlgo/interface/ClhepEvaluator.h
"
6
// full name compatible with the header file name
7
typedef
DDI::Singleton<ClhepEvaluator>
ExprEvalSingleton
;
8
9
// short name
10
typedef
DDI::Singleton<ClhepEvaluator>
ExprEval
;
11
12
14
// usage:
15
//
16
// DDExprEvaluator & eval_sgtn = DDExpreEvalSingleton::instance();
17
// eval_sgtn.set(...) ; and so on ...
18
//
19
// the same singleton can be addressed using:
20
// DDExprEval::instance()
21
//
23
#endif
ClhepEvaluator.h
ExprEvalSingleton
DDI::Singleton< ClhepEvaluator > ExprEvalSingleton
Definition:
ExprEvalSingleton.h:7
Singleton.h
ExprEval
DDI::Singleton< ClhepEvaluator > ExprEval
Definition:
ExprEvalSingleton.h:10
DDI::Singleton
Definition:
Singleton.h:6
Generated for CMSSW Reference Manual by
1.8.5