47 if (
beamMode != BSTRecord::BeamMode::STABLE)
68 meEB_[hashedId]->
Fill(*mgpasample & 0xFFF);
89 meEE_[hashedId]->
Fill(*mgpasample & 0xFFF);
114 centralBin =
int((peds.find(
id))->mean_x12);
132 centralBin =
int((peds.find(
id))->mean_x12);
static EEDetId detIdFromDenseIndex(uint32_t din)
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< EEDigiCollection > digiTokenEE_
const edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedestalToken_
std::string to_string(const V &value)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
static EBDetId detIdFromDenseIndex(uint32_t di)
std::vector< MonitorElement * > meEE_
int fixedBookingCenterBin_
void analyze(const edm::Event &, const edm::EventSetup &) override
void addDefault(ParameterSetDescription const &psetDescription)
static bool adc_compare(uint16_t a, uint16_t b)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
const BSTRecord & getBST() const
const_iterator end() const
uint16_t const getBeamMode() const
ECALpedestalPCLworker(const edm::ParameterSet &)
const_iterator begin() const
The iterator returned can not safely be used across threads.
constexpr iterator begin()
edm::DataFrame const & frame() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
edm::EDGetTokenT< EBDigiCollection > digiTokenEB_
std::vector< MonitorElement * > meEB_
edm::EDGetTokenT< TCDSRecord > tcdsToken_
int hashedIndex() const
get a compact index for arrays
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
uint32_t pedestalSamples_