#include <GEMEffByGEMCSCSegmentSource.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
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 &) |
Private Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override |
void | analyzeGE11ME11Segment (const GEMCSCSegment &, const GEMOHStatusCollection *, const GEMVFATStatusCollection *) |
MonitorElement * | bookCSCChamberType (DQMStore::IBooker &, const TString &, const TString &) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | checkCoincidenceGE11 (const GEMRecHit *, const GEMRecHit *, const GEMCSCSegment &) |
void | findMatchedME11Segments (const reco::MuonCollection *) |
bool | isME11SegmentMatched (const CSCSegment &) |
Private Attributes | |
const std::string | kFolder_ |
const edm::EDGetTokenT< GEMCSCSegmentCollection > | kGEMCSCSegmentCollectionToken_ |
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > | kGEMGeometryTokenBeginRun_ |
const int | kMinCSCRecHits_ |
const bool | kModeDev_ |
const edm::EDGetTokenT< reco::MuonCollection > | kMuonCollectionToken_ |
const bool | kUseMuonSegment_ |
std::vector< const CSCSegment * > | matched_me11_segment_vector_ |
MEMap | me_chamber_ |
MEMap | me_chamber_matched_ |
MEMap | me_chamber_muon_segment_ |
MEMap | me_chamber_muon_segment_matched_ |
MEMap | me_csc_chamber_type_ |
MEMap | me_csc_chamber_type_matched_ |
MEMap | me_csc_reduced_chi2_ |
MEMap | me_csc_reduced_chi2_matched_ |
MEMap | me_num_csc_hits_ |
MEMap | me_num_csc_hits_matched_ |
GEMEffByGEMCSCSegmentSource
measures the efficiency of GE11-L1(2) using GE11-L2(1) and ME11 as trigger detectors. See https://github.com/cms-sw/cmssw/blob/CMSSW_12_3_0_pre5/RecoLocalMuon/GEMCSCSegment/plugins/GEMCSCSegAlgoRR.cc
Definition at line 23 of file GEMEffByGEMCSCSegmentSource.h.
|
explicit |
Definition at line 5 of file GEMEffByGEMCSCSegmentSource.cc.
|
override |
Definition at line 16 of file GEMEffByGEMCSCSegmentSource.cc.
|
overrideprivatevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 128 of file GEMEffByGEMCSCSegmentSource.cc.
References analyzeGE11ME11Segment(), GEMCSCSegment::cscDetId(), findMatchedME11Segments(), patZpeak::handle, CSCDetId::isME11(), kGEMCSCSegmentCollectionToken_, GEMDQMEfficiencySourceBase::kGEMOHStatusCollectionToken_, GEMDQMEfficiencySourceBase::kGEMVFATStatusCollectionToken_, GEMDQMEfficiencySourceBase::kLogCategory_, GEMDQMEfficiencySourceBase::kMaskChamberWithError_, kMuonCollectionToken_, kUseMuonSegment_, and LogDebug.
|
private |
Definition at line 199 of file GEMEffByGEMCSCSegmentSource.cc.
References GEMDetId::chamberId(), checkCoincidenceGE11(), GEMCSCSegment::cscDetId(), GEMCSCSegment::gemRecHits(), GEMDetId::isGE11(), GEMDQMEfficiencySourceBase::kLogCategory_, GEMDQMEfficiencySourceBase::kMaskChamberWithError_, nano_mu_digi_cff::layer, GEMDetId::layer(), and GEMDQMEfficiencySourceBase::maskChamberWithError().
Referenced by analyze().
|
private |
Definition at line 116 of file GEMEffByGEMCSCSegmentSource.cc.
References dqm::implementation::IBooker::book1D(), CSCDetId::chamberName(), label, Skims_PA_cff::name, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 41 of file GEMEffByGEMCSCSegmentSource.cc.
References dqm::implementation::IBooker::book1D(), GEMDQMEfficiencySourceBase::bookChamber(), bookCSCChamberType(), GEMDQMEfficiencySourceBase::bookNumerator1D(), relativeConstraints::chamber, GEMDQMEfficiencySourceBase::checkRefs(), mixOne_premix_on_sim_cfi::gem, GEMDQMEfficiencySourceBase::getReStLaKey(), GEMUtils::getSuffixName(), GEMUtils::getSuffixTitle(), patZpeak::handle, submitPVResolutionJobs::key, kFolder_, kGEMGeometryTokenBeginRun_, GEMDQMEfficiencySourceBase::kLogCategory_, kModeDev_, kUseMuonSegment_, me_chamber_, me_chamber_matched_, me_chamber_muon_segment_, me_chamber_muon_segment_matched_, me_csc_chamber_type_, me_csc_chamber_type_matched_, me_csc_reduced_chi2_, me_csc_reduced_chi2_matched_, me_num_csc_hits_, me_num_csc_hits_matched_, dqm::implementation::NavigatorBase::setCurrentFolder(), singleTopDQM_cfi::setup, GEMDQMEfficiencySourceBase::skipGEMStation(), relativeConstraints::station, makePlotsFromDump::suffix, and runGCPTkAlMap::title.
|
private |
Definition at line 241 of file GEMEffByGEMCSCSegmentSource.cc.
References relativeConstraints::chamber, GEMDetId::chamber(), GEMCSCSegment::chi2(), GEMCSCSegment::cscDetId(), GEMCSCSegment::cscRecHits(), GEMCSCSegment::cscSegment(), GEMCSCSegment::degreesOfFreedom(), GEMDQMEfficiencySourceBase::fillME(), GEMDQMEfficiencySourceBase::fillMEWithinLimits(), GEMRecHit::gemId(), CSCDetId::iChamberType(), isME11SegmentMatched(), submitPVResolutionJobs::key, GEMDQMEfficiencySourceBase::kLogCategory_, kMinCSCRecHits_, kModeDev_, kUseMuonSegment_, GEMDetId::layer(), LogDebug, me_chamber_, me_chamber_matched_, me_chamber_muon_segment_, me_chamber_muon_segment_matched_, me_csc_chamber_type_, me_csc_chamber_type_matched_, me_csc_reduced_chi2_, me_csc_reduced_chi2_matched_, me_num_csc_hits_, me_num_csc_hits_matched_, GEMDetId::region(), and GEMDetId::station().
Referenced by analyzeGE11ME11Segment().
|
static |
Definition at line 18 of file GEMEffByGEMCSCSegmentSource.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 296 of file GEMEffByGEMCSCSegmentSource.cc.
References reco::MuonSegmentMatch::BestInStationByDR, MuonSubdetId::CSC, reco::MuonSegmentMatch::cscSegmentRef, edm::Ref< C, T, F >::get(), heavyIonCSV_trainingSettings::idx, reco::MuonSegmentMatch::isMask(), and matched_me11_segment_vector_.
Referenced by analyze().
|
private |
Definition at line 328 of file GEMEffByGEMCSCSegmentSource.cc.
References CSCSegment::cscDetId(), newFWLiteAna::found, CSCDetId::isME11(), CSCSegment::localPosition(), matched_me11_segment_vector_, CSCSegment::time(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkCoincidenceGE11().
|
private |
Definition at line 51 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms().
|
private |
Definition at line 46 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by analyze().
|
private |
Definition at line 45 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms().
|
private |
Definition at line 48 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by checkCoincidenceGE11().
|
private |
Definition at line 49 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 47 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by analyze().
|
private |
Definition at line 50 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by analyze(), bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 56 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by findMatchedME11Segments(), and isME11SegmentMatched().
|
private |
Definition at line 59 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 60 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 69 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 70 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 66 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 67 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 64 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 65 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 62 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().
|
private |
Definition at line 63 of file GEMEffByGEMCSCSegmentSource.h.
Referenced by bookHistograms(), and checkCoincidenceGE11().