35 if (
r.runAuxiliary().run() == 1)
41 std::vector<uint32_t> vhashVME;
42 std::vector<uint32_t> vhashuTCA;
43 std::vector<uint32_t> vhashC38;
60 #ifndef HIDE_PEDESTAL_CONDITIONS 276 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
279 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
449 #ifndef HIDE_PEDESTAL_CONDITIONS 465 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
467 if (!it->isHcalDetId())
472 #ifndef HIDE_PEDESTAL_CONDITIONS 476 float const*
means = peds->getValues();
477 float const* rmss = peds->getWidths();
480 for (uint32_t
i = 0;
i < 4;
i++) {
493 DQTask::_resetMonitors(uf);
575 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
576 if (!it->isHcalDetId())
591 #ifndef HIDE_PEDESTAL_CONDITIONS 595 #ifndef HIDE_PEDESTAL_CONDITIONS 633 double rms1LS =
sqrt(sum21LS / n1LS - sum1LS * sum1LS);
634 #ifndef HIDE_PEDESTAL_CONDITIONS 635 double diffm1LS = sum1LS - refm;
636 double diffr1LS = rms1LS - refr;
640 double rmsTotal =
sqrt(sum2Total / nTotal - sumTotal * sumTotal);
641 #ifndef HIDE_PEDESTAL_CONDITIONS 642 double diffmTotal = sumTotal - refm;
643 double diffrTotal = rmsTotal - refr;
652 #ifndef HIDE_PEDESTAL_CONDITIONS 665 #ifndef HIDE_PEDESTAL_CONDITIONS 673 if (!
eid.isVMEid()) {
681 if (!
eid.isVMEid()) {
690 #ifndef HIDE_PEDESTAL_CONDITIONS 730 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
737 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
767 for (std::vector<hcaldqm::flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
785 return DQTask::globalBeginLuminosityBlock(lb, es);
790 if (
r.runAuxiliary().run() == 1)
799 auto lumiCache = luminosityBlockCache(lb.
index());
808 DQTask::globalEndLuminosityBlock(lb, es);
816 if (!
e.getByToken(
_tokHO, c_ho))
823 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
826 int nHB(0), nHE(0), nHO(0), nHF(0);
837 for (
int i = 0;
i < digiSizeToUse;
i++) {
858 for (
int i = 0;
i < digiSizeToUse;
i++) {
882 for (
int i = 0;
i < digiSizeToUse;
i++) {
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
hcaldqm::ContainerXXX< double > _xPedRefRMS
hcaldqm::Container2D _cMissing1LS_depth
constexpr DetId detid() const
Get the detector id.
hcaldqm::ContainerXXX< double > _xPedSumTotal
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
virtual bool exists(HcalDetId const &)
hcaldqm::Container2D _cMissingTotal_depth
hcaldqm::Container1D _cMeanTotal_Subdet
void fill(HcalDetId const &) override
std::pair< uint16_t, uint16_t > fed2crate(int fed)
void dqmEndRun(edm::Run const &, edm::EventSetup const &) override
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf2D _cMean1LS_depth
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cMean1LS_Subdet
hcaldqm::ContainerXXX< int > _xPedEntries1LS
#define DEFINE_FWK_MODULE(type)
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
hcaldqm::Container1D _cRMSTotal_Subdet
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
void dqmthrow(std::string const &msg) const
hcaldqm::Container2D _cRMSBadTotal_depth
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
hcaldqm::ContainerProf2D _cRMSTotal_depth
std::vector< T >::const_iterator const_iterator
hcaldqm::ContainerXXX< double > _xPedSum1LS
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::ContainerXXX< double > _xPedSum21LS
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
hcaldqm::Container2D _cRMSBad1LS_depth
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
std::vector< uint32_t > _vhashFEDs
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
bool _isApplicable(edm::Event const &) override
hcaldqm::Container1D _cMissingvsLS_Subdet
constexpr DetId detid() const
Get the detector id.
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
double _thresh_missing_low
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
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::Container1D _cRMS1LS_Subdet
uint32_t lookup(DetId const &)
constexpr HcalSubdetector subdet() const
get the subdetector
hcaldqm::Container1D _cOccupancyvsLS_Subdet
virtual void fill(uint32_t)
double _thresh_missing_high
void _resetMonitors(hcaldqm::UpdateFreq) override
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
std::vector< hcaldqm::flag::Flag > _vflags
virtual void setBinContent(int, int, int)
hcaldqm::ContainerXXX< int > _xNChs
ContainerXXX< uint32_t > _xQuality
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
hcaldqm::Container2D _cMeanBadTotal_depth
int const FIBER_uTCA_MIN1
hcaldqm::Container1D _cADC_SubdetPM
hcaldqm::Container2D _cMissing1LS_FEDuTCA
const_iterator begin() const
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HcalElectronicsMap const * _emap
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
uint8_t eventType() const
PedestalTask(edm::ParameterSet const &)
const_iterator end() const
hcaldqm::Container2D _cMeanBad1LS_depth
const_iterator end() const
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
hcaldqm::ContainerSingle2D _cSummaryvsLS
hcaldqm::ContainerProf2D _cRMS1LS_depth
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
constexpr int samples() const
total number of samples in the digi
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
hcaldqm::filter::HashFilter _filter_C38
bool isFEDHBHE(HcalElectronicsId const &)
hcaldqm::ContainerProf2D _cMeanTotal_depth
virtual void book(HcalElectronicsMap const *)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
const_iterator begin() const
The iterator returned can not safely be used across threads.
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
constexpr uint32_t rawId() const
edm::InputTag _tagTrigger
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
void setBinContent(HcalDetId const &, int) override
uint8_t const EVENTTYPE_PEDESTAL
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
edm::EDGetTokenT< HODigiCollection > _tokHO
hcaldqm::ContainerXXX< double > _xPedSum2Total
LuminosityBlockIndex index() const
constexpr int size() const
total number of samples in the digi
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
virtual STDTYPE & get(HcalDetId const &)
hcaldqm::ContainerXXX< int > _xNMsn1LS
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
hcaldqm::Container2D _cMissingTotal_FEDuTCA
hcaldqm::ContainerXXX< double > _xPedRefMean
std::vector< HcalGenericDetId > allPrecisionId() const
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual bool filter(HcalDetId const &) const
bool isFEDHO(HcalElectronicsId const &)
std::vector< uint32_t > _vcdaqEids
hcaldqm::ContainerXXX< int > _xNBadMean1LS
virtual void initialize(hashfunctions::HashType, int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::Container2D _cSummaryvsLS_FED
virtual void set(HcalDetId const &, STDTYPE)
constexpr int samples() const
total number of samples in the digi
hcaldqm::filter::HashFilter _filter_uTCA
constexpr HcalDetId const & id() const
uint16_t *__restrict__ uint16_t const *__restrict__ adc