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);
70 flagCFE =
data.flagCFE;
71 flagDFE =
data.flagDFE;
72 flagCMC =
data.flagCMC;
73 flagDMC =
data.flagDMC;
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);
104 data.flagCFE = flagCFE;
105 data.flagDFE = flagDFE;
106 data.flagCMC = flagCMC;
107 data.flagDMC = flagDMC;
111 key.wheelId = wheelId;
112 key.stationId = stationId;
113 key.sectorId = sectorId;
115 data.flagCFE = flagCFE;
116 data.flagDFE = flagDFE;
117 data.flagCMC = flagCMC;
118 data.flagDMC = flagDMC;
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);
206 chanKey.push_back(
chan.stationId);
207 chanKey.push_back(
chan.sectorId);
208 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
int set(int wheelId, int stationId, int sectorId, int flagCFE, int flagDFE, int flagCMC, int flagDMC)
const_iterator begin() const
void clear()
reset content
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int setFlagDMC(int wheelId, int stationId, int sectorId, int flag)
const std::string & version() const
access version
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTLVStatusId, DTLVStatusData > > dataList
std::string mapName() const
read and store full content
key
prepare the HTCondor submission files and eventually submit them
int setFlagCFE(int wheelId, int stationId, int sectorId, int flag)
std::vector< std::pair< DTLVStatusId, DTLVStatusData > >::const_iterator const_iterator
Access methods to data.
int get(int wheelId, int stationId, int sectorId, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const
get content
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)
const_iterator end() const
int setFlagDFE(int wheelId, int stationId, int sectorId, int flag)
int setFlagCMC(int wheelId, int stationId, int sectorId, int flag)