CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
DifRotation.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: DifRotation.h,v 1.2 2009/12/23 02:59:56 zhangy Exp $
4//
5// Description:
6// Class Header for |DifRotation|
7// Rotation matrix and rotate things
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Author List:
13// A. Snyder
14//
15// Copyright Information:
16// Copyright (C) 1996 SLAC
17//
18// History:
19// Migration for BESIII MDC
20//
21//------------------------------------------------------------------------
22
23#ifndef DifRotation_H
24#define DifRotation_H
25
27
29
30public:
31
32 //constructors
33 DifRotation(); // unit matrix
34 DifRotation // construct from euler
35 (const DifNumber& alpha,
36 const DifNumber& beta,
37 const DifNumber& gamma);
38
39 DifRotation // constructionr from axes
40 (const DifVector& xp,const DifVector& yp,const DifVector& zp);
41 DifRotation // z=x X y
42 (const DifVector& xp,const DifVector& yp);
43
45
46 //access
47 inline DifVector xnew()const {return _xnew;}
48 inline DifVector ynew()const {return _ynew;}
49 inline DifVector znew()const {return _znew;}
50
51 //rotate a vector
52 void rotate(DifVector& v)const;
53
54 //error check
55 int fail()const; // check for orthonormality failure
56
57private:
58
59 //data - store as vector
60 DifVector _xnew;
61 DifVector _ynew;
62 DifVector _znew;
63};
64
65#endif
const double alpha
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition KarLud.h:35
DifVector xnew() const
Definition DifRotation.h:47
void rotate(DifVector &v) const
DifVector ynew() const
Definition DifRotation.h:48
DifVector znew() const
Definition DifRotation.h:49
int fail() const