32 : dataVersion(
" "), nsPerCount(25.0 / 32.0), clockLength(32), dBuf(new
DTBufferTree<
int,
int>) {
72 std::vector<int> chanKey;
74 chanKey.push_back(wheelId);
75 chanKey.push_back(stationId);
76 chanKey.push_back(sectorId);
78 int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
92 return get(
id.wheel(),
id.station(),
id.sector(), nc, ph,
unit);
98 get(wheelId, stationId, sectorId,
cl, ph,
unit);
100 return (cl * clock() * nsPerCount) + ph;
102 return (cl * clock()) + ph;
106 return totalTime(
id.
wheel(),
id.
station(),
id.sector(), unit);
128 std::vector<int> chanKey;
130 chanKey.push_back(wheelId);
131 chanKey.push_back(stationId);
132 chanKey.push_back(sectorId);
134 int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
149 ientry = dataList.size();
150 dataList.push_back(std::pair<DTTPGParametersId, DTTPGParametersData>(key, data));
151 dBuf->insert(chanKey.begin(), chanKey.end(), ientry);
159 return set(
id.wheel(),
id.station(),
id.sector(), nc, ph,
unit);
171 std::stringstream
name;
172 name << dataVersion <<
"_map_TTPG" <<
this;
180 int entryMax = dataList.size();
181 std::vector<int> chanKey;
183 while (entryNum < entryMax) {
187 chanKey.push_back(chan.
wheelId);
190 dBuf->insert(chanKey.begin(), chanKey.end(), entryNum++);
void clear()
reset content
static AlgebraicMatrix initialize()
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)
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > >::const_iterator const_iterator
Access methods to data.
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > > dataList
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
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content
Basic3DVector unit() const