1 #ifndef DQM_GEM_INTERFACE_GEMDAQStatusSource_h 2 #define DQM_GEM_INTERFACE_GEMDAQStatusSource_h 53 std::map<ME5IdsKey, bool> *pmapSummary =
nullptr) {
54 for (
auto const &[key5, bFlag] : mapChamber) {
58 if (pmapSummary !=
nullptr)
59 (*pmapSummary)[key5] =
true;
122 #endif // DQM_GEM_INTERFACE_GEMDAQStatusSource_h void FillStatusSummaryPlot(std::map< ME5IdsKey, bool > &mapChamber, MonitorElement *h2Plot, std::map< ME5IdsKey, bool > *pmapSummary=nullptr)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
GEMDAQStatusSource(const edm::ParameterSet &cfg)
std::tuple< Int_t, Int_t, Int_t, Int_t, Int_t > ME5IdsKey
void FillWithRiseErr(MonitorElement *h, Int_t nX, Int_t nY, Bool_t &bErr)
edm::EDGetToken tagAMC13_
MonitorElement * h2SummaryStatusAMCWarning
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * h2AMC13Status_
std::string strFolderMain_
MonitorElement * h2SummaryStatusAMCError
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
std::map< UInt_t, int > mapFEDIdToRe_
std::map< UInt_t, int > mapFEDIdToSt_
std::map< std::tuple< int, int >, std::vector< GEMDetId > > mapAMCToListChamber_
int ProcessWithMEMap5WithChamber(BookingHelper &bh, ME5IdsKey key) override
MEMap4Inf mapStatusErrVFATPerLayer_
MonitorElement * h2SummaryStatusVFATError
const edm::ESGetToken< GEMChMap, GEMChMapRcd > gemChMapToken_
std::map< UInt_t, MonitorElement * > mapFEDIdToAMCStatus_
int ProcessWithMEMap4(BookingHelper &bh, ME4IdsKey key) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * h2SummaryStatusError
void SetLabelAMCStatus(MonitorElement *h2Status)
void LoadROMap(edm::EventSetup const &iSetup)
std::map< UInt_t, int > mapFEDIdToPosition_
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
MEMap5Inf mapStatusVFATPerCh_
key
prepare the HTCondor submission files and eventually submit them
std::map< ME4IdsKey, int > mapStationToIdx_
void SetLabelAMC13Status(MonitorElement *h2Status)
std::map< int, std::vector< GEMDetId > > mapAMC13ToListChamber_
MonitorElement * h2SummaryStatusVFATWarning
~GEMDAQStatusSource() override
MonitorElement * h2SummaryStatusAll
void SetLabelVFATStatus(MonitorElement *h2Status)
int keyToChamber(ME4IdsKey key)
void SetLabelOHStatus(MonitorElement *h2Status)
MonitorElement * h2SummaryStatusOHWarning
MonitorElement * h2SummaryStatusAMC13Error
MEMap4Inf mapStatusWarnVFATPerLayer_
MonitorElement * h2SummaryStatusWarning
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
MonitorElement * h2SummaryStatusOHError
ME4IdsKey key5Tokey4(ME5IdsKey key)