BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtEulerAngles.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of models developed at BES collaboration
5
// based on the EvtGen framework. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/BesCopyright
9
// Copyright (A) 2006 Ping Rong-Gang @IHEP
10
//
11
// Module: EvtDIY.cc
12
//
13
// Description: Class to calculate the Euler angles to rotate a system
14
//
15
// Modification history:
16
//
17
// Ping R.-G. December, 2007 Module created
18
//
19
//------------------------------------------------------------------------
20
//
21
#ifndef EVTEULERANGLES_HH
22
#define EVTEULERANGLES_HH
23
24
#include <iostream>
25
// #include <math.h>
26
#include "
EvtVector3R.hh
"
27
#include "
EvtVector4R.hh
"
28
29
// using std::endl;
30
// using std::fstream;
31
32
class
EvtEulerAngles
{
33
34
public
:
35
// destructor
36
virtual
~EvtEulerAngles
();
37
38
// constructor
39
EvtEulerAngles
();
40
EvtEulerAngles
(
const
EvtVector3R
& Yaxis,
const
EvtVector3R
& Zaxis );
41
EvtEulerAngles
(
const
EvtVector4R
& Pyaxis,
const
EvtVector4R
& Pzaxis );
42
void
EulerAngles
();
43
double
getAlpha
();
44
double
getBeta
();
45
double
getGamma
();
46
47
private
:
48
EvtVector3R
_Yaxis, _Zaxis;
49
double
_alpha, _beta, _gamma, _ry, _rz;
50
};
51
52
#endif
EvtVector3R.hh
EvtVector4R.hh
EvtEulerAngles::EvtEulerAngles
EvtEulerAngles()
Definition
EvtEulerAngles.cc:47
EvtEulerAngles::getGamma
double getGamma()
Definition
EvtEulerAngles.cc:53
EvtEulerAngles::EulerAngles
void EulerAngles()
Definition
EvtEulerAngles.cc:55
EvtEulerAngles::getBeta
double getBeta()
Definition
EvtEulerAngles.cc:51
EvtEulerAngles::~EvtEulerAngles
virtual ~EvtEulerAngles()
Definition
EvtEulerAngles.cc:31
EvtEulerAngles::getAlpha
double getAlpha()
Definition
EvtEulerAngles.cc:49
EvtVector3R
Definition
EvtVector3R.hh:28
EvtVector4R
Definition
EvtVector4R.hh:29
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtEulerAngles.hh
Generated by
1.16.1