46 int beamMode = tcdsData->getBST().getBeamMode();
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)
int hashedIndex() const
get a compact index for arrays
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< EEDigiCollection > digiTokenEE_
const edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedestalToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
static EBDetId detIdFromDenseIndex(uint32_t di)
bool getData(T &iHolder) const
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)
ECALpedestalPCLworker(const edm::ParameterSet &)
constexpr iterator begin()
edm::DataFrame const & frame() const
T getParameter(std::string const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
edm::EDGetTokenT< EBDigiCollection > digiTokenEB_
std::vector< MonitorElement * > meEB_
edm::EDGetTokenT< TCDSRecord > tcdsToken_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
uint32_t pedestalSamples_