|
|
Go to the documentation of this file.
29 std::vector<uint32_t> vVME;
30 std::vector<uint32_t> vuTCA;
61 std::vector<uint32_t> vhashFEDsVME;
62 std::vector<uint32_t> vhashFEDsuTCA;
64 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it) {
65 vhashFEDsVME.push_back(
74 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
76 vhashFEDsuTCA.push_back(
222 DQTask::_resetMonitors(uf);
235 int bx =
e.bunchCrossing();
237 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
327 if (
r != 0 || !htr.
check())
336 bool qevn = (htr_evn != evn);
337 bool qbcn = (htr_bcn != bcn);
338 bool qorn = (htr_orn != orn);
373 uint32_t bcn = hamc13->
bunchId();
376 int namc = hamc13->
NAMC();
378 for (
int iamc = 0; iamc < namc; iamc++) {
379 int slot = hamc13->
AMCSlot(iamc);
380 int crate = hamc13->
AMCId(iamc) & 0xFF;
387 uint32_t uhtr_bcn = uhtr.bunchNumber();
388 uint32_t uhtr_orn = uhtr.orbitNumber();
389 bool qevn = (uhtr_evn != evn);
390 bool qbcn = (uhtr_bcn != bcn);
391 bool qorn = (uhtr_orn != orn);
418 return DQTask::globalBeginLuminosityBlock(lb, es);
425 auto lumiCache = luminosityBlockCache(lb.
index());
435 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
442 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
474 for (std::vector<flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
493 DQTask::globalEndLuminosityBlock(lb, es);
virtual void initialize(hashfunctions::HashType, int debug=0)
hcaldqm::Container2D _cOrnMsm_ElectronicsVME
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 lookup(DetId const &)
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::filter::HashFilter _filter_FEDsuTCA
virtual bool exists(HcalDetId const &)
unique_ptr< ClusterSequence > cs
LuminosityBlockIndex index() const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
const int FIBER_uTCA_MIN1
DetIdVector::const_iterator bad_quality_end() const
uint32_t l1ANumber() const
Get the HTR event number.
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
hcaldqm::Container2D _cBadQuality_FEDuTCA
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
hcaldqm::Container2D _cEvnMsm_ElectronicsVME
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
const HcalElectronicsMap * getHcalMapping() const
void _process(edm::Event const &, edm::EventSetup const &) override
ContainerXXX< uint32_t > _xQuality
int badQualityDigis() const
hcaldqm::Container2D _cBcnMsm_ElectronicsVME
unsigned int getBunchNumber() const
Get the HTR bunch number.
hcaldqm::filter::HashFilter _filter_uTCA
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
hcaldqm::filter::HashFilter _filter_FEDsVME
hcaldqm::Container2D _cSummaryvsLS_FED
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual bool filter(HcalDetId const &) const
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void setBinContent(HcalDetId const &, int) override
void _resetMonitors(hcaldqm::UpdateFreq) override
void dqmthrow(std::string const &msg) const
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void fill(HcalDetId const &) override
virtual void fill(uint32_t)
std::vector< hcaldqm::flag::Flag > _vflags
hcaldqm::Container2D _cBadQuality_FEDVME
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
unsigned int getOrbitNumber() const
Get the HTR orbit number.
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
hcaldqm::ContainerSingle2D _cSummaryvsLS
size_t size() const
Lenght of the data buffer in bytes.
std::vector< uint32_t > _vcdaqEids
RawTask(edm::ParameterSet const &)
std::vector< uint32_t > _vhashFEDs
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
DetIdVector::const_iterator bad_quality_begin() const
bool isFEDHBHE(HcalElectronicsId const &)
virtual void setBinContent(int, int, int)
unsigned int getL1ANumber() const
Get the HTR event number.
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
constexpr uint32_t rawId() const
const HcalElectronicsMap * _emap
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::pair< uint16_t, uint16_t > fed2crate(int fed)
bool isFEDHO(HcalElectronicsId const &)
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
virtual void book(HcalElectronicsMap const *)
virtual STDTYPE & get(HcalDetId const &)
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cBadQuality_depth
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
unsigned dccId(DetId const &)
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event.