Go to the documentation of this file.
11 :
DQWorkerTask(), doPulseMaxCheck_(
true), pulseMaxPosition_(0), nSamples_(0), mePedestalByLS(nullptr) {}
20 for (
int iFED(0); iFED <
nDCC; iFED++) {
33 bool const& ByLumiResetSwitch,
35 if (ByLumiResetSwitch) {
45 template <
typename DigiCollection>
49 for (
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr) {
58 bool gainSwitch(
false);
62 int adc(dataFrame.sample(iSample).adc());
67 if (iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1) {
76 for (
int iSample(0); iSample <
nSamples_; ++iSample) {
77 mePedestal.fill(
id,
double(dataFrame.sample(iSample).adc()));
static constexpr int MAXSAMPLES
void runOnDigis(DigiCollection const &)
bool filterRunType(short const *) override
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
virtual void fill(DetId const &, double=1., double=1., double=1.)
void setParams(edm::ParameterSet const &) override
MESet & at(const std::string &key)
virtual void reset(double=0., double=0., double=0.)
edm::LuminosityBlockNumber_t iLumi
#define DEFINE_ECALDQM_WORKER(TYPE)
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override