45 h1NumbadAPVsRes_ = ibooker.
book1D(
"ResAPVs",
";#ResAPVs", 100, 1.0, 10001);
47 h1ADC_vs_strip_ = ibooker.
book2D(
"ADCvsAPVs",
";ADCvsAPVs", 768, -0.5, 767.5, 1023, -0.5, 1022.5);
54 e.getByToken(moduleRawDigiToken_, moduleRawDigi);
58 for (; itRawDigis != moduleRawDigi->end(); ++itRawDigis) {
61 int strip = 0, totStripAPV = 0, apv = 0, prevapv = itRaw->strip() / 128;
63 for (; itRaw != itRawDigis->
end(); ++itRaw) {
65 strip = itRaw->strip();
67 float adc = itRaw->adc();
71 if (totStripAPV > 64) {
81 if (totStripAPV > 64) {
89 h1NumbadAPVsRes_->Fill(NumResAPVs);
T getParameter(std::string const &) const
virtual void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
SiStripBaselineValidator(const edm::ParameterSet &)
iterator end()
Return the off-the-end iterator.
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
iterator begin()
Return an iterator to the first DetSet.
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
uint16_t *__restrict__ uint16_t const *__restrict__ adc