CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
KalFitGemHit.h
Go to the documentation of this file.
1// hit in Gem
2#ifndef KALFITGEMHIT_H
3#define KALFITGEMHIT_H
5#include "CLHEP/Matrix/Vector.h"
6#include "CLHEP/Matrix/SymMatrix.h"
7#include "CLHEP/Matrix/Matrix.h"
8#include <vector>
9
10using namespace std;
11using namespace CLHEP;
12
14{
15 public:
16 KalFitGemHit(double phi, double v, int layer,int sheet);
18
19 double getPhi() const {return myPhi;};
20 double getZ() const {return myZ;};
21 double getR() const {return myR;};
22
23 HepVector getVecPos() const
24 {
25 HepVector vec(2);
26 vec(1)=myPhi;
27 vec(2)=myZ;
28 return vec;
29 }
30
31 HepSymMatrix getErrMat() const
32 {
33 HepSymMatrix EGem(2,0);
34 EGem(1,1)=myErrPhi*myErrPhi; //error^2 in r*phi/r (rad)
35 EGem(2,2)=myErrZ*myErrZ; //error^2 in z (mm)
36 return EGem;
37 }
38
39 private:
40 double myPhi; //in rad
41 double myZ; //in mm
42 double myR; //in mm
43
44 double myErrPhi;// error of phi
45 double myErrZ; // error of Z
46 double myErrR; // error of R
47};
48
49typedef vector<KalFitGemHit> KalFitGemHitCol;
50
51#endif
vector< KalFitGemHit > KalFitGemHitCol
**********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
HepVector getVecPos() const
HepSymMatrix getErrMat() const
double getR() const
KalFitGemHit(double phi, double v, int layer, int sheet)
double getPhi() const
double getZ() const
dble_vec_t vec[12]
Definition ranlxd.c:372