58 bool& discCat)
const {
59 dead_HV = dead_TP = dead_RO = discCat =
false;
61 std::vector<int> chanKey;
63 chanKey.push_back(wheelId);
64 chanKey.push_back(stationId);
65 chanKey.push_back(sectorId);
66 chanKey.push_back(slId);
67 chanKey.push_back(layerId);
68 chanKey.push_back(cellId);
70 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
84 id.wheel(),
id.station(),
id.sector(),
id.superLayer(),
id.layer(),
id.wire(), dead_HV, dead_TP, dead_RO, discCat);
92 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
105 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
118 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
131 get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
159 std::vector<int> chanKey;
161 chanKey.push_back(wheelId);
162 chanKey.push_back(stationId);
163 chanKey.push_back(sectorId);
164 chanKey.push_back(slId);
165 chanKey.push_back(layerId);
166 chanKey.push_back(cellId);
168 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
191 dataList.push_back(std::pair<const DTDeadFlagId, DTDeadFlagData>(key, data));
192 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
201 id.wheel(),
id.
station(),
id.sector(),
id.superLayer(),
id.
layer(),
id.wire(), dead_HV, dead_TP, dead_RO, discCat);
209 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
210 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, flag, dead_TP, dead_RO, discCat);
223 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
224 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, flag, dead_RO, discCat);
237 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
238 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, flag, discCat);
251 int status =
cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
252 setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, flag);
265 std::stringstream
name;
275 std::vector<int> chanKey;
277 while (entryNum < entryMax) {
281 chanKey.push_back(chan.
wheelId);
284 chanKey.push_back(chan.
slId);
285 chanKey.push_back(chan.
layerId);
286 chanKey.push_back(chan.
cellId);
287 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
std::vector< std::pair< DTDeadFlagId, DTDeadFlagData > > dataList
bool getCellDiscCat(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
int setCellDead_HV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat)
tuple chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
const_iterator begin() const
bool getCellDead_TP(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
std::vector< std::pair< DTDeadFlagId, DTDeadFlagData > >::const_iterator const_iterator
Access methods to data.
constexpr std::array< uint8_t, layerIndexSize > layer
int setCellDead_RO(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
const_iterator end() const
std::string mapName() const
read and store full content
int setCellDiscCat(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
tuple key
prepare the HTCondor submission files and eventually submit them
const std::string & version() const
access version
bool getCellDead_HV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
int setCellDead_TP(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
int setCellStatus(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat)
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const
int cellStatus(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const
get content
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
bool getCellDead_RO(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
void clear()
reset content