CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucGeoCreateAlg/MucGeoCreateAlg-00-01-00/MucGeoCreateAlg/MucIdTransform.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucIdTransform.h |
3// [Brief ]: Header file of MucIdTransform class for encapsulation |
4// [Author]: Xie Yuguang, <[email protected]> |
5// [Date ]: Oct 19, 2006 |
6//------------------------------------------------------------------------------|
7
8#ifndef MUC_IDTRANSFORM_H
9#define MUC_IDTRANSFORM_H
10
11#include<iostream>
12
13using namespace std;
14
15class MucIdTransform{
16 public:
19
20 int GetId();
21 int GetPart();
23 int GetLayer();
24 int GetStrip();
25
26 int GetStripMax( int part, int segment, int layer );
27 int GetBoxId( int part, int segment, int layer );
28 int GetStripId( int part, int segment, int layer, int subid );
29
30 bool SetBoxPos( int boxid, int* part, int* segment, int* layer );
31 bool SetStripPos( int stripid, int* part, int* segment, int* layer, int* subid );
32
33 void Print(int);
34
35 private:
36 int m_Id;
37 int m_Part;
38 int m_Segment;
39 int m_Layer;
40 int m_Strip;
41};
42
43#endif
44
int GetStripId(int part, int segment, int layer, int subid)
bool SetBoxPos(int boxid, int *part, int *segment, int *layer)
void Print(int)
int GetStripMax(int part, int segment, int layer)
int GetBoxId(int part, int segment, int layer)
bool SetStripPos(int stripid, int *part, int *segment, int *layer, int *subid)