64 : folderName_(config.getParameter<
std::
string>(
"FolderName")),
77 mebinning.xmax = double(pset.
getParameter<int32_t>(
"nbins"));
91 std::vector<std::string>
labels;
95 nbins = labels.size();
97 xmax = double(labels.size());
102 labels.resize(nbins,
"");
105 histname =
"psColumnIndexVsLS";
106 histtitle =
"PS column index vs LS";
107 histograms.psColumnIndexVsLS =
109 histograms.psColumnIndexVsLS.setAxisTitle(
"LS", 1);
110 histograms.psColumnIndexVsLS.setAxisTitle(
"PS column index", 2);
113 for (
auto const&
l : labels) {
114 histograms.psColumnIndexVsLS.setBinLabel(bin,
l, 2);
120 int ls =
event.id().luminosityBlock();
126 psColumn = ugtBXhandle->
at(0, 0).getPreScColumn();
128 histograms.psColumnIndexVsLS.fill(ls, psColumn);
152 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
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)
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
ConcurrentMonitorElement book2D(Args &&...args)
example_global void dqmAnalyze(edm::Event const &,@example_global edm::EventSetup const &,@example_global Histograms___class__ const &) const override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bin
set the eta bin as selection string.
const VString_t & getLvl1Labels() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
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