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
:
15
Theta
() {}
16
18
explicit
Theta
(
const
T
&
val
) :
theValue
(
val
) {}
19
21
operator
T
()
const
{
return
theValue
; }
22
24
T
value
()
const
{
return
theValue
; }
25
26
private
:
27
T
theValue
;
28
};
29
30
}
// namespace Geom
31
#endif
Geom::Theta
Definition:
Theta.h:12
Geom::Theta::value
T value() const
Explicit access to value in case implicit conversion not OK.
Definition:
Theta.h:24
Geom::Theta::theValue
T theValue
Definition:
Theta.h:27
Geom
Definition:
CoordinateSets.h:6
Geom::Theta::Theta
Theta()
Default constructor does not initialise - just as double.
Definition:
Theta.h:15
heppy_batch.val
val
Definition:
heppy_batch.py:351
T
long double T
Definition:
Basic3DVectorLD.h:48
Geom::Theta::Theta
Theta(const T &val)
Constructor from T, does not provide automatic conversion.
Definition:
Theta.h:18
Generated for CMSSW Reference Manual by
1.8.16