25 descriptions.
add(
"gemOfflineMonitorDefault", desc);
48 const int region_id =
station->region();
49 const int station_id =
station->station();
54 const auto&& superchambers =
station->superChambers();
61 const int num_superchambers = superchambers.size();
62 const int num_chambers = num_superchambers * superchambers.front()->nChambers();
68 const int num_vfat = num_etas * max_vfat;
71 "Digi Occupancy" + title_suffix,
86 const int region_id =
station->region();
87 const int station_id =
station->station();
93 const auto&& superchambers =
station->superChambers();
100 const int num_superchambers = superchambers.size();
101 const int num_chambers = num_superchambers * superchambers.front()->nChambers();
106 "Hit Occupancy" + title_suffix,
121 if (not digi_collection.
isValid()) {
130 if (not rechit_collection.
isValid()) {
153 for (
auto range_iter = digi_collection->begin(); range_iter != digi_collection->end(); range_iter++) {
154 const GEMDetId& gem_id = (*range_iter).first;
158 for (
auto digi = range.first; digi != range.second; ++digi) {
169 for (
auto hit = rechit_collection->begin();
hit != rechit_collection->end();
hit++) {
T getUntrackedParameter(std::string const &, T const &) const
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
TString getSuffixName(Int_t region_id)
virtual void setCurrentFolder(std::string const &fullpath)
void doHitOccupancy(const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMRecHitCollection > &)
int getDetOccXBin(const int, const int, const int)
void doDigiOccupancy(const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMDigiCollection > &)
constexpr int roll() const
int getVFATNumberByStrip(const int, const int, const int)
Log< level::Error, false > LogError
TString getSuffixTitle(Int_t region_id)
std::string log_category_
void setDetLabelsEta(MonitorElement *, const GEMStation *)
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemToken_
const uint16_t range(const Frame &aFrame)
GEMOfflineMonitor(const edm::ParameterSet &)
bool checkRefs(const std::vector< T * > &)
int getMaxVFAT(const int)
int getNumEtaPartitions(const GEMStation *)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< GEMRecHitCollection > rechit_token_
tuple key
prepare the HTCondor submission files and eventually submit them
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void fillME(MEMap &me_map, const GEMDetId &key, const float x)
void bookHitOccupancy(DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
std::pair< const_iterator, const_iterator > Range
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
constexpr int station() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< GEMDigiCollection > digi_token_
~GEMOfflineMonitor() override
void bookDigiOccupancy(DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
void setDetLabelsVFAT(MonitorElement *, const GEMStation *)
GEMDetId getReStKey(const int, const int)
static void fillDescriptions(edm::ConfigurationDescriptions &)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
int chamber_bin(int station, int ring, int chamber)