69 folderName_ (config.getParameter<
std::
string>(
"FolderName"))
85 mebinning.xmax = double(pset.
getParameter<int32_t>(
"nbins"));
100 double xmax = ( !psLabels.empty() ? double(psLabels.size()) :
ps_binning_.xmax );
102 histname =
"psColumnIndexVsLS"; histtitle =
"PS column index vs LS";
103 histograms.psColumnIndexVsLS = booker.
book2D(histname, histtitle,
106 histograms.psColumnIndexVsLS.setAxisTitle(
"LS", 1);
107 histograms.psColumnIndexVsLS.setAxisTitle(
"PS column index", 2);
110 for (
auto l : psLabels ) {
111 histograms.psColumnIndexVsLS.setBinLabel(ibin,
l, 2);
119 int ls =
event.id().luminosityBlock();
127 histograms.psColumnIndexVsLS.fill(ls, psColumn);
153 descriptions.
add(
"psMonitoring", desc);
T getParameter(std::string const &) const
edm::EDGetTokenT< GlobalAlgBlkBxCollection > ugtBXToken_
void dqmAnalyze(edm::Event const &event, edm::EventSetup const &setup, Histograms const &) const override
#define DEFINE_FWK_MODULE(type)
virtual example_global void dqmAnalyze(edm::Event const &,@example_global edm::EventSetup const &,@example_global Histograms___class__ const &) const override
def setup(process, global_tag, zero_tesla=False)
void bookHistograms(DQMStore::ConcurrentBooker &, edm::Run const &, edm::EventSetup const &, Histograms &) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool isEmpty(int bx) const
void getHistoPSet(edm::ParameterSet &pset, MEbinning &mebinning)
ConcurrentMonitorElement book2D(Args &&...args)
const int getPreScColumn() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void setCurrentFolder(const std::string &fullpath)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset, int value)
PSMonitor(const edm::ParameterSet &)
const T & at(int bx, unsigned i) const