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);
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);
143 key.wheelId = wheelId;
144 key.stationId = stationId;
145 key.sectorId = sectorId;
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;
181 std::vector<int> chanKey;
183 while (entryNum < entryMax) {
187 chanKey.push_back(
chan.wheelId);
188 chanKey.push_back(
chan.stationId);
189 chanKey.push_back(
chan.sectorId);
190 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
void clear()
reset content
const_iterator end() 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.
const_iterator begin() const
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
std::string mapName() const
U second(std::pair< T, U > const &p)
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > > dataList
float totalTime(int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const
Basic3DVector unit() const
const std::string & version() const
access version
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
DTTPGParameters & operator=(DTTPGParameters const &)
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)