34 nsPerCount( 25.0 / 32.0 ),
89 return get( wheelId, stationId, sectorId,
103 return get( wheelId, stationId, sectorId,
123 std::vector<int> chanKey;
125 chanKey.push_back( wheelId );
126 chanKey.push_back( stationId );
127 chanKey.push_back( sectorId );
128 chanKey.push_back( slId );
129 chanKey.push_back( layerId );
130 chanKey.push_back( cellId );
132 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
133 if ( !searchStatus ) {
157 int status =
get( wheelId, stationId, sectorId,
158 slId, layerId, cellId,
177 return get(
id.wheel(),
180 id.superLayer(), 0, 0,
189 return get(
id.wheel(),
192 id.superLayer(), 0, 0,
202 return get( wireId.
wheel(),
217 return get( wireId.
wheel(),
257 return set( wheelId, stationId, sectorId,
270 return set( wheelId, stationId, sectorId,
291 std::vector<int> chanKey;
293 chanKey.push_back( wheelId );
294 chanKey.push_back( stationId );
295 chanKey.push_back( sectorId );
296 chanKey.push_back( slId );
297 chanKey.push_back( layerId );
298 chanKey.push_back( cellId );
300 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
302 if ( !searchStatus ) {
310 key. wheelId = wheelId;
312 key. sectorId = sectorId;
314 key. layerId = layerId;
315 key. cellId = cellId;
319 ientry = dataList.size();
320 dataList.push_back( std::pair<DTMtimeId,DTMtimeData>( key, data ) );
321 dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
348 return set( wheelId, stationId, sectorId,
349 slId, layerId, cellId,
359 return set(
id.wheel(),
362 id.superLayer(), 0, 0,
371 return set(
id.wheel(),
374 id.superLayer(), 0, 0,
384 return set( wireId.
wheel(),
399 return set( wireId.
wheel(),
415 return dataList.begin();
420 return dataList.end();
425 std::stringstream
name;
426 name << dataVersion <<
"_map_Mtime" <<
this;
436 int entryMax = dataList.size();
437 std::vector<int> chanKey;
439 while ( entryNum < entryMax ) {
444 chanKey.push_back( chan. wheelId );
446 chanKey.push_back( chan. sectorId );
447 chanKey.push_back( chan. slId );
448 chanKey.push_back( chan. layerId );
449 chanKey.push_back( chan. cellId );
450 dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
static AlgebraicMatrix initialize()
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
int layer() const
Return the layer number.
U second(std::pair< T, U > const &p)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int superLayer() const
Return the superlayer number.
int wire() const
Return the wire number.
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
const_iterator begin() const
std::vector< std::pair< DTMtimeId, DTMtimeData > >::const_iterator const_iterator
Access methods to data.
std::string mapName() const
read and store full content
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
const std::string & version() const
access version
int get(int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
char data[epos_bytes_allocation]
const_iterator end() const
void clear()
reset content
int station() const
Return the station number.
int wheel() const
Return the wheel number.