12 :
DQWorkerTask(), doPulseMaxCheck_(
true), pulseMaxPosition_(0), nSamples_(0), mePedestalByLS(nullptr) {}
22 for (
int iFED(0); iFED <
nDCC; iFED++) {
37 bool const& ByLumiResetSwitch,
39 if (ByLumiResetSwitch) {
48 MESet& mePedestalProjEtaG1(
MEs_.
at(
"PedestalProjEtaG1"));
49 MESet& mePedestalProjEtaG6(
MEs_.
at(
"PedestalProjEtaG6"));
50 MESet& mePedestalProjEtaG12(
MEs_.
at(
"PedestalProjEtaG12"));
60 if (it != myped->
end()) {
71 if (it != myped->
end()) {
82 template <
typename DigiCollection>
86 for (
typename DigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr) {
95 bool gainSwitch(
false);
99 int adc(dataFrame.sample(iSample).adc());
104 if (iSample <
nSamples_ && dataFrame.sample(iSample).gainId() != 1) {
113 for (
int iSample(0); iSample <
nSamples_; ++iSample) {
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
uint16_t *__restrict__ id
edm::LuminosityBlockNumber_t iLumi
MESet & at(const std::string &key)
void beginRun(edm::Run const &, edm::EventSetup const &) override
constexpr uint32_t rawId() const
get the raw id
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
void runOnDigis(DigiCollection const &)
static EEDetId unhashIndex(int hi)
void setParams(edm::ParameterSet const &) override
bool getData(T &iHolder) const
void setTokens(edm::ConsumesCollector &) override
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
EcalDQMSetupObjects const getEcalDQMSetupObjects()
std::vector< Item >::const_iterator const_iterator
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
static bool validDenseIndex(uint32_t din)
const_iterator find(uint32_t rawId) const
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > Pedtoken_
EcalElectronicsMapping const * GetElectronicsMap()
const_iterator end() const
static constexpr int MAXSAMPLES
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)
bool filterRunType(short const *) override
static bool validDenseIndex(uint32_t din)
uint16_t *__restrict__ uint16_t const *__restrict__ adc