BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrkExtAlg/TrkExtAlg/ExtMucKal.h
Go to the documentation of this file.
1#ifndef ExtMucKal_H_
2#define ExtMucKal_H_
3
4//#include "CLHEP/Alist/AList.h"
5#include "CLHEP/Matrix/Vector.h"
6#include "CLHEP/Matrix/SymMatrix.h"
7//#ifndef CLHEP_POINT3D_H
8#include "CLHEP/Geometry/Point3D.h"
9#include "G4VPhysicalVolume.hh"
10#include "TrkExtAlg/Ext_xp_err.h"
11#include "G4LogicalVolume.hh"
12#include "MucRawEvent/MucDigi.h"
13#include "MucRecEvent/MucRecHit.h"
14//#endif
15
16
17class ExtMucKal //: public HepAList<KLMKCluster>
18{
19
20public:
21
22 ExtMucKal();
23 ~ExtMucKal();
24 bool ExtMucFilter();
25 void SetPosMomErr(Hep3Vector pos,Hep3Vector mom,HepSymMatrix err){m_CurrentPosition=pos;m_CurrentMomentum=mom;m_CurrentXPErr = err;}
26 void SetMucDigiCol(MucDigiCol* amucdigi){m_MucDigiCol=amucdigi;}
27 void SetMucWindow(int aMucWindow){n_sigm = aMucWindow;}
28 void SetGapID(Hep3Vector id ){m_gapid = id;}
29 bool MucKalIniti();
30 void XPmod(Hep3Vector &pos,Hep3Vector &mom,HepSymMatrix &err);
31 bool JCB();
32 double Fit( Hep3Vector &pos, Hep3Vector &mom, HepSymMatrix &err);
33 HepMatrix GetRoationMatrix(MucGeoGap *box);
34 bool GetFilterStatus(){return FilterOK;}
35 double GetChi2(){return Chi2_sub;}
36 double GetDistance(const MucRecHit* hit);
37 double GetPull(){return m_pull;}
38 int GetOrient(){return m_orient;}
39 Hep3Vector GetHitGap();
40 vector<MucRecHit*> GapHit();
41 vector<MucRecHit*> TrackHit();
42 bool GetSameStrip(){return m_samestrip;}
43protected:
44
45private:
46 Hep3Vector m_gapid;
47 Hep3Vector m_hitgap;
48 Hep3Vector m_CurrentPosition;
49 Hep3Vector m_CurrentMomentum;
50 HepSymMatrix m_CurrentXPErr;
51 HepVector3D m_CurrentInsct;
52 HepSymMatrix m_CurrentInsctXPErr;
53 HepMatrix m_jcb;
54 MucDigiCol* m_MucDigiCol;
55 bool FilterOK;
56 double Chi2_sub;
57 HepSymMatrix m_err_mod;
58 Hep3Vector m_pos_mod;
59 Hep3Vector m_mom_mod;
60 MucRecHit* m_nearesthit;
61 bool HitExist;
62 double m_pull;
63 double m_sigma;
64 int m_orient;
65 int n_sigm;
66 HepVector m_bm;
67 HepSymMatrix m_Ebm;
68 int m_iStrip;
69 bool m_samestrip;
70};
71
72#endif
ObjectVector< MucDigi > MucDigiCol
bool ExtMucFilter()
Definition: ExtMucKal.cxx:16
double GetDistance(const MucRecHit *hit)
Definition: ExtMucKal.cxx:125
vector< MucRecHit * > GapHit()
Definition: ExtMucKal.cxx:195
bool JCB()
Definition: ExtMucKal.cxx:237
double Fit(Hep3Vector &pos, Hep3Vector &mom, HepSymMatrix &err)
Definition: ExtMucKal.cxx:331
void SetPosMomErr(Hep3Vector pos, Hep3Vector mom, HepSymMatrix err)
HepMatrix GetRoationMatrix(MucGeoGap *box)
Definition: ExtMucKal.cxx:288
void XPmod(Hep3Vector &pos, Hep3Vector &mom, HepSymMatrix &err)
Definition: ExtMucKal.cxx:71
void SetMucDigiCol(MucDigiCol *amucdigi)
vector< MucRecHit * > TrackHit()
Definition: ExtMucKal.cxx:78
bool MucKalIniti()
Definition: ExtMucKal.cxx:150
Hep3Vector GetHitGap()
Definition: ExtMucKal.cxx:228