92 std::vector<int> chanKey;
94 chanKey.push_back( wheelId );
95 chanKey.push_back( stationId );
96 chanKey.push_back( sectorId );
98 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
99 if ( !searchStatus ) {
117 return get(
id.wheel(),
153 std::vector<int> chanKey;
155 chanKey.push_back( wheelId );
156 chanKey.push_back( stationId );
157 chanKey.push_back( sectorId );
159 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
161 if ( !searchStatus ) {
171 key. wheelId = wheelId;
173 key. sectorId = sectorId;
179 ientry = dataList.size();
182 dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
196 return set(
id.wheel(),
233 return setFlagCFE(
id.
wheel(),
267 return setFlagDFE(
id.
wheel(),
301 return setFlagCMC(
id.
wheel(),
335 return setFlagDMC(
id.
wheel(),
343 return dataList.begin();
348 return dataList.end();
353 std::stringstream
name;
354 name << dataVersion <<
"_map_Mtime" <<
this;
364 int entryMax = dataList.size();
365 std::vector<int> chanKey;
367 while ( entryNum < entryMax ) {
372 chanKey.push_back( chan. wheelId );
374 chanKey.push_back( chan. sectorId );
375 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
int setFlagDMC(int wheelId, int stationId, int sectorId, int flag)
const_iterator end() const
std::vector< std::pair< DTLVStatusId, DTLVStatusData > > dataList
std::string mapName() const
read and store full content
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTLVStatusId, DTLVStatusData > >::const_iterator const_iterator
Access methods to data.
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int setFlagCFE(int wheelId, int stationId, int sectorId, int flag)
const_iterator begin() const
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)