CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
bak_ReadCosmicRayData-00-00-09/ReadCosmicRayData/StripMapper.h
Go to the documentation of this file.
1#ifndef STRIPMAPPER
2#define STRIPMAPPER
3
4#include <string>
5#include "TFile.h"
6#include "TString.h"
7
8#define MAXLAYER 3
9#define MAXSHEET 2
10#define MAXVIEW 2
11#define MAXSTRIP 1395 // LAYER3
12
14public:
15 // Constructor
16 StripMapper(TString name);
18
19 bool FillMap();
20
21 int GetGEMROC(int stripid,int striptype, int layerid, int sheetid);
22 int GetFEB(int stripid,int striptype, int layerid, int sheetid);
23 int GetTIGER(int stripid, int striptype, int layerid, int sheetid);
24
25private:
26 TString CosmicRayDataSetID;
27
28 // gemroc / feb / tiger
29 int mapping[MAXSTRIP][MAXLAYER][MAXSHEET][MAXVIEW][3];
30
31
32};
33#endif
int GetFEB(int stripid, int striptype, int layerid, int sheetid)
int GetTIGER(int stripid, int striptype, int layerid, int sheetid)
int GetGEMROC(int stripid, int striptype, int layerid, int sheetid)