35 dataVersion( version ),
90 bool& nohvFlag )
const {
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 ) {
112 feMask = data. feMask;
113 tdcMask = data. tdcMask;
114 trigMask = data. trigMask;
115 deadFlag = data. deadFlag;
116 nohvFlag = data. nohvFlag;
130 bool& nohvFlag )
const {
131 return get(
id.wheel(),
137 noiseFlag, feMask, tdcMask,
138 trigMask, deadFlag, nohvFlag );
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 ) {
187 data. feMask = feMask;
188 data. tdcMask = tdcMask;
189 data. trigMask = trigMask;
190 data. deadFlag = deadFlag;
191 data. nohvFlag = nohvFlag;
196 key. wheelId = wheelId;
198 key. sectorId = sectorId;
200 key. layerId = layerId;
201 key. cellId = cellId;
204 data. feMask = feMask;
205 data. tdcMask = tdcMask;
206 data. trigMask = trigMask;
207 data. deadFlag = deadFlag;
208 data. nohvFlag = nohvFlag;
212 dBuf->
insert( chanKey.begin(), chanKey.end(), ientry );
228 return set(
id.wheel(),
234 noiseFlag, feMask, tdcMask,
235 trigMask, deadFlag, nohvFlag );
253 int status =
get( wheelId,
308 int status =
get( wheelId,
363 int status =
get( wheelId,
418 int status =
get( wheelId,
473 int status =
get( wheelId,
528 int status =
get( wheelId,
580 std::stringstream
name;
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++ );
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)
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
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
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 insert(ElementKey fKey, ElementKey lKey, Content cont)
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)
volatile std::atomic< bool > shutdown_flag false
const_iterator begin() const