30 std::vector<uint32_t> vVME;
31 std::vector<uint32_t> vuTCA;
62 std::vector<uint32_t> vhashFEDsVME;
63 std::vector<uint32_t> vhashFEDsuTCA;
65 for (std::vector<int>::const_iterator
it = vFEDsVME.begin();
it != vFEDsVME.end(); ++
it) {
66 vhashFEDsVME.push_back(
75 for (std::vector<int>::const_iterator
it = vFEDsuTCA.begin();
it != vFEDsuTCA.end(); ++
it) {
77 vhashFEDsuTCA.push_back(
205 DQTask::_resetMonitors(uf);
218 int bx =
e.bunchCrossing();
220 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
250 if (lumiCache->EvtCntLS == 1)
277 if (!
eid.isVMEid()) {
321 if (
r != 0 || !htr.
check())
330 bool qevn = (htr_evn != evn);
331 bool qbcn = (htr_bcn != bcn);
332 bool qorn = (htr_orn != orn);
361 uint32_t bcn = hamc13->
bunchId();
364 int namc = hamc13->
NAMC();
366 for (
int iamc = 0; iamc < namc; iamc++) {
375 uint32_t uhtr_bcn = uhtr.bunchNumber();
376 uint32_t uhtr_orn = uhtr.orbitNumber();
377 bool qevn = (uhtr_evn != evn);
378 bool qbcn = (uhtr_bcn != bcn);
379 bool qorn = (uhtr_orn != orn);
406 return DQTask::globalBeginLuminosityBlock(lb, es);
413 auto lumiCache = luminosityBlockCache(lb.
index());
430 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
462 for (std::vector<flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
489 DQTask::globalEndLuminosityBlock(lb, es);
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
hcaldqm::Container2D _cSummaryvsLS_FED
hcaldqm::ContainerSingle2D _cBadQ_FEDvsLS
virtual bool exists(HcalDetId const &)
std::pair< uint16_t, uint16_t > fed2crate(int fed)
dbs
Find files in dataset.
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
void dqmthrow(std::string const &msg) const
uint16_t crate2fed(int crate, int slot)
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
size_t size() const
Lenght of the data buffer in bytes.
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void _resetMonitors(hcaldqm::UpdateFreq) override
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
DetIdVector::const_iterator bad_quality_begin() const
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cBadQuality_depth
uint32_t lookup(DetId const &)
hcaldqm::ContainerSingle2D _cSummaryvsLS
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
virtual void fill(uint32_t)
virtual void setBinContent(int, int, int)
hcaldqm::filter::HashFilter _filter_FEDsuTCA
ContainerXXX< uint32_t > _xQuality
std::vector< uint32_t > _vhashFEDs
unsigned int getBunchNumber() const
Get the HTR bunch number.
int const FIBER_uTCA_MIN1
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
#define DEFINE_FWK_MODULE(type)
RawTask(edm::ParameterSet const &)
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
HcalElectronicsMap const * _emap
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
hcaldqm::Container2D _cBadQuality_FEDuTCA
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
hcaldqm::filter::HashFilter _filter_uTCA
unsigned int getL1ANumber() const
Get the HTR event number.
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(HcalElectronicsMap const *)
unsigned int getOrbitNumber() const
Get the HTR orbit number.
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
uint32_t l1ANumber() const
Get the HTR event number.
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
int badQualityDigis() const
constexpr uint32_t rawId() const
hcaldqm::filter::HashFilter _filter_FEDsVME
void setBinContent(HcalDetId const &, int) override
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
LuminosityBlockIndex index() const
std::vector< hcaldqm::flag::Flag > _vflags
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual bool filter(HcalDetId const &) const
hcaldqm::ContainerSingle2D _cBadQ_FEDvsLSmod10
bool isFEDHO(HcalElectronicsId const &)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
std::vector< uint32_t > _vcdaqEids
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
virtual void initialize(hashfunctions::HashType, int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Readout chain identification for Hcal.
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event...
bool isFEDHF(HcalElectronicsId const &)
DetIdVector::const_iterator bad_quality_end() const