37 nsPerCount( 25.0 / 32.0 ),
93 return get( wheelId, stationId, sectorId,
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,
160 return get( wireId.
wheel(),
176 return get( wheelId, stationId, sectorId,
192 int status =
get( wheelId, stationId, sectorId,
193 slId, layerId, cellId,
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,
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;
309 ientry = dataList.size();
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,
339 return set( wireId.
wheel(),
355 return dataList.begin();
360 return dataList.end();
365 std::stringstream
name;
366 name << dataVersion <<
"_map_Ttrig" <<
this;
376 int entryMax = dataList.size();
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++ );
static AlgebraicMatrix initialize()
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.
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
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
char data[epos_bytes_allocation]
const_iterator begin() const
int station() const
Return the station number.
const_iterator end() const
int wheel() const
Return the wheel number.