Go to the documentation of this file.
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();
73 if (totStripAPV > 64) {
83 if (totStripAPV > 64) {
91 h1NumbadAPVsRes_->Fill(NumResAPVs);
iterator end()
Return the off-the-end iterator.
virtual void setCurrentFolder(std::string const &fullpath)
iterator begin()
Return an iterator to the first DetSet.
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
SiStripBaselineValidator(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
~SiStripBaselineValidator() override
void analyze(const edm::Event &, const edm::EventSetup &) override
collection_type::const_iterator const_iterator
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) 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
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