53 int DTRangeT0::get(
int wheelId,
int stationId,
int sectorId,
int slId,
int& t0min,
int& t0max)
const {
56 std::vector<int> chanKey;
58 chanKey.push_back(wheelId);
59 chanKey.push_back(stationId);
60 chanKey.push_back(sectorId);
61 chanKey.push_back(slId);
65 int searchStatus = constDBuf->
find(chanKey.begin(), chanKey.end(), ientry);
76 return get(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), t0min, t0max);
89 int DTRangeT0::set(
int wheelId,
int stationId,
int sectorId,
int slId,
int t0min,
int t0max) {
90 std::vector<int> chanKey;
92 chanKey.push_back(wheelId);
93 chanKey.push_back(stationId);
94 chanKey.push_back(sectorId);
95 chanKey.push_back(slId);
97 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
106 key.wheelId = wheelId;
107 key.stationId = stationId;
108 key.sectorId = sectorId;
115 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
123 return set(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), t0min, t0max);
131 std::stringstream
name;
141 std::vector<int> chanKey;
143 while (entryNum < entryMax) {
147 chanKey.push_back(
chan.wheelId);
148 chanKey.push_back(
chan.stationId);
149 chanKey.push_back(
chan.sectorId);
150 chanKey.push_back(
chan.slId);
151 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
const_iterator begin() const
std::string mapName() const
read and store full content
U second(std::pair< T, U > const &p)
const std::string & version() const
access version
std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > >::const_iterator const_iterator
Access methods to data.
std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > > dataList
key
prepare the HTCondor submission files and eventually submit them
void clear()
reset content
const_iterator end() const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
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)
int set(int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max)
DTBufferTree< int, int > * dBuf
int get(int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const