BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-09/CalibData/Muc/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 CALIBDATA_MUC_IDTRANSFORM_H
9#define CALIBDATA_MUC_IDTRANSFORM_H
10
11#include<iostream>
12
13//using namespace std;
14namespace CalibData {
15
17 public:
20
21 int GetId();
22 int GetPart();
23 int GetSegment();
24 int GetLayer();
25 int GetStrip();
26
27 int GetStripMax( int part, int segment, int layer );
28 int GetBoxId( int part, int segment, int layer );
29 int GetStripId( int part, int segment, int layer, int subid );
30
31 bool SetBoxPos( int boxid, int* part, int* segment, int* layer );
32 bool SetStripPos( int stripid, int* part, int* segment, int* layer, int* subid );
33
34 void Print(int);
35
36 private:
37 int m_Id;
38 int m_Part;
39 int m_Segment;
40 int m_Layer;
41 int m_Strip;
42};
43}
44#endif
45
bool SetBoxPos(int boxid, int *part, int *segment, int *layer)
bool SetStripPos(int stripid, int *part, int *segment, int *layer, int *subid)