Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
GeometrySurface
interface
TrivialError.h
Go to the documentation of this file.
1
#ifndef Geom_TrivialError_H
2
#define Geom_TrivialError_H
3
4
/* struct to disambiguate constructors
5
*
6
*/
7
8
struct
InvalidError
{};
9
struct
ZeroError
{};
10
// diagonal error with all value equal
11
struct
TrivialError
{
12
double
m_value
;
13
TrivialError
(
double
v
) :
m_value
(v) {}
14
double
value
()
const
{
return
m_value
; }
15
operator
double()
const
{
return
value
(); }
16
};
17
18
#endif
TrivialError::TrivialError
TrivialError(double v)
Definition:
TrivialError.h:13
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
ZeroError
Definition:
TrivialError.h:9
InvalidError
Definition:
TrivialError.h:8
TrivialError::m_value
double m_value
Definition:
TrivialError.h:12
TrivialError::value
double value() const
Definition:
TrivialError.h:14
TrivialError
Definition:
TrivialError.h:11
Generated for CMSSW Reference Manual by
1.8.5