8 if (superchamber ==
nullptr) {
22 const int num_chambers = superchamber->nChambers();
23 for (
const GEMChamber* chamber : superchamber->chambers()) {
24 const int sc = chamber->id().chamber();
25 const int ch = chamber->id().layer();
27 const char*
label = Form(
"%d/%d", sc, ch);
40 for (
int ieta = 1; ieta <= num_etas; ieta++) {
41 for (
int vfat_phi = 1; vfat_phi <= max_vfat; vfat_phi++) {
43 const char*
label = Form(
"%d (%d)", ybin, ieta);
57 const int chamber = superchamber->id().chamber();
64 for (
int ieta = 1; ieta <= num_etas; ieta++) {
77 const auto&
chambers = superchambers.front()->chambers();
83 return chambers.front()->nEtaPartitions();
87 if UNLIKELY (me_map.find(key) == me_map.end()) {
88 const std::string hint = me_map.empty() ?
"empty" : me_map.begin()->second->getName();
97 if UNLIKELY (me_map.find(key) == me_map.end()) {
98 const std::string hint = me_map.empty() ?
"empty" : me_map.begin()->second->getName();
102 me_map[
key]->Fill(x, y);
GEMOfflineDQMBase(const edm::ParameterSet &)
int getDetOccXBin(const int, const int, const int)
int station() const
Get the station.
Log< level::Error, false > LogError
int getVFATNumber(const int, const int, const int)
std::string log_category_
void setDetLabelsEta(MonitorElement *, const GEMStation *)
std::vector< const GEMSuperChamber * > superChambers() const
Return the super chambers in the region.
bool checkRefs(const std::vector< T * > &)
int getMaxVFAT(const int)
int getNumEtaPartitions(const GEMStation *)
std::map< GEMDetId, dqm::impl::MonitorElement * > MEMap
tuple key
prepare the HTCondor submission files and eventually submit them
uint16_t const *__restrict__ x
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void fillME(MEMap &me_map, const GEMDetId &key, const float x)
constexpr int chamber() const
constexpr int layer() const
int nChambers() const
Return numbers of chambers.
void setDetLabelsVFAT(MonitorElement *, const GEMStation *)
static char chambers[264][20]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)