Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
GeometryVector
interface
Theta.h
Go to the documentation of this file.
1
#ifndef GeometryVector_Geom_Theta_h
2
#define GeometryVector_Geom_Theta_h
3
4
namespace
Geom
{
5
11
template
<
class
T>
12
class
Theta
{
13
public
:
14
16
Theta
() {}
17
19
explicit
Theta
(
const
T
&
val
) :
theValue
(val) {}
20
22
operator
T
()
const
{
return
theValue
;}
23
25
T
value
()
const
{
return
theValue
;}
26
27
private
:
28
T
theValue
;
29
};
30
31
}
32
#endif
SpecificationBuilder_cfi.val
def val
Definition:
SpecificationBuilder_cfi.py:32
Geom::Theta::Theta
Theta(const T &val)
Constructor from T, does not provide automatic conversion.
Definition:
Theta.h:19
Geom::Theta
Definition:
Theta.h:12
Geom::Theta::Theta
Theta()
Default constructor does not initialise - just as double.
Definition:
Theta.h:16
Geom::Theta::theValue
T theValue
Definition:
Theta.h:28
Geom::Theta::value
T value() const
Explicit access to value in case implicit conversion not OK.
Definition:
Theta.h:25
egHLT::errCodes::Geom
Definition:
EgHLTErrCodes.h:16
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5