BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMucTrig.h
Go to the documentation of this file.
1#ifndef BesMucTrig_h
2#define BesMucTrig_h 1
3
4#include <vector>
5
6class MucTrigHit;
9
11public:
12 BesMucTrig();
14
15 void startMucTrig();
16
17 //get the fired layer number
18 std::vector<int> getNlayerSeg();
19
20 //get the total fired layer number in barrel and endcaps
21 int getNlayerPart(int part);
22
23 //get the hits in each layer
24 std::vector<int> getNhitLayer();
25
26 //get the hits in each segment
27 std::vector<int> getNhitSeg();
28
29 //get the hits in each part
30 int getNhitPart(int i);
31
32 //get the hits including barrel and endcaps
33 int getNhitTotal();
34
35 void setIndex();
36
37 void readIndex();
38
39 void findTrack();
40
41private:
42 MucTrigHit* m_MucTrigHit;
43
44 int nfireLayerBR[8][4], nhitLayerBR[8][4], nhitSegBR[8], nhitBR;
45 int nfireLayerEC[2][4][4], nhitLayerEC[2][4][4], nhitSegEC[2][4], nhitEC[2];
46
47 std::vector<int> vfireLayer;
48 std::vector<int> vhitLayer;
49 std::vector<int> vhitSeg;
50
51 std::vector<int> vIndex; //container of fired strip number
52
53 int foBR[8][4][7]; //barrel fastOr signal, seg, gap, fastOr
54 int foEC[2][4][4][4]; //endcaps fastOr signal, part, seg, gap, fastOr
55
56 int trackBR[8]; //track in each segment in barrel
57 int trackEE[4]; //track in each segment in east endcap
58 int trackWE[4]; //track in each segment in west endcap
59
60 int track3lBR[8];
61 int track3lEE[4];
62 int track3lWE[4];
63
64 int btrack, etrack;
65
66 std::vector<std::vector<int> > vindexb;
67 std::vector<std::vector<int> > vindexb3;
68 std::vector<std::vector<int> > vindexe;
69
70 BesGlobalTrigSvc* m_pIBGT;
71 IBesGlobalTrigSvc* m_tmpSvc;
72};
73#endif
void readIndex()
void startMucTrig()
void setIndex()
std::vector< int > getNlayerSeg()
int getNlayerPart(int part)
void findTrack()
std::vector< int > getNhitLayer()
int getNhitTotal()
int getNhitPart(int i)
std::vector< int > getNhitSeg()