CGEM BOSS 6.6.5.i
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>
28
29//using std::endl;
30//using std::fstream;
31
33{
34
35public:
36
37//destructor
38virtual ~EvtEulerAngles();
39
40// constructor
42EvtEulerAngles( const EvtVector3R & Yaxis, const EvtVector3R & Zaxis);
43EvtEulerAngles( const EvtVector4R & Pyaxis, const EvtVector4R & Pzaxis);
44 void EulerAngles();
45 double getAlpha();
46 double getBeta();
47 double getGamma();
48private:
49 EvtVector3R _Yaxis,_Zaxis;
50 double _alpha,_beta,_gamma,_ry,_rz;
51};
52
53#endif
virtual ~EvtEulerAngles()