#include <GEMEfficiencyAnalyzer.h>
Public Member Functions | |
GEMEfficiencyAnalyzer (const edm::ParameterSet &) | |
~GEMEfficiencyAnalyzer () override | |
Public Member Functions inherited from GEMOfflineDQMBase | |
template<typename T > | |
bool | checkRefs (const std::vector< T * > &) |
template<typename AnyKey > | |
TString | convertKeyToStr (const AnyKey &key) |
template<typename AnyKey > | |
void | fillME (std::map< AnyKey, MonitorElement * > &, const AnyKey &, const float) |
template<typename AnyKey > | |
void | fillME (std::map< AnyKey, MonitorElement * > &, const AnyKey &, const float, const float y) |
GEMOfflineDQMBase (const edm::ParameterSet &) | |
int | getDetOccXBin (const GEMDetId &, const edm::ESHandle< GEMGeometry > &) |
int | getDetOccXBin (const int, const int, const int) |
int | getMaxVFAT (const int) |
int | getNumEtaPartitions (const GEMStation *) |
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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 |
Private Member Functions | |
void | bookDetectorOccupancy (DQMStore::IBooker &, const GEMStation *, const MEMapKey1 &, const TString &, const TString &) |
void | bookOccupancy (DQMStore::IBooker &, const MEMapKey2 &, const TString &, const TString &) |
void | bookResolution (DQMStore::IBooker &, const MEMapKey3 &, const TString &, const TString &) |
const GEMRecHit * | findMatchedHit (const float, const GEMRecHitCollection::range &) |
Private Attributes | |
double | eta_low_ |
int | eta_nbins_ |
double | eta_up_ |
std::string | folder_ |
TString | matched_title_ |
MEMap1 | me_detector_ |
MEMap1 | me_detector_matched_ |
MEMap2 | me_muon_eta_ |
MEMap2 | me_muon_eta_matched_ |
MEMap2 | me_muon_pt_ |
MEMap2 | me_muon_pt_matched_ |
MEMap3 | me_pull_x_ |
MEMap3 | me_pull_y_ |
MEMap3 | me_residual_phi_ |
MEMap3 | me_residual_x_ |
MEMap3 | me_residual_y_ |
MuonServiceProxy * | muon_service_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | muon_token_ |
std::vector< double > | pt_binning_ |
edm::EDGetTokenT< GEMRecHitCollection > | rechit_token_ |
float | residual_x_cut_ |
TString | title_ |
bool | use_global_muon_ |
Definition at line 13 of file GEMEfficiencyAnalyzer.h.
|
explicit |
Definition at line 8 of file GEMEfficiencyAnalyzer.cc.
References eta_low_, eta_nbins_, eta_up_, folder_, matched_title_, muon_service_, muon_token_, MuonServiceProxy_cff::MuonServiceProxy, muonDTDigis_cfi::pset, pt_binning_, rechit_token_, residual_x_cut_, AlCaHLTBitMon_QueryRunRegistry::string, title_, and use_global_muon_.
|
override |
Definition at line 30 of file GEMEfficiencyAnalyzer.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 146 of file GEMEfficiencyAnalyzer.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), TransientTrackBuilder::build(), GEMDetId::chamber(), chamber_bin(), reco::deltaPhi(), GEMOfflineDQMBase::fillME(), findMatchedHit(), mixOne_premix_on_sim_cfi::gem, get, GEMOfflineDQMBase::getDetOccXBin(), TrajectoryStateOnSurface::globalPosition(), edm::ESHandleBase::isValid(), TrajectoryStateOnSurface::isValid(), edm::HandleBase::isValid(), reco::TransientTrack::isValid(), TrajectoryStateOnSurface::localError(), GEMRecHit::localPosition(), TrajectoryStateOnSurface::localPosition(), GEMRecHit::localPositionError(), GEMOfflineDQMBase::log_category_, me_detector_, me_detector_matched_, me_muon_eta_, me_muon_eta_matched_, me_muon_pt_, me_muon_pt_matched_, me_pull_x_, me_pull_y_, me_residual_phi_, me_residual_x_, me_residual_y_, muon_service_, muon_token_, reco::TransientTrack::outermostMeasurementState(), LocalTrajectoryError::positionError(), TrackCandidateProducer_cfi::propagator, MuonServiceProxy::propagator(), rechit_token_, GEMDetId::region(), GEMDetId::roll(), singleTopDQM_cfi::setup, mathSSE::sqrt(), GEMDetId::station(), HLT_2018_cff::track, MuonServiceProxy::update(), use_global_muon_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
|
private |
Definition at line 87 of file GEMEfficiencyAnalyzer.cc.
References GEMOfflineDQMBase::checkRefs(), folder_, GEMOfflineDQMBase::getNumEtaPartitions(), crabWrapper::key, GEMOfflineDQMBase::log_category_, matched_title_, me_detector_, me_detector_matched_, dqm::implementation::NavigatorBase::setCurrentFolder(), GEMOfflineDQMBase::setDetLabelsEta(), relativeConstraints::station, and title_.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 32 of file GEMEfficiencyAnalyzer.cc.
References bookDetectorOccupancy(), bookOccupancy(), bookResolution(), mixOne_premix_on_sim_cfi::gem, edm::EventSetup::get(), get, GEMOfflineDQMBase::getNumEtaPartitions(), LEDCalibrationChannels::ieta, GEMOfflineDQMBase::log_category_, HLT_2018_cff::region, and relativeConstraints::station.
|
private |
Definition at line 115 of file GEMEfficiencyAnalyzer.cc.
References eta_low_, eta_nbins_, eta_up_, folder_, crabWrapper::key, matched_title_, me_muon_eta_, me_muon_eta_matched_, me_muon_pt_, me_muon_pt_matched_, pt_binning_, dqm::implementation::NavigatorBase::setCurrentFolder(), and title_.
Referenced by bookHistograms().
|
private |
Definition at line 130 of file GEMEfficiencyAnalyzer.cc.
References folder_, crabWrapper::key, me_pull_x_, me_pull_y_, me_residual_phi_, me_residual_x_, me_residual_y_, dqm::implementation::NavigatorBase::setCurrentFolder(), and title_.
Referenced by bookHistograms().
|
private |
Definition at line 267 of file GEMEfficiencyAnalyzer.cc.
References FastTimerService_cff::range, residual_x_cut_, and hit::x.
Referenced by analyze().
|
private |
Definition at line 40 of file GEMEfficiencyAnalyzer.h.
Referenced by bookOccupancy(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 39 of file GEMEfficiencyAnalyzer.h.
Referenced by bookOccupancy(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 41 of file GEMEfficiencyAnalyzer.h.
Referenced by bookOccupancy(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 43 of file GEMEfficiencyAnalyzer.h.
Referenced by bookDetectorOccupancy(), bookOccupancy(), bookResolution(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 46 of file GEMEfficiencyAnalyzer.h.
Referenced by bookDetectorOccupancy(), bookOccupancy(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 48 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookDetectorOccupancy().
|
private |
Definition at line 49 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookDetectorOccupancy().
|
private |
Definition at line 52 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookOccupancy().
|
private |
Definition at line 54 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookOccupancy().
|
private |
Definition at line 51 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookOccupancy().
|
private |
Definition at line 53 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookOccupancy().
|
private |
Definition at line 59 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 60 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 58 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 56 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 57 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and bookResolution().
|
private |
Definition at line 33 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 31 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 38 of file GEMEfficiencyAnalyzer.h.
Referenced by bookOccupancy(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 30 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 36 of file GEMEfficiencyAnalyzer.h.
Referenced by findMatchedHit(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 45 of file GEMEfficiencyAnalyzer.h.
Referenced by bookDetectorOccupancy(), bookOccupancy(), bookResolution(), and GEMEfficiencyAnalyzer().
|
private |
Definition at line 35 of file GEMEfficiencyAnalyzer.h.
Referenced by analyze(), and GEMEfficiencyAnalyzer().