47 h1NumbadAPVsRes_ = ibooker.
book1D(
"ResAPVs",
";#ResAPVs", 100, 1.0, 10001);
49 h1ADC_vs_strip_ = ibooker.
book2D(
"ADCvsAPVs",
";ADCvsAPVs", 768, -0.5, 767.5, 1023, -0.5, 1022.5);
56 e.
getByToken(moduleRawDigiToken_, moduleRawDigi);
60 for (; itRawDigis != moduleRawDigi->end(); ++itRawDigis) {
63 int strip = 0, totStripAPV = 0, apv = 0, prevapv = itRaw->strip() / 128;
65 for (; itRaw != itRawDigis->
end(); ++itRaw) {
67 strip = itRaw->strip();
69 float adc = itRaw->adc();
70 h1ADC_vs_strip_->Fill(strip, adc);
73 if (totStripAPV > 64) {
83 if (totStripAPV > 64) {
91 h1NumbadAPVsRes_->Fill(NumResAPVs);
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~SiStripBaselineValidator() override
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())
T getParameter(std::string const &) const
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