7 _cEvsTotal(_name,
"EventsTotal"),
8 _cEvsPerLS(_name,
"EventsPerLS"),
9 _cRunKeyVal(_name,
"RunKeyValue"),
10 _cRunKeyName(_name,
"RunKeyName"),
11 _cProcessingTypeName(_name,
"ProcessingType"),
45 std::vector<int> vfeds = ri->
m_fed_in;
46 for (std::vector<int>::const_iterator it = vfeds.begin(); it != vfeds.end(); ++it) {
101 for (std::vector<DetId>::const_iterator it = detids.begin(); it != detids.end(); ++it) {
145 std::vector<int>
types(8, 0);
148 if (fd.
size() < 24) {
154 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
159 if (fd.
size() < 24) {
165 _logger.
warn(
"Unexpected Calib Type in FED " + std::to_string(
i));
170 for (
unsigned int ic = 0; ic < 8; ic++) {
171 if (types[ic] > max) {
177 _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
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::optional< T > tryToGet() const
DQTask(edm::ParameterSet const &)
void warn(std::string const &msg) const
std::pair< uint16_t, uint16_t > fed2crate(int fed)
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
virtual void push(HcalDetId const &, STDTYPE)
const Item * getValues(DetId fId, bool throwOnFail=true) const
size_t size() const
Lenght of the data buffer in bytes.
virtual bool _isApplicable(edm::Event const &)
LuminosityBlockNumber_t luminosityBlock() const
virtual void _process(edm::Event const &, edm::EventSetup const &)=0
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
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
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
int const FIBER_uTCA_MIN1
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.
const HcalElectronicsMap * getHcalMapping() const
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
void analyze(edm::Event const &, edm::EventSetup const &) override
T const * product() const
Readout chain identification for Hcal.