|
|
Go to the documentation of this file.
40 std::vector<uint32_t> vVME;
41 std::vector<uint32_t> vuTCA;
47 std::vector<uint32_t> vhashHF;
209 "OccupancyCutvsiphi",
215 "OccupancyCutvsieta",
227 "OccupancyCutvsiphivsLS",
248 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
250 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
371 sprintf(cutstr2,
"_EHF%d",
int(
_cutE_HF));
435 std::vector<uint32_t> vhashFEDHF;
471 DQTask::_resetMonitors(uf);
481 if (!(
e.getByToken(
_tokHO, cho)))
483 if (!(
e.getByToken(
_tokHF, chf)))
494 int bx =
e.bunchCrossing();
496 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
501 uint32_t rawidValid = 0;
502 uint32_t rawidHBValid = 0;
503 uint32_t rawidHEValid = 0;
514 double energy = it->energy();
515 double timing = it->time();
530 rawidValid = did.
rawId();
532 rawidHBValid = did.
rawId();
534 rawidHEValid = did.
rawId();
555 }
else if (
eid.isUTCAid()) {
614 }
else if (
eid.isUTCAid()) {
633 if (rawidHBValid != 0 && rawidHEValid != 0) {
655 double energy = it->energy();
656 double timing = it->time();
668 rawidValid = did.
rawId();
734 if (rawidValid != 0) {
752 double energy = it->energy();
753 double timing = it->time();
765 rawidValid = did.
rawId();
835 if (rawidValid != 0) {
852 std::pair<float, bool> chargeAsymmetry = it->chargeAsymmetry(0.);
853 std::pair<float, bool> chargeAsymmetryCut = it->chargeAsymmetry(20.);
855 if (chargeAsymmetry.second) {
858 if (chargeAsymmetryCut.second) {
868 return DQTask::globalBeginLuminosityBlock(lb, es);
875 auto lumiCache = luminosityBlockCache(lb.
index());
886 uint32_t hash1 = it->first;
888 double x1 = it->second;
893 double x2 = jt->second;
902 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
909 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
929 for (std::vector<flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
944 DQTask::globalEndLuminosityBlock(lb, es);
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
virtual void initialize(hashfunctions::HashType, int debug=0)
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::Container2D _cOccupancy_FEDVME
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
hcaldqm::Container2D _cOccupancyCut_depth
uint32_t lookup(DetId const &)
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerXXX< uint32_t > _xUniHF
LuminosityBlockIndex index() const
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
hcaldqm::filter::HashFilter _filter_HF
hcaldqm::Container2D _cOccupancy_FEDuTCA
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
const int FIBER_uTCA_MIN1
edm::EDGetTokenT< HORecHitCollection > _tokHO
hcaldqm::filter::HashFilter _filter_uTCA
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::ContainerProf2D _cEnergy_depth
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
std::vector< HcalGenericDetId > allPrecisionId() const
virtual CompactMap::const_iterator begin()
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
#define DEFINE_FWK_MODULE(type)
const_iterator begin() const
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
hcaldqm::Container2D _cSummaryvsLS_FED
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
std::vector< hcaldqm::flag::Flag > _vflags
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual bool filter(HcalDetId const &) const
virtual CompactMap::const_iterator end()
Readout chain identification for Hcal.
hcaldqm::ContainerSingle2D _cSummaryvsLS
const hash_function_did hash_did[nHashType_did]
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
void setBinContent(HcalDetId const &, int) override
MonitorElement * meUnknownIds1LS
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
void dqmthrow(std::string const &msg) const
constexpr int ieta() const
get the cell ieta
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void fill(HcalDetId const &) override
virtual void fill(uint32_t)
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
const_iterator end() const
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
constexpr HcalSubdetector subdet() const
get the subdetector
hcaldqm::Container1D _cTimingCut_HBHEPartition
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
hcaldqm::Container1D _cOccupancyvsieta_Subdet
bool _hfPreRecHitsAvailable
hcaldqm::Container2D _cOccupancy_depth
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
std::vector< uint32_t > _vcdaqEids
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
void fill(HcalDetId const &) override
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
constexpr uint32_t rawId() const
get the raw id
hcaldqm::Container1D _cEnergy_Subdet
hcaldqm::Container1D _cTimingCut_SubdetPM
edm::EDGetTokenT< HFRecHitCollection > _tokHF
void _process(edm::Event const &, edm::EventSetup const &) override
virtual void setBinContent(int, int, int)
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
constexpr uint32_t rawId() const
const HcalElectronicsMap * _emap
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::pair< uint16_t, uint16_t > fed2crate(int fed)
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
virtual void book(HcalElectronicsMap const *)
std::vector< uint32_t > _vhashFEDs
virtual STDTYPE & get(HcalDetId const &)
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=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
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
std::vector< HcalGenericDetId > _gids
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf2D _cTimingCut_depth
hcaldqm::ContainerXXX< uint32_t > _xUni
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
RecHitTask(edm::ParameterSet const &)