|
|
Go to the documentation of this file.
46 std::vector<uint32_t> vVME;
47 std::vector<uint32_t> vuTCA;
48 std::vector<uint32_t> depth0;
201 "OccupancyCutDatavsBX",
207 "OccupancyCutEmulvsBX",
349 "OccupancyCutDatavsLS",
361 "OccupancyCutDatavsBX",
373 "OccupancyCutEmulvsLS",
385 "OccupancyCutEmulvsBX",
392 "OccupancyDataHF_depth",
398 "OccupancyEmulHFNoTDC_depth",
404 "OccupancyDataHF_ieta",
409 "OccupancyEmulHFNoTDC_ieta",
422 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it) {
425 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
619 sprintf(
aux,
"BIT%d", iii);
734 DQTask::_resetMonitors(uf);
768 int bx =
e.bunchCrossing();
770 auto lumiCache = luminosityBlockCache(
e.getLuminosityBlock().index());
774 int numHBHE(0), numHF(0), numCutHBHE(0), numCutHF(0);
775 int numCorrHBHE(0), numCorrHF(0);
776 int numMsmHBHE(0), numMsmHF(0);
777 int numMsnHBHE(0), numMsnHF(0), numMsnCutHBHE(0), numMsnCutHF(0);
780 uint32_t rawidHBHEValid = 0;
781 uint32_t rawidHFValid = 0;
803 rawidHFValid = tid.
rawId();
805 rawidHBHEValid = tid.
rawId();
815 if (jt != cemul->
end())
824 int soiEt_d = it->t0().compressedEt();
827 soiFG_d[ibit] = it->t0().fineGrain(ibit) ? 1 : 0;
828 tid.
ietaAbs() >= 29 ? numHF++ : numHBHE++;
855 tid.
ietaAbs() >= 29 ? numCutHF++ : numCutHBHE++;
876 if (jt != cemul->
end()) {
878 int soiEt_e = jt->SOI_compressedEt();
881 soiFG_e[ibit] = jt->t0().fineGrain(ibit) ? 1 : 0;
884 soiEt_d == 0 && soiEt_e == 0 ? 1 : double(
std::min(soiEt_d, soiEt_e)) / double(
std::max(soiEt_e, soiEt_d));
889 tid.
ietaAbs() >= 29 ? numCorrHF++ : numCorrHBHE++;
910 if (soiEt_d != soiEt_e) {
911 tid.
ietaAbs() >= 29 ? numMsmHF++ : numMsmHBHE++;
941 tid.
ietaAbs() >= 29 ? numMsnHF++ : numMsnHBHE++;
950 tid.
ietaAbs() >= 29 ? numMsnCutHF++ : numMsnCutHBHE++;
968 int soiEt_e = it->SOI_compressedEt();
978 if (rawidHFValid != 0 && rawidHBHEValid != 0) {
1046 rawidHFValid = tid.
rawId();
1048 rawidHBHEValid = tid.
rawId();
1057 int soiEt = it->SOI_compressedEt();
1060 tid.
ietaAbs() >= 29 ? numHF++ : numHBHE++;
1065 if (
eid.isVMEid()) {
1076 tid.
ietaAbs() >= 29 ? numCutHF++ : numCutHBHE++;
1097 if (!(it->zsMarkAndPass())) {
1099 if (jt == cdata->
end()) {
1100 tid.
ietaAbs() >= 29 ? numMsnHF++ : numMsnHBHE++;
1110 tid.
ietaAbs() >= 29 ? numMsnCutHF++ : numMsnCutHBHE++;
1120 if (rawidHBHEValid != 0) {
1130 if (rawidHFValid != 0) {
1150 cdataL1Rec->
begin(),
1157 const auto& sentTp = tpPair.first;
1158 const auto& recdTp = tpPair.second;
1159 const int ieta = sentTp.id().ieta();
1160 if (
abs(
ieta) > 28 && sentTp.id().version() != 1)
1163 const bool towerMasked = recdTp.sample(0).raw() & (1 << 13);
1165 const bool linkError = recdTp.sample(0).raw() & (1 << 15);
1167 if (towerMasked || linkError) {
1171 const bool HetAgreement = sentTp.SOI_compressedEt() == recdTp.SOI_compressedEt();
1172 const bool Hfb1Agreement = sentTp.SOI_fineGrain() == recdTp.SOI_fineGrain();
1174 const bool Hfb2Agreement =
1176 : (recdTp.SOI_compressedEt() == 0 || (sentTp.SOI_fineGrain(1) == recdTp.SOI_fineGrain(1)));
1177 if (!(HetAgreement && Hfb1Agreement && Hfb2Agreement)) {
1195 return DQTask::globalBeginLuminosityBlock(lb, es);
1202 auto lumiCache = luminosityBlockCache(lb.
index());
1208 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
1215 for (uint32_t iflag = 0; iflag <
_vflags.size(); iflag++)
1266 for (std::vector<flag::Flag>::iterator ft =
_vflags.begin(); ft !=
_vflags.end(); ++ft) {
1288 DQTask::globalEndLuminosityBlock(lb, es);
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
virtual void initialize(hashfunctions::HashType, int debug=0)
MonitorElement * meUnknownIds1LS
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 _cOccupancyCutData_ElectronicsuTCA
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
uint32_t lookup(DetId const &)
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
hcaldqm::ContainerSingle2D _cSummaryvsLS
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cFGMsm_ElectronicsVME
LuminosityBlockIndex index() const
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cEtData_TTSubdet
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
hcaldqm::ContainerXXX< uint32_t > _xSentRecL1Msm
const int FIBER_uTCA_MIN1
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
std::vector< hcaldqm::flag::Flag > _vflags
hcaldqm::ContainerProf1D _cEtCutDatavsBX_TTSubdet
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::Container2D _cEtCorr_TTSubdet
int ietaAbs() const
get the absolute value of the tower ieta
std::vector< uint32_t > _vhashFEDs
hcaldqm::filter::HashFilter _filter_VME
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
virtual void fill(int, int)
std::vector< std::pair< HcalTriggerPrimitiveDigi, HcalTriggerPrimitiveDigi > > _vTPDigis_SentRec
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
hcaldqm::ContainerSingle1D _cOccupancyNoTDC_HF_ieta
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
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::ContainerSingle2D _cOccupancyNoTDC_HF_depth
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Readout chain identification for Hcal.
hcaldqm::ContainerSingle2D _cMsnData_depthlike
hcaldqm::ContainerSingle1D _cOccupancy_HF_ieta
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
int version() const
get the version code for the trigger tower
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
hcaldqm::Container2D _cMsnData_ElectronicsVME
void setBinContent(HcalDetId const &, int) override
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokDataL1Rec
std::vector< bool > _vFGBitsReady
hcaldqm::Container2D _cMsnEmul_ElectronicsVME
void dqmthrow(std::string const &msg) const
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cSummaryvsLS_FED
double _thresh_EtMsmRate_low
void fill(HcalDetId const &) override
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
virtual void fill(uint32_t)
const_iterator end() const
hcaldqm::Container1D _cEtEmul_TTSubdet
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
hcaldqm::Container2D _cEtMsm_ElectronicsVME
hcaldqm::Container2D _cEtCorr2x3_TTSubdet
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
edm::InputTag _tagDataL1Rec
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
void _resetMonitors(hcaldqm::UpdateFreq) override
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
std::vector< uint32_t > _vcdaqEids
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
void fill(HcalDetId const &) override
hcaldqm::ContainerSingle2D _cOccupancy_HF_depth
double _thresh_FGMsmRate_low
hcaldqm::filter::HashFilter _filter_depth0
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmulNoTDCCut
double _thresh_EtMsmRate_high
iterator find(key_type k)
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
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::ContainerSingle2D _cOccupancyCutData_depthlike
bool isFEDHBHE(HcalElectronicsId const &)
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
virtual void setBinContent(int, int, int)
constexpr uint32_t rawId() const
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0) override
const HcalElectronicsMap * _emap
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
std::pair< uint16_t, uint16_t > fed2crate(int fed)
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
virtual void book(HcalElectronicsMap const *)
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
virtual STDTYPE & get(HcalDetId const &)
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
hcaldqm::Container2D _cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
hcaldqm::ContainerSingle2D _cEtMsm_uHTR_L1T_depthlike
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
Abs< T >::type abs(const T &t)
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
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 book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
edm::InputTag _tagEmulNoTDCCut
double _thresh_FGMsmRate_high
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
hcaldqm::ContainerSingle1D _cEtMsm_uHTR_L1T_LS
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
void fill(int, int) override
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
TPTask(edm::ParameterSet const &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override