10 _cEvsTotal(_name,
"EventsTotal"),
11 _cEvsPerLS(_name,
"EventsPerLS"),
12 _cRunKeyVal(_name,
"RunKeyValue"),
13 _cRunKeyName(_name,
"RunKeyName"),
14 _cProcessingTypeName(_name,
"ProcessingType"),
18 hcalChannelQualityToken_(
47 lumiCache->EvtCntLS++;
63 std::vector<int> vfeds = runInfo.
m_fed_in;
64 for (std::vector<int>::const_iterator it = vfeds.begin(); it != vfeds.end(); ++it) {
104 auto d = std::make_shared<hcaldqm::Cache>();
123 for (std::vector<DetId>::const_iterator it = detids.begin(); it != detids.end(); ++it) {
132 d->xQuality.push(did, mask);
168 std::vector<int>
types(8, 0);
171 if (fd.
size() < 24) {
177 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
182 if (fd.
size() < 24) {
188 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
193 for (
unsigned int ic = 0; ic < 8; ic++) {
194 if (types[ic] > max) {
200 _logger.
warn(
"Conflicting Calibration Types found. Assigning " + std::to_string(calibType));
constexpr uint32_t rawId() const
virtual int _getCalibType(edm::Event const &)
T getUntrackedParameter(std::string const &, T const &) const
std::optional< T > tryToGet() const
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
DQTask(edm::ParameterSet const &)
void warn(std::string const &msg) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::pair< uint16_t, uint16_t > fed2crate(int fed)
LuminosityBlockIndex index() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void debug(STDTYPE const &msg) const
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< FEDRawDataCollection > _tokRaw
const Item * getValues(DetId fId, bool throwOnFail=true) const
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
size_t size() const
Lenght of the data buffer in bytes.
virtual bool _isApplicable(edm::Event const &)
LuminosityBlockNumber_t luminosityBlock() const
bool getData(T &iHolder) const
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
virtual void _process(edm::Event const &, edm::EventSetup const &)=0
virtual void fill(std::string const &x)
void dqmthrow(std::string const &msg) const
ContainerXXX< uint32_t > _xQuality
std::vector< DetId > getAllChannels() const
std::vector< int > m_fed_in
static void fillPSetDescription(edm::ParameterSetDescription &desc)
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
int const FIBER_uTCA_MIN1
LuminosityBlock const & getLuminosityBlock() const
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
HcalElectronicsMap const * _emap
virtual void _resetMonitors(UpdateFreq)
edm::ESHandle< HcalDbService > _dbService
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static void fillPSetDescription(edm::ParameterSetDescription &des)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
ContainerS _cProcessingTypeName
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
std::vector< uint32_t > _vcdaqEids
std::string const pTypeNames[nProcessingType]
virtual void initialize(hashfunctions::HashType, int debug=0)
HcalGenericSubdetector genericSubdet() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
void analyze(edm::Event const &, edm::EventSetup const &) override
Readout chain identification for Hcal.
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override