|
|
Go to the documentation of this file.
10 _cEvsTotal(_name,
"EventsTotal"),
11 _cEvsPerLS(_name,
"EventsPerLS"),
12 _cRunKeyVal(_name,
"RunKeyValue"),
13 _cRunKeyName(_name,
"RunKeyName"),
14 _cProcessingTypeName(_name,
"ProcessingType"),
18 hcalChannelQualityToken_(
39 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
40 lumiCache->EvtCntLS++;
56 std::vector<int> vfeds =
runInfo.m_fed_in;
57 for (std::vector<int>::const_iterator it = vfeds.begin(); it != vfeds.end(); ++it) {
97 auto d = std::make_shared<hcaldqm::Cache>();
116 for (std::vector<DetId>::const_iterator it = detids.begin(); it != detids.end(); ++it) {
125 d->xQuality.push(did, mask);
161 std::vector<int>
types(8, 0);
164 if (
fd.size() < 24) {
170 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
175 if (
fd.size() < 24) {
181 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
186 for (
unsigned int ic = 0; ic < 8; ic++) {
193 _logger.
warn(
"Conflicting Calibration Types found. Assigning " + std::to_string(calibType));
virtual void initialize(hashfunctions::HashType, int debug=0)
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
edm::EDGetTokenT< FEDRawDataCollection > _tokRaw
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
const int FIBER_uTCA_MIN1
T getUntrackedParameter(std::string const &, T const &) const
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
const Item * getValues(DetId fId, bool throwOnFail=true) const
const HcalElectronicsMap * getHcalMapping() const
ContainerXXX< uint32_t > _xQuality
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
std::optional< T > tryToGet() const
LuminosityBlockNumber_t luminosityBlock() const
Readout chain identification for Hcal.
void warn(std::string const &msg) const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
virtual void fill(std::string const &x)
virtual bool _isApplicable(edm::Event const &)
void dqmthrow(std::string const &msg) const
const std::string pTypeNames[nProcessingType]
virtual void _process(edm::Event const &, edm::EventSetup const &)=0
std::vector< DetId > getAllChannels() const
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
edm::ESHandle< HcalDbService > _dbService
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< uint32_t > _vcdaqEids
bool getData(T &iHolder) const
void analyze(edm::Event const &, edm::EventSetup const &) override
HcalGenericSubdetector genericSubdet() const
constexpr uint32_t rawId() const
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
const HcalElectronicsMap * _emap
std::pair< uint16_t, uint16_t > fed2crate(int fed)
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
virtual int _getCalibType(edm::Event const &)
ContainerS _cProcessingTypeName
void debug(STDTYPE const &msg) const
virtual void _resetMonitors(UpdateFreq)
DQTask(edm::ParameterSet const &)