#include <GEMEfficiencyAnalyzer.h>
Classes | |
struct | GEMLayerData |
Public Member Functions | |
GEMEfficiencyAnalyzer (const edm::ParameterSet &) | |
~GEMEfficiencyAnalyzer () override | |
Public Member Functions inherited from GEMOfflineDQMBase | |
template<typename T > | |
bool | checkRefs (const std::vector< T * > &) |
void | fillME (MEMap &me_map, const GEMDetId &key, const float x) |
void | fillME (MEMap &me_map, const GEMDetId &key, const float x, const float y) |
GEMOfflineDQMBase (const edm::ParameterSet &) | |
int | getDetOccXBin (const GEMDetId &, const edm::ESHandle< GEMGeometry > &) |
int | getDetOccXBin (const int, const int, const int) |
GEMDetId | getKey (const GEMDetId &) |
int | getMaxVFAT (const int) |
int | getNumEtaPartitions (const GEMStation *) |
GEMDetId | getReStEtKey (const GEMDetId &) |
GEMDetId | getReStKey (const GEMDetId &) |
GEMDetId | getReStKey (const int, const int) |
GEMDetId | getReStLaChKey (const GEMDetId &) |
GEMDetId | getReStLaKey (const GEMDetId &) |
TString | getSuffixName (Int_t) |
TString | getSuffixName (Int_t, Int_t) |
TString | getSuffixName (Int_t, Int_t, Int_t) |
TString | getSuffixName (Int_t, Int_t, Int_t, Int_t) |
TString | getSuffixTitle (Int_t) |
TString | getSuffixTitle (Int_t, Int_t) |
TString | getSuffixTitle (Int_t, Int_t, Int_t) |
TString | getSuffixTitle (Int_t, Int_t, Int_t, Int_t) |
int | getVFATNumber (const int, const int, const int) |
int | getVFATNumberByStrip (const int, const int, const int) |
void | setDetLabelsEta (MonitorElement *, const GEMStation *) |
void | setDetLabelsVFAT (MonitorElement *, const GEMStation *) |
Public Member Functions inherited from DQMEDAnalyzer | |
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
void | beginStream (edm::StreamID id) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer () | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
virtual bool | getCanSaveByLumi () |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 &) |
Protected Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
DQM monitoring source for GEM efficiency and resolution based on https://github.com/CPLUOS/MuonPerformance/blob/master/MuonAnalyser/plugins/SliceTestEfficiencyAnalysis.cc
DQM monitoring client for GEM efficiency and resolution based on Validation/MuonGEMHits/MuonGEMBaseHarvestor
Definition at line 22 of file GEMEfficiencyAnalyzer.h.
|
explicit |
Definition at line 14 of file GEMEfficiencyAnalyzer.cc.
References geometryDiff::epsilon, eta_clamp_max_, eta_low_, eta_nbins_, eta_up_, folder_, is_cosmics_, muon_service_, muon_token_, MuonServiceProxy_cff::MuonServiceProxy, name_, prop_phi_error_cut_, prop_r_error_cut_, muonDTDigis_cfi::pset, pt_bins_, pt_clamp_max_, rechit_token_, residual_rphi_cut_, AlCaHLTBitMon_QueryRunRegistry::string, use_global_muon_, use_only_me11_, use_prop_phi_error_cut_, use_prop_r_error_cut_, and use_skip_layer_.
|
override |
Definition at line 44 of file GEMEfficiencyAnalyzer.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 306 of file GEMEfficiencyAnalyzer.cc.
References funct::abs(), TransientTrackBuilder::build(), buildGEMLayers(), GEMDetId::chamber(), chamber_bin(), checkBounds(), eta_clamp_max_, eta_low_, f, dqm::impl::MonitorElement::Fill(), GEMOfflineDQMBase::fillME(), findClosetHit(), findEtaPartition(), mixOne_premix_on_sim_cfi::gem, get, GEMOfflineDQMBase::getDetOccXBin(), GEMOfflineDQMBase::getReStEtKey(), GEMOfflineDQMBase::getReStKey(), GEMOfflineDQMBase::getReStLaKey(), getStartingState(), getTrack(), TrajectoryStateOnSurface::globalPosition(), GEMEtaPartition::id(), LEDCalibrationChannels::ieta, isME11(), edm::ESHandleBase::isValid(), TrajectoryStateOnSurface::isValid(), edm::HandleBase::isValid(), reco::TransientTrack::isValid(), kLogCategory_, TrajectoryStateOnSurface::localError(), M_PI, me_all_abs_residual_rphi_, me_chamber_, me_chamber_matched_, me_detector_, me_detector_matched_, me_muon_eta_, me_muon_eta_matched_, me_muon_phi_, me_muon_phi_matched_, me_muon_pt_, me_muon_pt_matched_, me_prop_chamber_, me_prop_phi_err_, me_prop_r_err_, me_pull_y_, me_residual_rphi_, me_residual_y_, min(), muon_service_, muon_token_, GlobalErrorBase< T, ErrorWeightType >::phierr(), LocalTrajectoryError::positionError(), prop_phi_error_cut_, prop_r_error_cut_, TrackCandidateProducer_cfi::propagator, MuonServiceProxy::propagator(), pt_clamp_max_, rechit_token_, GlobalErrorBase< T, ErrorWeightType >::rerr(), residual_rphi_cut_, singleTopDQM_cfi::setup, skipLayer(), mathSSE::sqrt(), GeomDet::surface(), GeomDet::toLocal(), HLT_FULL_cff::track, ErrorFrameTransformer::transform(), MuonServiceProxy::update(), use_only_me11_, use_prop_phi_error_cut_, use_prop_r_error_cut_, use_skip_layer_, PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
|
private |
Definition at line 169 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), bookNumerator1D(), relativeConstraints::chamber, chambers, GEMOfflineDQMBase::checkRefs(), folder_, GEMOfflineDQMBase::getReStLaKey(), GEMOfflineDQMBase::getSuffixName(), GEMOfflineDQMBase::getSuffixTitle(), crabWrapper::key, kLogCategory_, me_chamber_, me_chamber_matched_, name_, dqm::implementation::NavigatorBase::setCurrentFolder(), and relativeConstraints::station.
Referenced by bookHistograms().
|
private |
Definition at line 204 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book2D(), bookNumerator2D(), GEMOfflineDQMBase::checkRefs(), folder_, GEMOfflineDQMBase::getNumEtaPartitions(), GEMOfflineDQMBase::getReStKey(), GEMOfflineDQMBase::getSuffixName(), GEMOfflineDQMBase::getSuffixTitle(), crabWrapper::key, kLogCategory_, me_detector_, me_detector_matched_, name_, dqm::implementation::NavigatorBase::setCurrentFolder(), GEMOfflineDQMBase::setDetLabelsEta(), and relativeConstraints::station.
Referenced by bookHistograms().
|
private |
Definition at line 134 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), bookNumerator1D(), eta_low_, eta_nbins_, eta_up_, folder_, GEMOfflineDQMBase::getReStKey(), GEMOfflineDQMBase::getSuffixName(), GEMOfflineDQMBase::getSuffixTitle(), crabWrapper::key, M_PI, me_muon_eta_, me_muon_eta_matched_, me_muon_phi_, me_muon_phi_matched_, me_muon_pt_, me_muon_pt_matched_, name_, pt_bins_, dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 105 of file GEMEfficiencyAnalyzer.cc.
References bookEfficiencyChamber(), bookEfficiencyEtaPartition(), bookEfficiencyMomentum(), bookMisc(), bookResolution(), mixOne_premix_on_sim_cfi::gem, edm::EventSetup::get(), get, and kLogCategory_.
|
private |
Definition at line 279 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), GEMOfflineDQMBase::checkRefs(), folder_, GEMOfflineDQMBase::getReStKey(), GEMOfflineDQMBase::getSuffixName(), GEMOfflineDQMBase::getSuffixTitle(), crabWrapper::key, kLogCategory_, M_PI, me_all_abs_residual_rphi_, me_prop_chamber_, me_prop_phi_err_, me_prop_r_err_, dqm::implementation::NavigatorBase::setCurrentFolder(), and relativeConstraints::station.
Referenced by bookHistograms().
|
private |
Definition at line 122 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), compare::hist, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookEfficiencyChamber(), and bookEfficiencyMomentum().
|
private |
Definition at line 128 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book2D(), compare::hist, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookEfficiencyEtaPartition().
|
private |
Definition at line 239 of file GEMEfficiencyAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), chambers, GEMOfflineDQMBase::checkRefs(), folder_, GEMOfflineDQMBase::getReStEtKey(), LEDCalibrationChannels::ieta, crabWrapper::key, kLogCategory_, me_pull_y_, me_residual_rphi_, me_residual_y_, name_, residual_rphi_cut_, dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
private |
Definition at line 486 of file GEMEfficiencyAnalyzer.cc.
References Disk::build(), relativeConstraints::chamber, f, SiStripPI::max, min(), position, idealTransformation::rotation, relativeConstraints::station, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by analyze().
|
private |
Definition at line 655 of file GEMEfficiencyAnalyzer.cc.
References Surface::bounds(), Bounds::inside(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze(), and findEtaPartition().
|
static |
Definition at line 46 of file GEMEfficiencyAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, edm::ParameterSetDescription::setAllowAnything(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 679 of file GEMEfficiencyAnalyzer.cc.
References funct::abs(), funct::cos(), FastTimerService_cff::range, funct::sin(), GEMEtaPartition::specificTopology(), GEMEtaPartition::strip(), GeomDet::toLocal(), ecaldqm::topology(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 661 of file GEMEfficiencyAnalyzer.cc.
References relativeConstraints::chamber, and checkBounds().
Referenced by analyze().
|
private |
Definition at line 592 of file GEMEfficiencyAnalyzer.cc.
References funct::abs(), HLT_FULL_cff::distance, newFWLiteAna::found, MuonHitHelper::isGEM(), DetId::rawId(), reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), reco::TransientTrack::stateOnSurface(), GEMEfficiencyAnalyzer::GEMLayerData::surface, and GeomDet::toGlobal().
Referenced by getStartingState().
|
private |
Definition at line 561 of file GEMEfficiencyAnalyzer.cc.
References findStartingState(), reco::TransientTrack::innermostMeasurementState(), MuonHitHelper::isGEM(), isInsideOut(), reco::TransientTrack::outermostMeasurementState(), reco::TransientTrack::track(), HLT_FULL_cff::track, and use_global_muon_.
Referenced by analyze().
|
private |
Definition at line 542 of file GEMEfficiencyAnalyzer.cc.
References is_cosmics_, HLT_FULL_cff::track, and use_global_muon_.
Referenced by analyze().
|
inlineprivate |
Definition at line 121 of file GEMEfficiencyAnalyzer.h.
References HLT_FULL_cff::track.
Referenced by getStartingState(), and skipLayer().
|
private |
Definition at line 627 of file GEMEfficiencyAnalyzer.cc.
References MuonHitHelper::isCSC(), and or.
Referenced by analyze().
|
private |
Definition at line 634 of file GEMEfficiencyAnalyzer.cc.
References is_cosmics_, isInsideOut(), GEMEfficiencyAnalyzer::GEMLayerData::region, optionsL1T::skip, std::swap(), and HLT_FULL_cff::track.
Referenced by analyze().
|
private |
Definition at line 93 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 87 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), bookEfficiencyMomentum(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 86 of file GEMEfficiencyAnalyzer.h.
Referenced by bookEfficiencyMomentum(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 88 of file GEMEfficiencyAnalyzer.h.
Referenced by bookEfficiencyMomentum(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 73 of file GEMEfficiencyAnalyzer.h.
Referenced by bookEfficiencyChamber(), bookEfficiencyEtaPartition(), bookEfficiencyMomentum(), bookMisc(), bookResolution(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 76 of file GEMEfficiencyAnalyzer.h.
Referenced by GEMEfficiencyAnalyzer(), getTrack(), and skipLayer().
|
private |
Definition at line 118 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), bookEfficiencyChamber(), bookEfficiencyEtaPartition(), bookHistograms(), bookMisc(), and bookResolution().
|
private |
Definition at line 114 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookMisc().
|
private |
Definition at line 103 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyChamber().
|
private |
Definition at line 104 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyChamber().
|
private |
Definition at line 105 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyEtaPartition().
|
private |
Definition at line 106 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyEtaPartition().
|
private |
Definition at line 99 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 100 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 101 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 102 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 97 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 98 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookEfficiencyMomentum().
|
private |
Definition at line 115 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookMisc().
|
private |
Definition at line 113 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookMisc().
|
private |
Definition at line 112 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookMisc().
|
private |
Definition at line 110 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 108 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 109 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 91 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 75 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 72 of file GEMEfficiencyAnalyzer.h.
Referenced by bookEfficiencyChamber(), bookEfficiencyEtaPartition(), bookEfficiencyMomentum(), bookResolution(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 84 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 82 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 85 of file GEMEfficiencyAnalyzer.h.
Referenced by bookEfficiencyMomentum(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 92 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 74 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 80 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), bookResolution(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 77 of file GEMEfficiencyAnalyzer.h.
Referenced by GEMEfficiencyAnalyzer(), getStartingState(), and getTrack().
|
private |
Definition at line 79 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 83 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 81 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 78 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().