61 bool& nohvFlag)
const {
62 noiseFlag = feMask = tdcMask = trigMask = deadFlag = nohvFlag =
false;
64 std::vector<int> chanKey;
66 chanKey.push_back(wheelId);
67 chanKey.push_back(stationId);
68 chanKey.push_back(sectorId);
69 chanKey.push_back(slId);
70 chanKey.push_back(layerId);
71 chanKey.push_back(cellId);
73 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
76 noiseFlag =
data.noiseFlag;
78 tdcMask =
data.tdcMask;
79 trigMask =
data.trigMask;
80 deadFlag =
data.deadFlag;
81 nohvFlag =
data.nohvFlag;
93 bool& nohvFlag)
const {
130 std::vector<int> chanKey;
132 chanKey.push_back(wheelId);
133 chanKey.push_back(stationId);
134 chanKey.push_back(sectorId);
135 chanKey.push_back(slId);
136 chanKey.push_back(layerId);
137 chanKey.push_back(cellId);
139 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
143 data.noiseFlag = noiseFlag;
144 data.feMask = feMask;
145 data.tdcMask = tdcMask;
146 data.trigMask = trigMask;
147 data.deadFlag = deadFlag;
148 data.nohvFlag = nohvFlag;
152 key.wheelId = wheelId;
153 key.stationId = stationId;
154 key.sectorId = sectorId;
156 key.layerId = layerId;
159 data.noiseFlag = noiseFlag;
160 data.feMask = feMask;
161 data.tdcMask = tdcMask;
162 data.trigMask = trigMask;
163 data.deadFlag = deadFlag;
164 data.nohvFlag = nohvFlag;
166 dataList.push_back(std::pair<const DTStatusFlagId, DTStatusFlagData>(
key,
data));
167 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
175 const DTWireId&
id,
bool noiseFlag,
bool feMask,
bool tdcMask,
bool trigMask,
bool deadFlag,
bool nohvFlag) {
198 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
199 set(wheelId, stationId, sectorId, slId, layerId, cellId,
flag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
215 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
216 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, mask, tdcMask, trigMask, deadFlag, nohvFlag);
225 int wheelId,
int stationId,
int sectorId,
int slId,
int layerId,
int cellId,
bool mask) {
233 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
234 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, mask, trigMask, deadFlag, nohvFlag);
243 int wheelId,
int stationId,
int sectorId,
int slId,
int layerId,
int cellId,
bool mask) {
251 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
252 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, mask, deadFlag, nohvFlag);
268 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
269 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask,
flag, nohvFlag);
285 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
286 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag,
flag);
299 std::stringstream
name;
309 std::vector<int> chanKey;
311 while (entryNum < entryMax) {
315 chanKey.push_back(
chan.wheelId);
316 chanKey.push_back(
chan.stationId);
317 chanKey.push_back(
chan.sectorId);
318 chanKey.push_back(
chan.slId);
319 chanKey.push_back(
chan.layerId);
320 chanKey.push_back(
chan.cellId);
321 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);