Main Page
Namespaces
Classes
Package Documentation
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
9
struct
InvalidError
{};
10
struct
ZeroError
{};
11
// diagonal error with all value equal
12
struct
TrivialError
{
13
double
m_value
;
14
TrivialError
(
double
v
) : m_value(v){}
15
double
value
()
const
{
return
m_value;}
16
operator
double()
const
{
return
value
();}
17
};
18
19
20
#endif
TrivialError::TrivialError
TrivialError(double v)
Definition:
TrivialError.h:14
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
ZeroError
Definition:
TrivialError.h:10
InvalidError
Definition:
TrivialError.h:9
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
TrivialError::m_value
double m_value
Definition:
TrivialError.h:13
TrivialError::value
double value() const
Definition:
TrivialError.h:15
TrivialError
Definition:
TrivialError.h:12
Generated for CMSSW Reference Manual by
1.8.11