36 : dataVersion(version), nsPerCount(25.0 / 32.0), dBuf(new
DTBufferTree<int, int>) {
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);
219 dataList.push_back(std::pair<DTMtimeId, DTMtimeData>(key, data));
220 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
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);
289 std::stringstream
name;
299 std::vector<int> chanKey;
301 while (entryNum < entryMax) {
305 chanKey.push_back(chan.
wheelId);
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 set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
tuple 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.
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
tuple key
prepare the HTCondor submission files and eventually submit them
int superLayer() const
Return the superlayer number.
int wire() const
Return the wire number.
const_iterator begin() const
std::string mapName() const
read and store full content
std::vector< std::pair< DTMtimeId, DTMtimeData > >::const_iterator const_iterator
Access methods to data.
const std::string & version() const
access version
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int get(int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator end() const
void clear()
reset content
int station() const
Return the station number.
int wheel() const
Return the wheel number.
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Basic3DVector unit() const