28 _emap = dbs->getHcalMapping();
32 std::vector<uint32_t> vVME;
33 std::vector<uint32_t> vuTCA;
34 std::vector<uint32_t> vhashFEDsVME;
35 std::vector<uint32_t> vhashFEDsuTCA;
45 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
46 it!=vFEDsVME.end(); ++it)
55 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
56 it!=vFEDsuTCA.end(); ++it)
184 DQTask::_resetMonitors(uf);
209 for (std::vector<DetId>::const_iterator it=creport->bad_quality_begin();
210 it!=creport->bad_quality_end(); ++it)
276 bool qevn = (htr_evn!=evn);
277 bool qbcn = (htr_bcn!=bcn);
278 bool qorn = (htr_orn!=orn);
304 uint32_t bcn = hamc13->
bunchId();
307 int namc = hamc13->
NAMC();
309 for (
int iamc=0; iamc<namc; iamc++)
311 int slot = hamc13->
AMCSlot(iamc);
312 int crate = hamc13->
AMCId(iamc)&0xFF;
321 uint32_t uhtr_bcn = uhtr.bunchNumber();
322 uint32_t uhtr_orn = uhtr.orbitNumber();
323 bool qevn = (uhtr_evn!=evn);
324 bool qbcn = (uhtr_bcn!=bcn);
325 bool qorn = (uhtr_orn!=orn);
350 DQTask::beginLuminosityBlock(lb, es);
371 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
377 std::vector<uint32_t>::const_iterator cit=
std::find(
382 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
411 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
430 DQTask::endLuminosityBlock(lb, es);
ContainerXXX< uint32_t > _xEvnMsmLS
T getUntrackedParameter(std::string const &, T const &) const
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Container2D _cBadQuality_FEDuTCA
virtual void setBinContent(HcalDetId const &, int)
uint16_t fed2crate(int fed)
electronicsmap::ElectronicsMap _ehashmap
ContainerXXX< uint32_t > _xBcnMsmLS
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
#define DEFINE_FWK_MODULE(type)
ContainerSingleProf1D _cBadQualityvsLS
Container2D _cBcnMsm_ElectronicsuTCA
int bunchCrossing() const
Container2D _cOrnMsm_ElectronicsuTCA
ContainerSingleProf1D _cBadQualityvsBX
ContainerXXX< uint32_t > _xBadQLS
virtual void _process(edm::Event const &, edm::EventSetup const &)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
HashFilter _filter_FEDsuTCA
unsigned int getOrbitNumber() const
Get the HTR orbit number.
Container2D _cBadQuality_FEDVME
size_t size() const
Lenght of the data buffer in bytes.
void bookHistograms(fwlite::EventContainer &eventCont)
Container2D _cBadQuality_depth
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
Container2D _cOrnMsm_ElectronicsVME
HashFilter _filter_FEDsVME
virtual void setBinContent(int, int, int)
void dqmthrow(std::string const &msg) const
std::vector< uint32_t > _vhashFEDs
virtual void _resetMonitors(UpdateFreq)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
int const FIBER_uTCA_MIN1
RawTask(edm::ParameterSet const &)
ContainerSingle2D _cSummaryvsLS
Container2D _cEvnMsm_ElectronicsVME
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Container2D _cSummaryvsLS_FED
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void book(HcalElectronicsMap const *)
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
uint32_t l1ANumber() const
Get the HTR event number.
Container2D _cBcnMsm_ElectronicsVME
std::vector< flag::Flag > _vflags
virtual STDTYPE & get(HcalDetId const &)
virtual void setLumiFlag()
unsigned int getBunchNumber() const
Get the HTR bunch number.
std::vector< int > getFEDList(HcalElectronicsMap const *)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
virtual bool filter(HcalDetId const &) const
Container2D _cEvnMsm_ElectronicsuTCA
bool isFEDHO(HcalElectronicsId const &)
std::vector< uint32_t > _vcdaqEids
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
unsigned int getL1ANumber() const
Get the HTR event number.
unsigned dccId(DetId const &)
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
HcalElectronicsMap const * _emap