Go to the documentation of this file.
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 MAXSAMPLES
const_iterator end() const
uint16_t *__restrict__ uint16_t const *__restrict__ adc
static EEDetId unhashIndex(int hi)
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
void runOnDigis(DigiCollection const &)
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
bool filterRunType(short const *) override
const EcalElectronicsMapping * GetElectronicsMap()
static bool validDenseIndex(uint32_t din)
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)
void beginRun(edm::Run const &, edm::EventSetup const &) override
const_iterator find(uint32_t rawId) const
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > Pedtoken_
void setParams(edm::ParameterSet const &) override
MESet & at(const std::string &key)
static bool validDenseIndex(uint32_t din)
bool getData(T &iHolder) const
edm::LuminosityBlockNumber_t iLumi
const EcalDQMSetupObjects getEcalDQMSetupObjects()
constexpr uint32_t rawId() const
get the raw id
void setTokens(edm::ConsumesCollector &) override
std::vector< Item >::const_iterator const_iterator
#define DEFINE_ECALDQM_WORKER(TYPE)
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override