|
|
Go to the documentation of this file.
34 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
290 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
293 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
561 #ifndef HIDE_PEDESTAL_CONDITIONS
577 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
579 if (!it->isHcalDetId())
584 #ifndef HIDE_PEDESTAL_CONDITIONS
589 float const* rmss = peds->getWidths();
592 for (uint32_t
i = 0;
i < 4;
i++) {
605 DQTask::_resetMonitors(uf);
701 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
702 if (!it->isHcalDetId())
717 #ifndef HIDE_PEDESTAL_CONDITIONS
721 #ifndef HIDE_PEDESTAL_CONDITIONS
757 double rms1LS =
sqrt(sum21LS / n1LS - sum1LS * sum1LS);
758 #ifndef HIDE_PEDESTAL_CONDITIONS
759 double diffm1LS = sum1LS - refm;
760 double diffr1LS = rms1LS - refr;
764 double rmsTotal =
sqrt(sum2Total / nTotal - sumTotal * sumTotal);
765 #ifndef HIDE_PEDESTAL_CONDITIONS
766 double diffmTotal = sumTotal - refm;
767 double diffrTotal = rmsTotal - refr;
776 #ifndef HIDE_PEDESTAL_CONDITIONS
789 #ifndef HIDE_PEDESTAL_CONDITIONS
824 #ifndef HIDE_PEDESTAL_CONDITIONS
872 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
879 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
909 for (std::vector<hcaldqm::flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
927 return DQTask::globalBeginLuminosityBlock(lb, es);
932 if (
r.runAuxiliary().run() == 1)
941 auto lumiCache = luminosityBlockCache(lb.
index());
950 DQTask::globalEndLuminosityBlock(lb, es);
958 if (!
e.getByToken(
_tokHO, c_ho))
965 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
968 int nHB(0), nHE(0), nHO(0), nHF(0);
970 const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
979 for (
int i = 0;
i < digiSizeToUse;
i++) {
1000 for (
int i = 0;
i < digiSizeToUse;
i++) {
1015 const QIE10DataFrame digi = static_cast<const QIE10DataFrame>(*it);
1024 for (
int i = 0;
i < digiSizeToUse;
i++) {
hcaldqm::Container2D _cMissingTotal_FEDuTCA
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
std::vector< T >::const_iterator const_iterator
double _thresh_missing_high
uint32_t lookup(DetId const &)
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
uint8_t eventType() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
virtual void set(HcalDetId const &, STDTYPE)
hcaldqm::Container1D _cADC_SubdetPM
hcaldqm::ContainerXXX< int > _xPedEntries1LS
virtual bool exists(HcalDetId const &)
constexpr int samples() const
total number of samples in the digi
unique_ptr< ClusterSequence > cs
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cRMSTotal_depth
LuminosityBlockIndex index() const
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
const float * getValues() const
get value for all capId = 0..3
void _resetMonitors(hcaldqm::UpdateFreq) override
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
hcaldqm::Container2D _cMeanBad1LS_depth
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
const int FIBER_uTCA_MIN1
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
edm::EDGetTokenT< HODigiCollection > _tokHO
edm::InputTag _tagTrigger
hcaldqm::Container2D _cMissing1LS_FEDVME
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cMissing1LS_depth
hcaldqm::filter::HashFilter _filter_VME
void dqmEndRun(edm::Run const &, edm::EventSetup const &) override
std::vector< hcaldqm::flag::Flag > _vflags
hcaldqm::ContainerProf2D _cMeanTotal_depth
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
hcaldqm::Container2D _cMissingTotal_FEDVME
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
std::vector< int > getFEDList(HcalElectronicsMap const *)
const HcalElectronicsMap * getHcalMapping() const
ContainerXXX< uint32_t > _xQuality
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
hcaldqm::Container2D _cMissing1LS_FEDuTCA
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::ContainerXXX< int > _xNBadMean1LS
hcaldqm::ContainerXXX< double > _xPedRefMean
hcaldqm::ContainerXXX< double > _xPedSum2Total
hcaldqm::Container1D _cMean1LS_Subdet
#define DEFINE_FWK_MODULE(type)
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
hcaldqm::ContainerXXX< double > _xPedRefRMS
constexpr DetId detid() const
Get the detector id.
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
hcaldqm::Container2D _cSummaryvsLS_FED
hcaldqm::Container2D _cMeanBadTotal_depth
hcaldqm::ContainerXXX< double > _xPedSum21LS
const_iterator begin() const
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual bool filter(HcalDetId const &) const
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
hcaldqm::Container2D _cRMSBad1LS_depth
Readout chain identification for Hcal.
hcaldqm::Container2D _cRMSBad1LS_FEDVME
PedestalTask(edm::ParameterSet const &)
constexpr int samples() const
total number of samples in the digi
hcaldqm::Container1D _cMissingvsLS_Subdet
bool _isApplicable(edm::Event const &) override
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
void setBinContent(HcalDetId const &, int) override
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
void dqmthrow(std::string const &msg) const
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void fill(HcalDetId const &) override
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
virtual void fill(uint32_t)
hcaldqm::filter::HashFilter _filter_C38
const_iterator end() const
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
constexpr HcalSubdetector subdet() const
get the subdetector
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
hcaldqm::Container2D _cMeanBadTotal_FEDVME
const_iterator begin() const
The iterator returned can not safely be used across threads.
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
constexpr int size() const
total number of samples in the digi
hcaldqm::Container1D _cMeanTotal_Subdet
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
hcaldqm::ContainerXXX< int > _xNChs
constexpr DetId detid() const
Get the detector id.
hcaldqm::ContainerSingle2D _cSummaryvsLS
hcaldqm::ContainerXXX< int > _xNMsn1LS
hcaldqm::Container2D _cRMSBadTotal_depth
std::vector< uint32_t > _vcdaqEids
void fill(HcalDetId const &) override
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
hcaldqm::Container1D _cRMS1LS_Subdet
hcaldqm::Container2D _cMeanBad1LS_FEDVME
bool isFEDHBHE(HcalElectronicsId const &)
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
virtual void setBinContent(int, int, int)
constexpr uint32_t rawId() const
const HcalElectronicsMap * _emap
hcaldqm::ContainerProf2D _cMean1LS_depth
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::pair< uint16_t, uint16_t > fed2crate(int fed)
hcaldqm::ContainerXXX< double > _xPedSumTotal
bool isFEDHO(HcalElectronicsId const &)
hcaldqm::Container2D _cRMSBadTotal_FEDVME
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
double _thresh_missing_low
virtual void book(HcalElectronicsMap const *)
hcaldqm::ContainerProf2D _cRMS1LS_depth
virtual STDTYPE & get(HcalDetId const &)
hcaldqm::ContainerXXX< double > _xPedSum1LS
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::Container2D _cMissingTotal_depth
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
std::vector< uint32_t > _vhashFEDs
constexpr HcalDetId const & id() const
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
hcaldqm::Container1D _cRMSTotal_Subdet
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
const_iterator end() const
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
const uint8_t EVENTTYPE_PEDESTAL
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger