Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
Pandora
GArPandora
RotationTransformation.h
Go to the documentation of this file.
1
#ifndef ROTATIONTRANSFORMATION_H
2
#define ROTATIONTRANSFORMATION_H 1
3
4
#include "Api/PandoraApi.h"
5
6
#include "CLHEP/Units/PhysicalConstants.h"
7
8
namespace
gar
{
9
namespace
gar_pandora {
10
11
class
RotationTransformation
12
{
13
public
:
14
RotationTransformation
(
int
kAxis,
float
angle);
15
16
virtual
~RotationTransformation
();
17
18
const
pandora::CartesianVector
MakeRotation
(
const
pandora::CartesianVector &initialVec)
const
;
19
20
static
const
int
kAxisX
;
21
static
const
int
kAxisY
;
22
static
const
int
kAxisZ
;
23
private
:
24
void
SetRotationX
();
25
void
SetRotationY
();
26
void
SetRotationZ
();
27
28
bool
m_RotationSet
;
29
float
m_RotationAngle
;
30
float
fRotMatrix
[9];
//the rotation matrix
31
};
32
}
33
}
34
35
#endif
gar::gar_pandora::RotationTransformation::~RotationTransformation
virtual ~RotationTransformation()
Definition:
RotationTransformation.cxx:50
gar::gar_pandora::RotationTransformation
Definition:
RotationTransformation.h:11
gar::gar_pandora::RotationTransformation::kAxisZ
static const int kAxisZ
Definition:
RotationTransformation.h:22
gar::gar_pandora::RotationTransformation::RotationTransformation
RotationTransformation(int kAxis, float angle)
Definition:
RotationTransformation.cxx:18
gar::gar_pandora::RotationTransformation::kAxisX
static const int kAxisX
Definition:
RotationTransformation.h:20
gar::gar_pandora::RotationTransformation::SetRotationZ
void SetRotationZ()
Definition:
RotationTransformation.cxx:107
gar::gar_pandora::RotationTransformation::kAxisY
static const int kAxisY
Definition:
RotationTransformation.h:21
gar::gar_pandora::RotationTransformation::SetRotationX
void SetRotationX()
Definition:
RotationTransformation.cxx:67
gar::gar_pandora::RotationTransformation::m_RotationSet
bool m_RotationSet
Definition:
RotationTransformation.h:28
gar::gar_pandora::RotationTransformation::MakeRotation
const pandora::CartesianVector MakeRotation(const pandora::CartesianVector &initialVec) const
Definition:
RotationTransformation.cxx:54
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
gar::gar_pandora::RotationTransformation::m_RotationAngle
float m_RotationAngle
Definition:
RotationTransformation.h:29
gar::gar_pandora::RotationTransformation::fRotMatrix
float fRotMatrix[9]
Definition:
RotationTransformation.h:30
gar::gar_pandora::RotationTransformation::SetRotationY
void SetRotationY()
Definition:
RotationTransformation.cxx:87
Generated by
1.8.11