22 cout <<
"L1TFED: constructor...." << endl;
31 fedentries = ibooker.
book1D(
"FEDEntries",
"Fed ID occupancy", l1feds_.size(), 0., l1feds_.size());
32 fedfatal = ibooker.
book1D(
"FEDFatal",
"Fed ID non present ", l1feds_.size(), 0., l1feds_.size());
33 fednonfatal = ibooker.
book1D(
"FEDNonFatal",
"Fed corrupted data ", l1feds_.size(), 0., l1feds_.size());
34 hfedprof = ibooker.
bookProfile(
"fedprofile",
"FED Size by ID", l1feds_.size(), 0., l1feds_.size(), 0, 0., 10000.);
35 for (
unsigned int i = 0;
i < l1feds_.size();
i++) {
39 fedfatal->setBinLabel(
i + 1,
"FED " + sfed.str());
40 fednonfatal->setBinLabel(
i + 1,
"FED " + sfed.str());
41 hfedprof->setBinLabel(
i + 1,
"FED " + sfed.str());
44 hfedsize = ibooker.
book1D(
"fedsize",
"FED Size Distribution", 100, 0., 10000.);
50 cout <<
"L1T FED Integrity: analyze...." << endl;
57 cout <<
"can't find FEDRawDataCollection " << endl;
62 cout <<
"fedlist size = " << l1feds_.size() << endl;
64 for (
unsigned int i = 0;
i < l1feds_.size();
i++) {
67 cout <<
"fedId = " << fedId << endl;
73 hfedsize->Fill(
float(
size));
74 hfedprof->Fill(
float(
i),
float(
size));
85 cout <<
"empty fed " <<
i << endl;
T getUntrackedParameter(std::string const &, T const &) const
const edm::EventSetup & c
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
size_t size() const
Lenght of the data buffer in bytes.
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
void analyze(const edm::Event &e, const edm::EventSetup &c) override
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)
T getParameter(std::string const &) const
L1TFED(const edm::ParameterSet &ps)
char data[epos_bytes_allocation]
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
tuple size
Write out results.