48 std::vector<uint32_t> vVME;
49 std::vector<uint32_t> vuTCA;
58 std::vector<uint32_t> vhashHF;
201 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
202 it!=vFEDsVME.end(); ++it)
205 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
206 it!=vFEDsuTCA.end(); ++it)
298 sprintf(cutstr,
"_EHBHE%dHO%dHF%d",
int(
_cutE_HBHE),
301 sprintf(cutstr2,
"_EHF%d",
int(
_cutE_HF));
366 std::vector<uint32_t> vhashFEDHF;
412 DQTask::_resetMonitors(uf);
444 uint32_t rawidValid = 0;
445 uint32_t rawidHBValid = 0;
446 uint32_t rawidHEValid = 0;
448 double ehbm = 0;
double ehbp = 0;
449 double ehem = 0;
double ehep = 0;
450 int nChsHB = 0;
int nChsHE = 0;
451 int nChsHBCut = 0;
int nChsHECut = 0;
453 it!=chbhe->
end(); ++it)
455 double energy = it->energy();
456 double timing = it->time();
471 rawidValid = did.
rawId();
473 rawidHBValid = did.
rawId();
475 rawidHEValid = did.
rawId();
481 did.
ieta()>0?ehep+=energy:ehem+=energy;
583 if (rawidHBValid!=0 && rawidHEValid!=0)
608 int nChsHO = 0;
int nChsHOCut = 0;
609 double ehop = 0;
double ehom = 0;
611 it!=cho->
end(); ++it)
613 double energy = it->energy();
614 double timing = it->time();
623 rawidValid = did.
rawId();
628 did.
ieta()>0?ehop+=energy:ehom+=energy;
716 int nChsHF = 0;
int nChsHFCut = 0;
717 double ehfp = 0;
double ehfm = 0;
719 it!=chf->
end(); ++it)
721 double energy = it->energy();
722 double timing = it->time();
731 rawidValid = did.
rawId();
736 did.
ieta()>0?ehfp+=energy:ehfm+=energy;
828 it!=cprehf->
end(); ++it)
834 std::pair<float, bool> chargeAsymmetry = it->chargeAsymmetry(0.);
835 std::pair<float, bool> chargeAsymmetryCut = it->chargeAsymmetry(20.);
837 if (chargeAsymmetry.second) {
840 if (chargeAsymmetryCut.second) {
851 DQTask::beginLuminosityBlock(lb, es);
870 uint32_t hash1 = it->first;
872 double x1 = it->second;
879 double x2 = jt->second;
888 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
894 std::vector<uint32_t>::const_iterator cit=
std::find(
899 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
921 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
938 DQTask::endLuminosityBlock(lb, es);
hcaldqm::ContainerXXX< uint32_t > _xUniHF
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cOccupancyCut_depth
hcaldqm::Container2D _cSummaryvsLS_FED
std::vector< uint32_t > _vhashFEDs
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
hcaldqm::ContainerProf2D _cEnergy_depth
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::Container2D _cOccupancy_FEDVME
HcalSubdetector subdet() const
get the subdetector
std::pair< uint16_t, uint16_t > fed2crate(int fed)
edm::EDGetTokenT< HFRecHitCollection > _tokHF
hcaldqm::ContainerXXX< uint32_t > _xUni
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
#define DEFINE_FWK_MODULE(type)
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
std::vector< HcalGenericDetId > _gids
virtual CompactMap::const_iterator begin()
std::vector< HBHERecHit >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
int bunchCrossing() const
RecHitTask(edm::ParameterSet const &)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
uint32_t rawId() const
get the raw id
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
virtual CompactMap::const_iterator end()
uint32_t lookup(DetId const &)
std::vector< hcaldqm::flag::Flag > _vflags
virtual void fill(uint32_t)
hcaldqm::Container1D _cEnergy_Subdet
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
virtual void setBinContent(int, int, int)
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
void dqmthrow(std::string const &msg) const
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
int ieta() const
get the cell ieta
hcaldqm::Container2D _cOccupancy_ElectronicsVME
MonitorElement * book1D(Args &&...args)
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
hash_function_did const hash_did[nHashType_did]
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
MonitorElement * meUnknownIds1LS
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
HcalElectronicsMap const * _emap
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingle2D _cSummaryvsLS
const_iterator end() const
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
void setCurrentFolder(const std::string &fullpath)
virtual void book(HcalElectronicsMap const *)
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::filter::HashFilter _filter_HF
hcaldqm::Container2D _cOccupancy_FEDuTCA
virtual void _process(edm::Event const &, edm::EventSetup const &)
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
virtual void setBinContent(HcalDetId const &, int) override
hcaldqm::Container1D _cTimingCut_HBHEPartition
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
virtual STDTYPE & get(HcalDetId const &)
hcaldqm::Container1D _cOccupancyvsieta_Subdet
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
virtual void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
virtual bool filter(HcalDetId const &) const
bool _hfPreRecHitsAvailable
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
edm::EDGetTokenT< HORecHitCollection > _tokHO
std::vector< uint32_t > _vcdaqEids
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
virtual void _resetMonitors(hcaldqm::UpdateFreq)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container2D _cOccupancy_depth
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
hcaldqm::ContainerProf2D _cTimingCut_depth
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
const_iterator begin() const
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM