BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucCalibAlg/MucCalibAlg-00-02-16/MucCalibAlg/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
16 public:
19
20 int GetId();
21 int GetPart();
22 int GetSegment();
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)
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)