1 #include "../interface/PresampleTask.h" 13 doPulseMaxCheck_(
true),
31 for(
int iFED(0); iFED <
nDCC; iFED++){
54 template<
typename DigiCollection>
60 for(
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
69 bool gainSwitch(
false);
73 int adc(dataFrame.sample(iSample).adc());
78 if(iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1){
86 for(
int iSample(0); iSample <
nSamples_; ++iSample) {
87 mePedestal.fill(
id,
double(dataFrame.sample(iSample).adc()));
int adc(sample_type sample)
get the ADC sample (12 bits)
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.)
virtual void fill(DetId const &, double=1., double=1., double=1.)
static const int MAXSAMPLES
bool filterRunType(short const *) override