57 int wheelId,
int stationId,
int sectorId,
int slId,
float& mTime,
float& mTrms,
DTTimeUnits::type unit)
const {
58 return get(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms,
unit);
63 return get(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms,
unit);
77 std::vector<int> chanKey;
79 chanKey.push_back(wheelId);
80 chanKey.push_back(stationId);
81 chanKey.push_back(sectorId);
82 chanKey.push_back(slId);
83 chanKey.push_back(layerId);
84 chanKey.push_back(cellId);
86 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
123 return get(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, mTime, mTrms,
unit);
127 return get(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, mTime, mTrms,
unit);
132 return get(wireId.
wheel(),
145 return get(wireId.
wheel(),
169 return set(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms,
unit);
174 return set(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms,
unit);
191 std::vector<int> chanKey;
193 chanKey.push_back(wheelId);
194 chanKey.push_back(stationId);
195 chanKey.push_back(sectorId);
196 chanKey.push_back(slId);
197 chanKey.push_back(layerId);
198 chanKey.push_back(cellId);
200 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
209 key.wheelId = wheelId;
210 key.stationId = stationId;
211 key.sectorId = sectorId;
213 key.layerId = layerId;
220 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
245 return set(wheelId, stationId, sectorId, slId, layerId, cellId, mTime, mTrms,
DTTimeUnits::counts);
249 return set(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, mTime, mTrms,
unit);
253 return set(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, mTime, mTrms,
unit);
258 return set(wireId.
wheel(),
271 return set(wireId.
wheel(),
289 std::stringstream
name;
299 std::vector<int> chanKey;
301 while (entryNum < entryMax) {
305 chanKey.push_back(
chan.wheelId);
306 chanKey.push_back(
chan.stationId);
307 chanKey.push_back(
chan.sectorId);
308 chanKey.push_back(
chan.slId);
309 chanKey.push_back(
chan.layerId);
310 chanKey.push_back(
chan.cellId);
311 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
int station() const
Return the station number.
int superLayer() const
Return the superlayer number.
int wire() const
Return the wire number.
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
int get(int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
U second(std::pair< T, U > const &p)
const std::string & version() const
access version
const_iterator begin() const
Basic3DVector unit() const
std::vector< std::pair< DTMtimeId, DTMtimeData > >::const_iterator const_iterator
Access methods to data.
std::string mapName() const
read and store full content
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
int layer() const
Return the layer number.
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
int wheel() const
Return the wheel number.
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator end() const
void clear()
reset content
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList