34 nsPerCount( 25.0 / 32.0 ),
41 dataVersion( version ),
42 nsPerCount( 25.0 / 32.0 ),
89 return get( wheelId, stationId, sectorId,
103 return get( wheelId, stationId, sectorId,
105 mTime, mTrms,
unit );
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,
181 mTime, mTrms,
unit );
189 return get(
id.wheel(),
192 id.superLayer(), 0, 0,
193 mTime, mTrms,
unit );
202 return get( wireId.
wheel(),
208 mTime, mTrms,
unit );
217 return get( wireId.
wheel(),
223 mTime, mTrms,
unit );
257 return set( wheelId, stationId, sectorId,
259 mTime, mTrms, unit );
270 return set( wheelId, stationId, sectorId,
272 mTime, mTrms, unit );
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;
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,
363 mTime, mTrms, unit );
371 return set(
id.wheel(),
374 id.superLayer(), 0, 0,
375 mTime, mTrms, unit );
390 mTime, mTrms,
unit );
405 mTime, mTrms,
unit );
425 std::stringstream
name;
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++ );
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
int layer() const
Return the layer number.
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int superLayer() const
Return the superlayer number.
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
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
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]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator end() const
void clear()
reset content
int station() const
Return the station number.
int wheel() const
Return the wheel number.