99 std::vector<int> chanKey;
101 chanKey.push_back( wheelId );
102 chanKey.push_back( stationId );
103 chanKey.push_back( sectorId );
104 chanKey.push_back( slId );
105 chanKey.push_back( layerId );
106 chanKey.push_back( cellId );
108 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
109 if ( !searchStatus ) {
131 return get(
id.wheel(),
173 std::vector<int> chanKey;
175 chanKey.push_back( wheelId );
176 chanKey.push_back( stationId );
177 chanKey.push_back( sectorId );
178 chanKey.push_back( slId );
179 chanKey.push_back( layerId );
180 chanKey.push_back( cellId );
182 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
184 if ( !searchStatus ) {
196 key. wheelId = wheelId;
198 key. sectorId = sectorId;
200 key. layerId = layerId;
201 key. cellId = cellId;
209 ientry = dataList.size();
212 dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
228 return set(
id.wheel(),
253 int status =
get( wheelId,
284 return setCellNoise(
id.
wheel(),
308 int status =
get( wheelId,
339 return setCellFEMask(
id.
wheel(),
363 int status =
get( wheelId,
394 return setCellTDCMask(
id.
wheel(),
418 int status =
get( wheelId,
449 return setCellTrigMask(
id.
wheel(),
473 int status =
get( wheelId,
504 return setCellDead(
id.
wheel(),
528 int status =
get( wheelId,
559 return setCellNoHV(
id.
wheel(),
570 return dataList.begin();
575 return dataList.end();
580 std::stringstream
name;
581 name << dataVersion <<
"_map_StatusFlag" <<
this;
591 int entryMax = dataList.size();
592 std::vector<int> chanKey;
594 while ( entryNum < entryMax ) {
599 chanKey.push_back( chan. wheelId );
601 chanKey.push_back( chan. sectorId );
602 chanKey.push_back( chan. slId );
603 chanKey.push_back( chan. layerId );
604 chanKey.push_back( chan. cellId );
605 dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
static AlgebraicMatrix initialize()
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
const_iterator end() const
int setCellDead(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
int setCellTrigMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
int setCellNoise(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > >::const_iterator const_iterator
Access methods to data.
const std::string & version() const
access version
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
void clear()
reset content
int setCellNoHV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
std::string mapName() const
char data[epos_bytes_allocation]
int setCellTDCMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
int setCellFEMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
const_iterator begin() const