#include <GEMDQMEfficiencySourceBase.h>
Public Types | |
using | MEMap = std::map< GEMDetId, MonitorElement * > |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Attributes | |
const edm::EDGetTokenT< GEMOHStatusCollection > | kGEMOHStatusCollectionToken_ |
const edm::EDGetTokenT< GEMVFATStatusCollection > | kGEMVFATStatusCollectionToken_ |
const std::string | kLogCategory_ |
const bool | kMaskChamberWithError_ |
const bool | kMonitorGE0_ |
const bool | kMonitorGE11_ |
const bool | kMonitorGE21_ |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Definition at line 18 of file GEMDQMEfficiencySourceBase.h.
using GEMDQMEfficiencySourceBase::MEMap = std::map<GEMDetId, MonitorElement*> |
Definition at line 20 of file GEMDQMEfficiencySourceBase.h.
|
explicit |
Definition at line 7 of file GEMDQMEfficiencySourceBase.cc.
dqm::impl::MonitorElement * GEMDQMEfficiencySourceBase::bookChamber | ( | DQMStore::IBooker & | ibooker, |
const TString & | name, | ||
const TString & | title, | ||
const GEMStation * | station | ||
) |
Definition at line 140 of file GEMDQMEfficiencySourceBase.cc.
References dqm::implementation::IBooker::book1D(), relativeConstraints::chamber, getChamberRange(), kLogCategory_, label, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, summarizeEdmComparisonLogfiles::success, runGCPTkAlMap::title, and cond::impl::to_string().
Referenced by GEMEffByGEMCSCSegmentSource::bookHistograms().
dqm::impl::MonitorElement * GEMDQMEfficiencySourceBase::bookChamberEtaPartition | ( | DQMStore::IBooker & | ibooker, |
const TString & | name, | ||
const TString & | title, | ||
const GEMStation * | station | ||
) |
Definition at line 171 of file GEMDQMEfficiencySourceBase.cc.
References dqm::implementation::IBooker::book2D(), relativeConstraints::chamber, getChamberRange(), getEtaPartitionRange(), LEDCalibrationChannels::ieta, kLogCategory_, label, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and cond::impl::to_string().
Referenced by GEMEfficiencyAnalyzer::bookHistograms().
dqm::impl::MonitorElement * GEMDQMEfficiencySourceBase::bookNumerator1D | ( | DQMStore::IBooker & | ibooker, |
MonitorElement * | denominator | ||
) |
Definition at line 39 of file GEMDQMEfficiencySourceBase.cc.
References dqm::implementation::IBooker::book1D(), bTagMiniDQMDeepCSV::denominator, gpuVertexFinder::hist, kLogCategory_, Skims_PA_cff::name, nameNumerator(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMEffByGEMCSCSegmentSource::bookHistograms(), and GEMEfficiencyAnalyzer::bookHistograms().
dqm::impl::MonitorElement * GEMDQMEfficiencySourceBase::bookNumerator2D | ( | DQMStore::IBooker & | ibooker, |
MonitorElement * | denominator | ||
) |
Definition at line 57 of file GEMDQMEfficiencySourceBase.cc.
References dqm::implementation::IBooker::book2D(), bTagMiniDQMDeepCSV::denominator, gpuVertexFinder::hist, kLogCategory_, Skims_PA_cff::name, nameNumerator(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMEfficiencyAnalyzer::bookHistograms().
bool GEMDQMEfficiencySourceBase::checkRefs | ( | const std::vector< T *> & | refs | ) |
Definition at line 71 of file GEMDQMEfficiencySourceBase.h.
Referenced by GEMEffByGEMCSCSegmentSource::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), getChamberRange(), and getEtaPartitionRange().
double GEMDQMEfficiencySourceBase::clampWithAxis | ( | const double | value, |
const TAxis * | axis | ||
) |
Definition at line 295 of file GEMDQMEfficiencySourceBase.cc.
Referenced by fillMEWithinLimits().
Definition at line 283 of file GEMDQMEfficiencySourceBase.cc.
References hasMEKey(), crabWrapper::key, and x.
Referenced by GEMEfficiencyAnalyzer::analyze(), and GEMEffByGEMCSCSegmentSource::checkCoincidenceGE11().
void GEMDQMEfficiencySourceBase::fillME | ( | MEMap & | me_map, |
const GEMDetId & | key, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 289 of file GEMDQMEfficiencySourceBase.cc.
References hasMEKey(), crabWrapper::key, x, and y.
void GEMDQMEfficiencySourceBase::fillMEWithinLimits | ( | MonitorElement * | me, |
const double | x | ||
) |
Definition at line 302 of file GEMDQMEfficiencySourceBase.cc.
References clampWithAxis(), kLogCategory_, hlt_dqm_clientPB-live_cfg::me, and x.
Referenced by GEMEfficiencyAnalyzer::analyze(), GEMEffByGEMCSCSegmentSource::checkCoincidenceGE11(), and fillMEWithinLimits().
void GEMDQMEfficiencySourceBase::fillMEWithinLimits | ( | MonitorElement * | me, |
const double | x, | ||
const double | y | ||
) |
Definition at line 313 of file GEMDQMEfficiencySourceBase.cc.
References clampWithAxis(), gpuVertexFinder::hist, kLogCategory_, hlt_dqm_clientPB-live_cfg::me, x, and y.
void GEMDQMEfficiencySourceBase::fillMEWithinLimits | ( | MEMap & | me_map, |
const GEMDetId & | key, | ||
const double | x | ||
) |
Definition at line 326 of file GEMDQMEfficiencySourceBase.cc.
References fillMEWithinLimits(), hasMEKey(), crabWrapper::key, and x.
void GEMDQMEfficiencySourceBase::fillMEWithinLimits | ( | MEMap & | me_map, |
const GEMDetId & | key, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 332 of file GEMDQMEfficiencySourceBase.cc.
References fillMEWithinLimits(), hasMEKey(), crabWrapper::key, x, and y.
std::tuple< bool, int, int > GEMDQMEfficiencySourceBase::getChamberRange | ( | const GEMStation * | station | ) |
Definition at line 77 of file GEMDQMEfficiencySourceBase.cc.
References checkRefs(), kLogCategory_, or, relativeConstraints::station, and HcalDetIdTransform::transform().
Referenced by bookChamber(), and bookChamberEtaPartition().
std::tuple< bool, int, int > GEMDQMEfficiencySourceBase::getEtaPartitionRange | ( | const GEMStation * | station | ) |
Definition at line 103 of file GEMDQMEfficiencySourceBase.cc.
References checkRefs(), kLogCategory_, or, relativeConstraints::station, and HcalDetIdTransform::transform().
Referenced by bookChamberEtaPartition().
Definition at line 103 of file GEMDQMEfficiencySourceBase.h.
References GEMDetId::region().
Definition at line 95 of file GEMDQMEfficiencySourceBase.h.
References GEMDetId::region().
Referenced by GEMEfficiencyAnalyzer::analyze(), and GEMEfficiencyAnalyzer::bookHistograms().
|
inline |
Definition at line 82 of file GEMDQMEfficiencySourceBase.h.
References HLT_2022v14_cff::region, and relativeConstraints::station.
Referenced by GEMEfficiencyAnalyzer::analyze(), GEMEfficiencyAnalyzer::bookHistograms(), and getReStKey().
Definition at line 87 of file GEMDQMEfficiencySourceBase.h.
References getReStKey(), HLT_2022v14_cff::region, and relativeConstraints::station.
Definition at line 99 of file GEMDQMEfficiencySourceBase.h.
References GEMDetId::region().
Definition at line 91 of file GEMDQMEfficiencySourceBase.h.
References GEMDetId::region().
Referenced by GEMEfficiencyAnalyzer::analyze(), GEMEffByGEMCSCSegmentSource::bookHistograms(), and GEMEfficiencyAnalyzer::bookHistograms().
Definition at line 273 of file GEMDQMEfficiencySourceBase.cc.
References crabWrapper::key, kLogCategory_, AlCaHLTBitMon_QueryRunRegistry::string, and UNLIKELY.
Referenced by fillME(), and fillMEWithinLimits().
bool GEMDQMEfficiencySourceBase::maskChamberWithError | ( | const GEMDetId & | chamber_id, |
const GEMOHStatusCollection * | oh_status_collection, | ||
const GEMVFATStatusCollection * | vfat_status_collection | ||
) |
Definition at line 238 of file GEMDQMEfficiencySourceBase.cc.
References MuonDigiCollection< IndexType, DigiType >::begin(), GEMDetId::chamberId(), MuonDigiCollection< IndexType, DigiType >::end(), gpuClustering::pixelStatus::mask, and FastTimerService_cff::range.
Referenced by GEMEfficiencyAnalyzer::analyze(), and GEMEffByGEMCSCSegmentSource::analyzeGE11ME11Segment().
std::string GEMDQMEfficiencySourceBase::nameNumerator | ( | const std::string & | denominator | ) |
Definition at line 19 of file GEMDQMEfficiencySourceBase.cc.
References makeHLTPrescaleTable::delimiter, bTagMiniDQMDeepCSV::denominator, kLogCategory_, bTagMiniDQMDeepCSV::numerator, AlCaHLTBitMon_QueryRunRegistry::string, and summarizeEdmComparisonLogfiles::success.
Referenced by bookNumerator1D(), and bookNumerator2D().
bool GEMDQMEfficiencySourceBase::skipGEMStation | ( | const int | station | ) |
Definition at line 218 of file GEMDQMEfficiencySourceBase.cc.
References kLogCategory_, kMonitorGE0_, kMonitorGE11_, kMonitorGE21_, optionsL1T::skip, and relativeConstraints::station.
Referenced by GEMEffByGEMCSCSegmentSource::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), and GEMEfficiencyAnalyzer::buildGEMLayers().
const edm::EDGetTokenT<GEMOHStatusCollection> GEMDQMEfficiencySourceBase::kGEMOHStatusCollectionToken_ |
Definition at line 60 of file GEMDQMEfficiencySourceBase.h.
Referenced by GEMEffByGEMCSCSegmentSource::analyze(), and GEMEfficiencyAnalyzer::analyze().
const edm::EDGetTokenT<GEMVFATStatusCollection> GEMDQMEfficiencySourceBase::kGEMVFATStatusCollectionToken_ |
Definition at line 61 of file GEMDQMEfficiencySourceBase.h.
Referenced by GEMEffByGEMCSCSegmentSource::analyze(), and GEMEfficiencyAnalyzer::analyze().
const std::string GEMDQMEfficiencySourceBase::kLogCategory_ |
Definition at line 67 of file GEMDQMEfficiencySourceBase.h.
Referenced by GEMEffByGEMCSCSegmentSource::analyze(), GEMEfficiencyAnalyzer::analyze(), GEMEffByGEMCSCSegmentSource::analyzeGE11ME11Segment(), bookChamber(), bookChamberEtaPartition(), GEMEffByGEMCSCSegmentSource::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), bookNumerator1D(), bookNumerator2D(), GEMEfficiencyAnalyzer::buildGEMLayers(), GEMEfficiencyAnalyzer::buildStartingState(), GEMEffByGEMCSCSegmentSource::checkCoincidenceGE11(), GEMEfficiencyAnalyzer::computeMatchingMetric(), GEMEfficiencyAnalyzer::dqmBeginRun(), fillMEWithinLimits(), GEMEfficiencyAnalyzer::findCSCSegmentBeam(), GEMEfficiencyAnalyzer::findCSCSegmentCosmics(), getChamberRange(), getEtaPartitionRange(), GEMEfficiencyAnalyzer::getMatchingMetric(), GEMEfficiencyAnalyzer::getMuonTrackType(), GEMEfficiencyAnalyzer::getScenarioOption(), GEMEfficiencyAnalyzer::getStartingStateType(), hasMEKey(), GEMEfficiencyAnalyzer::isCSCAllowed(), GEMEfficiencyAnalyzer::isMuonSubdetAllowed(), nameNumerator(), and skipGEMStation().
const bool GEMDQMEfficiencySourceBase::kMaskChamberWithError_ |
Definition at line 66 of file GEMDQMEfficiencySourceBase.h.
Referenced by GEMEffByGEMCSCSegmentSource::analyze(), GEMEfficiencyAnalyzer::analyze(), and GEMEffByGEMCSCSegmentSource::analyzeGE11ME11Segment().
const bool GEMDQMEfficiencySourceBase::kMonitorGE0_ |
Definition at line 65 of file GEMDQMEfficiencySourceBase.h.
Referenced by skipGEMStation().
const bool GEMDQMEfficiencySourceBase::kMonitorGE11_ |
Definition at line 63 of file GEMDQMEfficiencySourceBase.h.
Referenced by skipGEMStation().
const bool GEMDQMEfficiencySourceBase::kMonitorGE21_ |
Definition at line 64 of file GEMDQMEfficiencySourceBase.h.
Referenced by skipGEMStation().