BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcCCount.h
Go to the documentation of this file.
1#ifndef EmcCCount_h
2#define EmcCCount_h 1
3
5#include "Trigger/TrigPara.h"
6
9
10using namespace TrigConf;
11
13public:
14 EmcCCount();
15 ~EmcCCount();
16 void getClusterId();
17 bool findCluster(int partId,int TCThetaNb,int TCPhiNb);
18 inline int getBClusterPhi(int i) { return BClusterPhi[i]; }
19 inline int getWEClusterPhi(int i) { return WEClusterPhi[i]; }
20 inline int getEEClusterPhi(int i) { return EEClusterPhi[i]; }
21 inline int getBClusterId(int i,int j) { return BClusterId[i][j]; }
22 inline int getEEClusterId(int i,int j) { return EEClusterId[i][j]; }
23 inline int getWEClusterId(int i,int j) { return WEClusterId[i][j]; }
24 inline bool getEClus_Z() { return EClus_Z; }
25 inline bool getWClus_Z() { return WClus_Z; }
26private:
27 EmcTCFinder* m_EmcTCFinder;
28
29 int BClusterPhi[TrigConf::TCPHINO_B];
30 int WEClusterPhi[TrigConf::TCPHINO_E/2];
31 int EEClusterPhi[TrigConf::TCPHINO_E/2];
32
33 int BClusterId[TrigConf::TCTHETANO_B][TrigConf::TCPHINO_B];
34 int EEClusterId[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E/2];
35 int WEClusterId[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E/2];
36
37 bool EClus_Z;
38 bool WClus_Z;
39
40 BesGlobalTrigSvc* m_pIBGT;
41 IBesGlobalTrigSvc* m_tmpSvc;
42};
43#endif
int getBClusterId(int i, int j)
Definition: EmcCCount.h:21
bool getEClus_Z()
Definition: EmcCCount.h:24
void getClusterId()
Definition: EmcCCount.cxx:36
bool findCluster(int partId, int TCThetaNb, int TCPhiNb)
Definition: EmcCCount.cxx:171
int getBClusterPhi(int i)
Definition: EmcCCount.h:18
int getEEClusterPhi(int i)
Definition: EmcCCount.h:20
int getWEClusterId(int i, int j)
Definition: EmcCCount.h:23
bool getWClus_Z()
Definition: EmcCCount.h:25
int getEEClusterId(int i, int j)
Definition: EmcCCount.h:22
int getWEClusterPhi(int i)
Definition: EmcCCount.h:19