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);
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);
119 ientry = dataList.size();
120 dataList.push_back(std::pair<DTLVStatusId, DTLVStatusData>(key, data));
121 dBuf->insert(chanKey.begin(), chanKey.end(), ientry);
142 return setFlagCFE(
id.
wheel(),
id.
station(),
id.sector(), flag);
155 return setFlagDFE(
id.
wheel(),
id.
station(),
id.sector(), flag);
168 return setFlagCMC(
id.
wheel(),
id.
station(),
id.sector(), flag);
181 return setFlagDMC(
id.
wheel(),
id.
station(),
id.sector(), flag);
189 std::stringstream
name;
190 name << dataVersion <<
"_map_Mtime" <<
this;
198 int entryMax = dataList.size();
199 std::vector<int> chanKey;
201 while (entryNum < entryMax) {
205 chanKey.push_back(chan.
wheelId);
208 dBuf->insert(chanKey.begin(), chanKey.end(), entryNum++);
static AlgebraicMatrix initialize()
int get(int wheelId, int stationId, int sectorId, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const
get content
int set(int wheelId, int stationId, int sectorId, int flagCFE, int flagDFE, int flagCMC, int flagDMC)
const std::string & version() const
access version
void clear()
reset content
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int setFlagDMC(int wheelId, int stationId, int sectorId, int flag)
const_iterator end() const
std::string mapName() const
read and store full content
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTLVStatusId, DTLVStatusData > > dataList
int setFlagCFE(int wheelId, int stationId, int sectorId, int flag)
const_iterator begin() const
std::vector< std::pair< DTLVStatusId, DTLVStatusData > >::const_iterator const_iterator
Access methods to data.
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
char data[epos_bytes_allocation]
int setFlagDFE(int wheelId, int stationId, int sectorId, int flag)
int setFlagCMC(int wheelId, int stationId, int sectorId, int flag)