61 bool& nohvFlag)
const {
62 noiseFlag = feMask = tdcMask = trigMask = deadFlag = nohvFlag =
false;
64 std::vector<int> chanKey;
66 chanKey.push_back(wheelId);
67 chanKey.push_back(stationId);
68 chanKey.push_back(sectorId);
69 chanKey.push_back(slId);
70 chanKey.push_back(layerId);
71 chanKey.push_back(cellId);
73 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
93 bool& nohvFlag)
const {
94 return get(
id.wheel(),
130 std::vector<int> chanKey;
132 chanKey.push_back(wheelId);
133 chanKey.push_back(stationId);
134 chanKey.push_back(sectorId);
135 chanKey.push_back(slId);
136 chanKey.push_back(layerId);
137 chanKey.push_back(cellId);
139 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
166 dataList.push_back(std::pair<const DTStatusFlagId, DTStatusFlagData>(key, data));
167 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
175 const DTWireId&
id,
bool noiseFlag,
bool feMask,
bool tdcMask,
bool trigMask,
bool deadFlag,
bool nohvFlag) {
176 return set(
id.wheel(),
198 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
199 set(wheelId, stationId, sectorId, slId, layerId, cellId, flag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
215 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
216 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, mask, tdcMask, trigMask, deadFlag, nohvFlag);
225 int wheelId,
int stationId,
int sectorId,
int slId,
int layerId,
int cellId,
bool mask) {
233 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
234 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, mask, trigMask, deadFlag, nohvFlag);
243 int wheelId,
int stationId,
int sectorId,
int slId,
int layerId,
int cellId,
bool mask) {
251 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
252 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, mask, deadFlag, nohvFlag);
268 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
269 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, flag, nohvFlag);
285 wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, nohvFlag);
286 set(wheelId, stationId, sectorId, slId, layerId, cellId, noiseFlag, feMask, tdcMask, trigMask, deadFlag, flag);
299 std::stringstream
name;
309 std::vector<int> chanKey;
311 while (entryNum < entryMax) {
315 chanKey.push_back(chan.
wheelId);
318 chanKey.push_back(chan.
slId);
319 chanKey.push_back(chan.
layerId);
320 chanKey.push_back(chan.
cellId);
321 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
const_iterator end() const
int setCellDead(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
tuple chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
int setCellTrigMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
constexpr std::array< uint8_t, layerIndexSize > layer
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
int setCellNoise(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
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > >::const_iterator const_iterator
Access methods to data.
const std::string & version() const
access version
void clear()
reset content
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
int setCellNoHV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
std::string mapName() const
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
int setCellTDCMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
int setCellFEMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
const_iterator begin() const