34 nsPerCount( 25.0 / 32.0 ),
103 std::vector<int> chanKey;
105 chanKey.push_back( wheelId );
106 chanKey.push_back( stationId );
107 chanKey.push_back( sectorId );
109 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
110 if ( !searchStatus ) {
128 return get(
id.wheel(),
141 get( wheelId, stationId, sectorId,
cl, ph,
unit );
142 if ( unit ==
DTTimeUnits::ns )
return ( cl * clock() * nsPerCount ) + ph;
143 else return ( cl * clock() ) + ph;
149 return totalTime(
id.
wheel(),
195 std::vector<int> chanKey;
197 chanKey.push_back( wheelId );
198 chanKey.push_back( stationId );
199 chanKey.push_back( sectorId );
201 int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
203 if ( !searchStatus ) {
211 key. wheelId = wheelId;
213 key. sectorId = sectorId;
217 ientry = dataList.size();
220 dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
233 return set(
id.wheel(),
251 return dataList.begin();
256 return dataList.end();
261 std::stringstream
name;
262 name << dataVersion <<
"_map_TTPG" <<
this;
272 int entryMax = dataList.size();
273 std::vector<int> chanKey;
275 while ( entryNum < entryMax ) {
280 chanKey.push_back( chan. wheelId );
282 chanKey.push_back( chan. sectorId );
283 dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > >::const_iterator const_iterator
Access methods to data.
void clear()
reset content
static AlgebraicMatrix initialize()
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
const std::string & version() const
access version
const_iterator begin() const
int set(int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit)
U second(std::pair< T, U > const &p)
const_iterator end() const
float totalTime(int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
DTTPGParameters & operator=(DTTPGParameters const &)
char data[epos_bytes_allocation]
std::string mapName() const
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > > dataList
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content