77 mebinning.nbins =
pset.getParameter<int32_t>(
"nbins");
79 mebinning.xmax = double(
pset.getParameter<int32_t>(
"nbins"));
93 std::vector<std::string>
labels;
107 histname =
"psColumnIndexVsLS";
108 histtitle =
"PS column index vs LS";
111 me->setAxisTitle(
"LS", 1);
112 me->setAxisTitle(
"PS column index", 2);
123 int ls =
event.id().luminosityBlock();
129 psColumn = ugtBXhandle->
at(0, 0).getPreScColumn();
147 histoPSet.add(
"psColumnPSet", psColumnPSet);
155 descriptions.
add(
"psMonitoring",
desc);
edm::EDGetTokenT< GlobalAlgBlkBxCollection > ugtBXToken_
void dqmAnalyze(edm::Event const &event, edm::EventSetup const &setup, Histograms const &) const override
virtual void setCurrentFolder(std::string const &fullpath)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool isEmpty(int bx) const
dqm::reco::DQMStore DQMStore
void getHistoPSet(edm::ParameterSet &pset, MEbinning &mebinning)
~PSMonitor() override=default
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, Histograms &) const override
const T & at(int bx, unsigned i) const
dqm::legacy::MonitorElement MonitorElement
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset, int value)
PSMonitor(const edm::ParameterSet &)
const VString_t & getLvl1Labels() const