41 dataVersion( version ),
86 int& flagDMC )
const {
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 ) {
116 int& flagDMC )
const {
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;
182 dBuf->
insert( chanKey.begin(), chanKey.end(), ientry );
196 return set(
id.wheel(),
353 std::stringstream
name;
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++ );
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
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
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
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
int setFlagDFE(int wheelId, int stationId, int sectorId, int flag)
int setFlagCMC(int wheelId, int stationId, int sectorId, int flag)