37 nsPerCount( 25.0 / 32.0 ),
44 dataVersion( version ),
45 nsPerCount( 25.0 / 32.0 ),
93 return get( wheelId, stationId, sectorId,
95 tTrig, tTrms, kFact,
unit );
115 std::vector<int> chanKey;
117 chanKey.push_back( wheelId );
118 chanKey.push_back( stationId );
119 chanKey.push_back( sectorId );
120 chanKey.push_back( slId );
121 chanKey.push_back( layerId );
122 chanKey.push_back( cellId );
124 int searchStatus =
dBuf->
find( chanKey.begin(), chanKey.end(), ientry );
125 if ( !searchStatus ) {
146 return get(
id.wheel(),
149 id.superLayer(), 0, 0,
150 tTrig, tTrms, kFact,
unit );
160 return get( wireId.
wheel(),
166 tTrig, tTrms, kFact,
unit );
176 return get( wheelId, stationId, sectorId,
177 slId, 0, 0, tTrig,
unit );
192 int status =
get( wheelId, stationId, sectorId,
193 slId, layerId, cellId,
194 tMean, tTrms, kFact,
unit );
195 tTrig = tMean + ( kFact * tTrms );
203 return get(
id.wheel(),
206 id.superLayer(), 0, 0,
215 return get( wireId.
wheel(),
256 return set( wheelId, stationId, sectorId,
258 tTrig, tTrms, kFact, unit );
279 std::vector<int> chanKey;
281 chanKey.push_back( wheelId );
282 chanKey.push_back( stationId );
283 chanKey.push_back( sectorId );
284 chanKey.push_back( slId );
285 chanKey.push_back( layerId );
286 chanKey.push_back( cellId );
288 int searchStatus =
dBuf->
find( chanKey.begin(), chanKey.end(), ientry );
290 if ( !searchStatus ) {
299 key. wheelId = wheelId;
301 key. sectorId = sectorId;
303 key. layerId = layerId;
304 key. cellId = cellId;
310 dataList.push_back( std::pair<DTTtrigId,DTTtrigData>( key, data ) );
311 dBuf->
insert( chanKey.begin(), chanKey.end(), ientry );
325 return set(
id.wheel(),
328 id.superLayer(), 0, 0,
329 tTrig, tTrms, kFact, unit );
345 tTrig, tTrms, kFact,
unit );
365 std::stringstream
name;
377 std::vector<int> chanKey;
379 while ( entryNum < entryMax ) {
384 chanKey.push_back( chan. wheelId );
386 chanKey.push_back( chan. sectorId );
387 chanKey.push_back( chan. slId );
388 chanKey.push_back( chan. layerId );
389 chanKey.push_back( chan. cellId );
390 dBuf->
insert( chanKey.begin(), chanKey.end(), entryNum++ );
int set(int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
const std::string & version() const
access version
int layer() const
Return the layer number.
std::vector< std::pair< DTTtrigId, DTTtrigData > > dataList
void clear()
reset content
std::vector< std::pair< DTTtrigId, DTTtrigData > >::const_iterator const_iterator
Access methods to data.
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
int superLayer() const
Return the superlayer number.
std::string mapName() const
int wire() const
Return the wire number.
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator begin() const
int station() const
Return the station number.
const_iterator end() const
int wheel() const
Return the wheel number.