23 "thresh_EtMsmRate_high", 0.2);
25 "thresh_EtMsmRate_low", 0.05);
27 "thresh_FGMsmRate", 0.2);
29 "thresh_FGMsmRate_low", 0.05);
53 std::vector<uint32_t> vVME;
54 std::vector<uint32_t> vuTCA;
55 std::vector<uint32_t> depth0;
258 "OccupancyCutDatavsLS",
267 "OccupancyCutDatavsBX",
276 "OccupancyCutEmulvsLS",
285 "OccupancyCutEmulvsBX",
313 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
314 it!=vFEDsVME.end(); ++it)
319 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
320 it!=vFEDsuTCA.end(); ++it)
466 sprintf(aux,
"BIT%d", iii);
579 DQTask::_resetMonitors(uf);
597 _logger.
dqmthrow(
"Collection HcalTrigPrimDigiCollection isn't available: " 600 _logger.
dqmthrow(
"Collection HcalTrigPrimDigiCollection isn't available: " 604 _logger.
dqmthrow(
"Collection HcalTrigPrimDigiCollection isn't available: " 613 int numHBHE(0), numHF(0), numCutHBHE(0), numCutHF(0);
614 int numCorrHBHE(0), numCorrHF(0);
615 int numMsmHBHE(0), numMsmHF(0);
616 int numMsnHBHE(0), numMsnHF(0), numMsnCutHBHE(0), numMsnCutHF(0);
619 uint32_t rawidHBHEValid = 0;
620 uint32_t rawidHFValid = 0;
632 it!=cdata->
end(); ++it)
644 rawidHFValid = tid.
rawId();
646 rawidHBHEValid = tid.
rawId();
658 if (jt!=cemul->
end())
660 jt->SOI_compressedEt());
668 int soiEt_d = it->t0().compressedEt();
671 soiFG_d[ibit] = it->t0().fineGrain(ibit)?1:0;
672 tid.
ietaAbs()>=29?numHF++:numHBHE++;
703 tid.
ietaAbs()>=29?numCutHF++:numCutHBHE++;
725 if (jt!=cemul->
end())
728 int soiEt_e = jt->SOI_compressedEt();
731 soiFG_e[ibit] = jt->t0().fineGrain(ibit)?1:0;
733 double rEt = soiEt_d==0 && soiEt_e==0?1:
741 tid.
ietaAbs()>=29?numCorrHF++:numCorrHBHE++;
765 if (soiEt_d!=soiEt_e)
767 tid.
ietaAbs()>=29?numMsmHF++:numMsmHBHE++;
800 tid.
ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
810 tid.
ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
829 int soiEt_e = it->SOI_compressedEt();
839 if (rawidHFValid!=0 && rawidHBHEValid!=0)
872 double(numMsmHBHE)/
double(numCorrHBHE));
875 double(numMsmHF)/
double(numCorrHF));
877 double(numMsmHBHE)/
double(numCorrHBHE));
879 double(numMsmHF)/
double(numCorrHF));
901 numHBHE=0; numHF=0; numCutHBHE=0; numCutHF=0;
902 numMsnHBHE=0; numMsnHF=0; numCutHBHE=0; numCutHF=0;
917 it!=cemul->
end(); ++it)
926 rawidHFValid = tid.
rawId();
928 rawidHBHEValid = tid.
rawId();
938 int soiEt = it->SOI_compressedEt();
941 tid.
ietaAbs()>=29?numHF++:numHBHE++;
961 tid.
ietaAbs()>=29?numCutHF++:numCutHBHE++;
983 if(!(it->zsMarkAndPass())) {
985 if (jt==cdata->
end())
987 tid.
ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
998 tid.
ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
1008 if (rawidHBHEValid != 0) {
1027 if (rawidHFValid!=0) {
1052 DQTask::beginLuminosityBlock(lb, es);
1064 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
1070 std::vector<uint32_t>::const_iterator cit=
std::find(
1075 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
1121 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
1142 DQTask::endLuminosityBlock(lb, es);
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
hcaldqm::Container2D _cMsnData_ElectronicsVME
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::Container1D _cEtEmul_TTSubdet
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
double _thresh_FGMsmRate_high
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::pair< uint16_t, uint16_t > fed2crate(int fed)
std::vector< uint32_t > _vhashFEDs
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
#define DEFINE_FWK_MODULE(type)
MonitorElement * meUnknownIds1LS
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
int bunchCrossing() const
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle2D _cOccupancyCutData_depthlike
double _thresh_FGMsmRate_low
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmulNoTDCCut
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
double _thresh_EtMsmRate_low
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
uint32_t rawId() const
get the raw id
hcaldqm::Container2D _cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
uint32_t lookup(DetId const &)
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::Container2D _cSummaryvsLS_FED
virtual void fill(uint32_t)
edm::InputTag _tagEmulNoTDCCut
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
std::vector< hcaldqm::flag::Flag > _vflags
void setLumiFlag()
this ME is meant to be stored for each luminosity section
virtual void setBinContent(int, int, int)
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
void _resetMonitors(hcaldqm::UpdateFreq) override
void dqmthrow(std::string const &msg) const
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0) override
TPTask(edm::ParameterSet const &)
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
MonitorElement * book1D(Args &&...args)
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
hcaldqm::filter::HashFilter _filter_depth0
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
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::ContainerSingle2D _cOccupancy_HF_depth
double _thresh_EtMsmRate_high
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
hcaldqm::Container2D _cOccupancyCutData_ElectronicsuTCA
HcalElectronicsMap const * _emap
hcaldqm::ContainerSingle2D _cSummaryvsLS
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
const_iterator end() const
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
hcaldqm::Container2D _cFGMsm_ElectronicsVME
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
void setCurrentFolder(const std::string &fullpath)
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(HcalElectronicsMap const *)
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
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::ContainerProf1D _cEtCutDatavsBX_TTSubdet
int version() const
get the version code for the trigger tower
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
std::vector< bool > _vFGBitsReady
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
void setBinContent(HcalDetId const &, int) override
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
hcaldqm::ContainerSingle1D _cOccupancyNoTDC_HF_ieta
std::vector< std::vector< double > > tmp
iterator find(key_type k)
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::Container2D _cEtMsm_ElectronicsVME
hcaldqm::Container2D _cEtCorr2x3_TTSubdet
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::Container2D _cEtCorr_TTSubdet
hcaldqm::ContainerSingle2D _cOccupancyNoTDC_HF_depth
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
hcaldqm::filter::HashFilter _filter_VME
std::vector< uint32_t > _vcdaqEids
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
virtual void fill(int, int)
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle1D _cOccupancy_HF_ieta
Readout chain identification for Hcal.
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::ContainerSingle2D _cMsnData_depthlike
bool isFEDHF(HcalElectronicsId const &)
int ietaAbs() const
get the absolute value of the tower ieta
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
const_iterator begin() const
hcaldqm::Container1D _cEtData_TTSubdet
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
hcaldqm::Container2D _cMsnEmul_ElectronicsVME