33 m_nword_header(0), m_nword_input(0), m_nword_output(0), m_BitMap_extra{{0}} {}
38 m_nLeafs = b.m_nLeafs;
39 m_nLeafsExtra = b.m_nLeafsExtra;
41 for (
int i = 0; i < 320; i++) {
42 strcpy(m_LeafNames[i], b.m_LeafNames[i]);
43 m_LeafMap[i] = b.m_LeafMap[i];
45 for (
int i = 0; i < 320; i++) {
46 for (
int j = 0; j < 2; j++) {
47 m_BitMap[i][j] = b.m_BitMap[i][j];
50 for (
int i = 0; i < 320; i++) {
51 for (
int j = 0; j < 3; j++) {
52 m_BitMap_extra[i][j] = b.m_BitMap_extra[i][j];
55 m_nword_header = b.m_nword_header;
56 m_nword_input = b.m_nword_input;
57 m_nword_output = b.m_nword_output;
62 m_nLeafs = b.m_nLeafs;
63 m_nLeafsExtra = b.m_nLeafsExtra;
67 for (
int i = 0; i < 320; i++) {
68 strcpy(m_LeafNames[i], b.m_LeafNames[i]);
69 m_LeafMap[i] = b.m_LeafMap[i];
71 for (
int i = 0; i < 320; i++) {
72 for (
int j = 0; j < 2; j++) {
73 m_BitMap[i][j] = b.m_BitMap[i][j];
76 for (
int i = 0; i < 320; i++) {
77 for (
int j = 0; j < 3; j++) {
78 m_BitMap_extra[i][j] = b.m_BitMap_extra[i][j];
81 m_nword_header = b.m_nword_header;
82 m_nword_input = b.m_nword_input;
83 m_nword_output = b.m_nword_output;
91 void setnLeafsExtra(
int i)
107 void setLeafName(
int i,
const char* c)
109 strcpy(m_LeafNames[i], c);
111 void setLeafMap(
int i,
int j)
115 void setBitMap(
int i,
int j,
int k)
119 void set_nword_header(
int i)
123 void set_nword_input(
int i)
127 void set_nword_output(
int i)
131 void setBitMap_extra(
int i,
int j,
int k)
133 m_BitMap_extra[i][j] = k;
136 int getnLeafs()
const
140 int getnLeafsExtra()
const
142 return m_nLeafsExtra;
156 const char* getLeafnames(
int i)
const
158 return m_LeafNames[i];
160 int getLeafMap(
int i)
const
164 int getBitMap(
int i,
int j)
const
166 return m_BitMap[i][j];
168 int get_nword_header()
const
170 return m_nword_header;
172 int get_nword_input()
const
174 return m_nword_input;
176 int get_nword_output()
const
178 return m_nword_output;
180 int getBitMap_extra(
int i,
int j)
const
182 return m_BitMap_extra[i][j];
205 char m_LeafNames[320][100];
211 int m_BitMap[320][2];
223 int m_BitMap_extra[320][3];
The payload class for PXD cluster charge calibrations.
int m_nword_header
header size
TRGGDLDBUnpacker & operator=(const TRGGDLDBUnpacker &b)
assignment operator
int m_nLeafs
num of leafs in data_b2l
int m_nLeafsExtra
num of leafs for others
TRGGDLDBUnpacker(const TRGGDLDBUnpacker &b)
copy constructor
int m_nword_input
DAM input word size.
int m_nword_output
DAM output word size.
TRGGDLDBUnpacker()
Default constructor.
ClassDef(TRGGDLDBUnpacker, 1)
ClassDef, must be the last term before the closing {}.
char m_LeafNames[320][100]
leaf names
int m_nClks
num of clk time window
Abstract base class for different kinds of events.