BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
11#include "G4LogicalVolume.hh"
12#include "MucRawEvent/MucDigi.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
void Fit()
ObjectVector< MucDigi > MucDigiCol
Definition MucDigi.h:29
bool ExtMucFilter()
Definition ExtMucKal.cxx:16
void SetGapID(Hep3Vector id)
Definition ExtMucKal.h:28
int GetOrient()
Definition ExtMucKal.h:38
double GetDistance(const MucRecHit *hit)
vector< MucRecHit * > GapHit()
bool GetSameStrip()
Definition ExtMucKal.h:42
bool GetFilterStatus()
Definition ExtMucKal.h:34
bool JCB()
void SetPosMomErr(Hep3Vector pos, Hep3Vector mom, HepSymMatrix err)
Definition ExtMucKal.h:25
HepMatrix GetRoationMatrix(MucGeoGap *box)
void SetMucWindow(int aMucWindow)
Definition ExtMucKal.h:27
void XPmod(Hep3Vector &pos, Hep3Vector &mom, HepSymMatrix &err)
Definition ExtMucKal.cxx:71
void SetMucDigiCol(MucDigiCol *amucdigi)
Definition ExtMucKal.h:26
double GetChi2()
Definition ExtMucKal.h:35
vector< MucRecHit * > TrackHit()
Definition ExtMucKal.cxx:78
double GetPull()
Definition ExtMucKal.h:37
bool MucKalIniti()
Hep3Vector GetHitGap()