20 for (
int iFED(0); iFED <
nDCC; iFED++) {
40 template <
typename DigiCollection>
44 for (
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr) {
53 bool gainSwitch(
false);
57 int adc(dataFrame.sample(iSample).adc());
62 if (iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1) {
71 for (
int iSample(0); iSample <
nSamples_; ++iSample) {
72 mePedestal.fill(
id,
double(dataFrame.sample(iSample).adc()));
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void runOnDigis(DigiCollection const &)
void setParams(edm::ParameterSet const &) override
virtual void reset(double=0., double=0., double=0.)
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
virtual void fill(DetId const &, double=1., double=1., double=1.)
static constexpr int MAXSAMPLES
bool filterRunType(short const *) override