55 int wheelId,
int stationId,
int sectorId,
int& flagCFE,
int& flagDFE,
int& flagCMC,
int& flagDMC)
const {
61 std::vector<int> chanKey;
63 chanKey.push_back(wheelId);
64 chanKey.push_back(stationId);
65 chanKey.push_back(sectorId);
67 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
80 return get(
id.wheel(),
id.station(),
id.sector(), flagCFE, flagDFE, flagCMC, flagDMC);
93 int DTLVStatus::set(
int wheelId,
int stationId,
int sectorId,
int flagCFE,
int flagDFE,
int flagCMC,
int flagDMC) {
94 std::vector<int> chanKey;
96 chanKey.push_back(wheelId);
97 chanKey.push_back(stationId);
98 chanKey.push_back(sectorId);
100 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
120 dataList.push_back(std::pair<DTLVStatusId, DTLVStatusData>(key, data));
121 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
129 return set(
id.wheel(),
id.
station(),
id.sector(), flagCFE, flagDFE, flagCMC, flagDMC);
137 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
138 return set(wheelId, stationId, sectorId, flag, flagDFE, flagCMC, flagDMC);
150 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
151 return set(wheelId, stationId, sectorId, flagCFE, flag, flagCMC, flagDMC);
163 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
164 return set(wheelId, stationId, sectorId, flagCFE, flagDFE, flag, flagDMC);
176 get(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flagDMC);
177 return set(wheelId, stationId, sectorId, flagCFE, flagDFE, flagCMC, flag);
189 std::stringstream
name;
199 std::vector<int> chanKey;
201 while (entryNum < entryMax) {
205 chanKey.push_back(chan.
wheelId);
208 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
int get(int wheelId, int stationId, int sectorId, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const
get content
int set(int wheelId, int stationId, int sectorId, int flagCFE, int flagDFE, int flagCMC, int flagDMC)
const std::string & version() const
access version
void clear()
reset content
tuple chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int setFlagDMC(int wheelId, int stationId, int sectorId, int flag)
const_iterator end() const
std::string mapName() const
read and store full content
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTLVStatusId, DTLVStatusData > > dataList
tuple key
prepare the HTCondor submission files and eventually submit them
int setFlagCFE(int wheelId, int stationId, int sectorId, int flag)
const_iterator begin() const
std::vector< std::pair< DTLVStatusId, DTLVStatusData > >::const_iterator const_iterator
Access methods to data.
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
int setFlagDFE(int wheelId, int stationId, int sectorId, int flag)
int setFlagCMC(int wheelId, int stationId, int sectorId, int flag)