1 #include "../interface/PresampleTask.h"
13 doPulseMaxCheck_(
true),
30 for(
int iFED(0); iFED <
nDCC; iFED++){
42 template<
typename DigiCollection>
48 for(
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
49 DetId id(digiItr->id());
57 bool gainSwitch(
false);
61 int adc(dataFrame.sample(iSample).adc());
66 if(iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1){
74 for(
int iSample(0); iSample <
nSamples_; ++iSample)
75 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)
void runOnDigis(DigiCollection const &)
void setParams(edm::ParameterSet const &) override
static const int MAXSAMPLES
bool filterRunType(short const *) override