1 #include "../interface/PresampleTask.h"
28 for(
int iFED(0); iFED <
nDCC; iFED++){
40 template<
typename DigiCollection>
46 for(
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
47 DetId id(digiItr->id());
52 bool gainSwitch(
false);
56 int adc(dataFrame.sample(iSample).adc());
61 if(iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1){
68 for(
int iSample(0); iSample <
nSamples_; ++iSample)
69 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
void runOnDigis(DigiCollection const &)
void setParams(edm::ParameterSet const &) override
DEFINE_ECALDQM_WORKER(CalibrationSummaryClient)
static const int MAXSAMPLES
bool filterRunType(short const *) override