53 int DTRangeT0::get(
int wheelId,
int stationId,
int sectorId,
int slId,
int& t0min,
int& t0max)
const {
56 std::vector<int> chanKey;
58 chanKey.push_back(wheelId);
59 chanKey.push_back(stationId);
60 chanKey.push_back(sectorId);
61 chanKey.push_back(slId);
65 int searchStatus = constDBuf->
find(chanKey.begin(), chanKey.end(), ientry);
76 return get(
id.
wheel(),
id.
station(),
id.sector(),
id.superLayer(), t0min, t0max);
89 int DTRangeT0::set(
int wheelId,
int stationId,
int sectorId,
int slId,
int t0min,
int t0max) {
90 std::vector<int> chanKey;
92 chanKey.push_back(wheelId);
93 chanKey.push_back(stationId);
94 chanKey.push_back(sectorId);
95 chanKey.push_back(slId);
97 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
106 key.wheelId = wheelId;
107 key.stationId = stationId;
108 key.sectorId = sectorId;
115 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
123 return set(
id.
wheel(),
id.
station(),
id.sector(),
id.superLayer(), t0min, t0max);
131 std::stringstream
name;
141 std::vector<int> chanKey;
143 while (entryNum < entryMax) {
147 chanKey.push_back(
chan.wheelId);
148 chanKey.push_back(
chan.stationId);
149 chanKey.push_back(
chan.sectorId);
150 chanKey.push_back(
chan.slId);
151 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);