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) {
static constexpr int kSizeForDenseIndexing
#define DEFINE_ECALDQM_WORKER(TYPE)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::LuminosityBlockNumber_t iLumi
MESet & at(const std::string &key)
void beginRun(edm::Run const &, edm::EventSetup const &) override
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
void setTokens(edm::ConsumesCollector &) override
static constexpr int kSizeForDenseIndexing
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
const_iterator find(uint32_t rawId) const
EcalElectronicsMapping const * GetElectronicsMap()
EcalDQMSetupObjects const getEcalDQMSetupObjects()
static constexpr int nDCC
constexpr uint32_t rawId() const
get the raw id
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)
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > Pedtoken_
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