18static const int LENGTH = 16;
19static const int DEFAULT_STRIP_ORDER = -1;
23static const int STRIP_NUM = 16;
33static const int MODULE_BIT = 6;
35static const int SOCKET_BIT = 4;
36static const int PART_BIT = 14;
37static const int SEG_BIT = 11;
38static const int LAY_BIT = 7;
44 MucFec(
int id,
int stripOrder,
int part,
int segment,
int layer,
int firstStripID,
unsigned int vmeRecord,
string chainName);
52 unsigned short GetData() {
return m_Data; }
66 string GetBin(
unsigned int record );
67 string GetBin(
unsigned short record );
74 void SetLocation(
int part,
int segment,
int layer );
77 void SetData(
unsigned short data );
82 unsigned int m_VmeRecord;
85 unsigned int m_PowerpcRecord;
89 unsigned short m_VmeAddress;
90 unsigned short m_GeoAddress;
91 unsigned short m_Data;
101 int m_FiredStripNumber;
102 vector< int > m_FiredStripVect;
106 void DecodeVmeAddress();
107 void SetFiredStripNumber();
108 void SetFiredStripVect();
109 void EncodePowerpcRecord();
void SetChainName(string chainName)
unsigned int GetPowerpcRecord()
void SetStripOrder(int stripOrder)
unsigned int GetVmeRecord()
vector< int > * GetFiredStripVect()
int GetFiredStripNumber()
void SetFirstStripID(int firstStripID)
void SetData(unsigned short data)
string GetBin(unsigned int record)
void SetLocation(int part, int segment, int layer)
unsigned short GetGeoAddress()
unsigned short GetVmeAddress()