BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/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
26#include "MdcRecoUtil/DifVector.h"
27
28class DifRotation {
29
30public:
31 // constructors
32 DifRotation(); // unit matrix
33 DifRotation // construct from euler
34 ( const DifNumber& alpha, const DifNumber& beta, const DifNumber& gamma );
35
36 DifRotation // constructionr from axes
37 ( const DifVector& xp, const DifVector& yp, const DifVector& zp );
38 DifRotation // z=x X y
39 ( const DifVector& xp, const DifVector& yp );
40
42
43 // access
44 inline DifVector xnew() const { return _xnew; }
45 inline DifVector ynew() const { return _ynew; }
46 inline DifVector znew() const { return _znew; }
47
48 // rotate a vector
49 void rotate( DifVector& v ) const;
50
51 // error check
52 int fail() const; // check for orthonormality failure
53
54private:
55 // data - store as vector
56 DifVector _xnew;
57 DifVector _ynew;
58 DifVector _znew;
59};
60
61#endif
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
void rotate(DifVector &v) const
int fail() const