58 bool& discCat)
const {
59 dead_HV = dead_TP = dead_RO = discCat =
false;
61 std::vector<int> chanKey;
63 chanKey.push_back(wheelId);
64 chanKey.push_back(stationId);
65 chanKey.push_back(sectorId);
66 chanKey.push_back(slId);
67 chanKey.push_back(layerId);
68 chanKey.push_back(cellId);
70 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
73 dead_HV =
data.dead_HV;
74 dead_TP =
data.dead_TP;
75 dead_RO =
data.dead_RO;
76 discCat =
data.discCat;
84 id.
wheel(),
id.
station(),
id.sector(),
id.superLayer(),
id.
layer(),
id.wire(), dead_HV, dead_TP, dead_RO, discCat);
92 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
105 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
118 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
131 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
159 std::vector<int> chanKey;
161 chanKey.push_back(wheelId);
162 chanKey.push_back(stationId);
163 chanKey.push_back(sectorId);
164 chanKey.push_back(slId);
165 chanKey.push_back(layerId);
166 chanKey.push_back(cellId);
168 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
172 data.dead_HV = dead_HV;
173 data.dead_TP = dead_TP;
174 data.dead_RO = dead_RO;
175 data.discCat = discCat;
179 key.wheelId = wheelId;
180 key.stationId = stationId;
181 key.sectorId = sectorId;
183 key.layerId = layerId;
186 data.dead_HV = dead_HV;
187 data.dead_TP = dead_TP;
188 data.dead_RO = dead_RO;
189 data.discCat = discCat;
191 dataList.push_back(std::pair<const DTDeadFlagId, DTDeadFlagData>(
key,
data));
192 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
201 id.
wheel(),
id.
station(),
id.sector(),
id.superLayer(),
id.
layer(),
id.wire(), dead_HV, dead_TP, dead_RO, discCat);
209 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
210 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId,
flag, dead_TP, dead_RO, discCat);
223 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
224 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV,
flag, dead_RO, discCat);
237 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
238 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP,
flag, discCat);
251 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
252 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO,
flag);
265 std::stringstream
name;
275 std::vector<int> chanKey;
277 while (entryNum < entryMax) {
281 chanKey.push_back(
chan.wheelId);
282 chanKey.push_back(
chan.stationId);
283 chanKey.push_back(
chan.sectorId);
284 chanKey.push_back(
chan.slId);
285 chanKey.push_back(
chan.layerId);
286 chanKey.push_back(
chan.cellId);
287 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);