BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Trigger/Trigger/Trigger-00-01-05/Trigger/EmcCCount.h
Go to the documentation of this file.
1#ifndef EmcCCount_h
2#define EmcCCount_h 1
3
4#include "Trigger/EmcTCFinder.h"
5#include "Trigger/TrigPara.h"
6
9
10using namespace TrigConf;
11
12class EmcCCount{
13public:
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
void getClusterId()
bool findCluster(int partId, int TCThetaNb, int TCPhiNb)