55 int wheelId,
int stationId,
int sectorId,
int& flagCFE,
int& flagDFE,
int& flagCMC,
int& flagDMC)
const {
61 std::vector<int> chanKey;
63 chanKey.push_back(wheelId);
64 chanKey.push_back(stationId);
65 chanKey.push_back(sectorId);
67 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
70 flagCFE =
data.flagCFE;
71 flagDFE =
data.flagDFE;
72 flagCMC =
data.flagCMC;
73 flagDMC =
data.flagDMC;
80 return get(
id.
wheel(),
id.
station(),
id.sector(), flagCFE, flagDFE, flagCMC, flagDMC);
93 int DTLVStatus::set(
int wheelId,
int stationId,
int sectorId,
int flagCFE,
int flagDFE,
int flagCMC,
int flagDMC) {
94 std::vector<int> chanKey;
96 chanKey.push_back(wheelId);
97 chanKey.push_back(stationId);
98 chanKey.push_back(sectorId);
100 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
104 data.flagCFE = flagCFE;
105 data.flagDFE = flagDFE;
106 data.flagCMC = flagCMC;
107 data.flagDMC = flagDMC;
111 key.wheelId = wheelId;
112 key.stationId = stationId;
113 key.sectorId = sectorId;
115 data.flagCFE = flagCFE;
116 data.flagDFE = flagDFE;
117 data.flagCMC = flagCMC;
118 data.flagDMC = flagDMC;
120 dataList.push_back(std::pair<DTLVStatusId, DTLVStatusData>(
key,
data));
121 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
129 return set(
id.
wheel(),
id.
station(),
id.sector(), flagCFE, flagDFE, flagCMC, flagDMC);
137 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
138 return set(wheelId, stationId, sectorId,
flag, flagDFE, flagCMC, flagDMC);
150 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
151 return set(wheelId, stationId, sectorId, flagCFE,
flag, flagCMC, flagDMC);
163 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
164 return set(wheelId, stationId, sectorId, flagCFE, flagDFE,
flag, flagDMC);
176 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
177 return set(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC,
flag);
189 std::stringstream
name;
199 std::vector<int> chanKey;
201 while (entryNum < entryMax) {
205 chanKey.push_back(
chan.wheelId);
206 chanKey.push_back(
chan.stationId);
207 chanKey.push_back(
chan.sectorId);
208 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);