#include <L1TMuonDQMOffline.h>
Public Types | |
enum | Control { kCtrlTagPt, kCtrlTagEta, kCtrlTagPhi, kCtrlProbePt, kCtrlProbeEta, kCtrlProbePhi, kCtrlTagProbeDr, kCtrlMuonGmtDeltaR, kCtrlNTightVsAll, kCtrlNProbesVsTight } |
enum | EffType { kEffPt, kEffPhi, kEffEta, kEffVtx } |
enum | EtaRegion { kEtaRegionAll, kEtaRegionBmtf, kEtaRegionOmtf, kEtaRegionEmtf, kEtaRegionOut } |
enum | QualLevel { kQualAll, kQualOpen, kQualDouble, kQualSingle } |
enum | ResType { kResPt, kRes1OverPt, kResQOverPt, kResPhi, kResEta, kResCh } |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
virtual void | bookControlHistos (DQMStore::IBooker &) |
virtual void | bookEfficiencyHistos (DQMStore::IBooker &ibooker) |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &iSetup) override |
virtual void | bookResolutionHistos (DQMStore::IBooker &ibooker) |
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
virtual void | dqmEndLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Types | |
typedef std::tuple< EffType, int, EtaRegion > | m_histoKeyEffDenVarType |
typedef std::pair< int, QualLevel > | m_histoKeyEffNumEtaType |
typedef std::tuple< EffType, int, EtaRegion, QualLevel > | m_histoKeyEffNumVarType |
typedef std::tuple< ResType, EtaRegion, QualLevel > | m_histoKeyResType |
Private Member Functions | |
std::vector< float > | getHistBinsEff (EffType eff) |
std::tuple< int, double, double > | getHistBinsRes (ResType res) |
void | getMuonGmtPairs (edm::Handle< l1t::MuonBxCollection > &gmtCands) |
const unsigned int | getNVertices (edm::Handle< reco::VertexCollection > &vertex) |
const reco::Vertex | getPrimaryVertex (edm::Handle< reco::VertexCollection > &vertex, edm::Handle< reco::BeamSpot > &beamSpot) |
void | getProbeMuons (edm::Handle< edm::TriggerResults > &trigResults, edm::Handle< trigger::TriggerEvent > &trigEvent) |
void | getTightMuons (edm::Handle< reco::MuonCollection > &muons, const reco::Vertex &vertex) |
bool | matchHlt (edm::Handle< trigger::TriggerEvent > &triggerEvent, const reco::Muon *mu) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 63 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 108 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 107 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 106 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 105 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kCtrlTagPt | |
kCtrlTagEta | |
kCtrlTagPhi | |
kCtrlProbePt | |
kCtrlProbeEta | |
kCtrlProbePhi | |
kCtrlTagProbeDr | |
kCtrlMuonGmtDeltaR | |
kCtrlNTightVsAll | |
kCtrlNProbesVsTight |
Definition at line 65 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEffPt | |
kEffPhi | |
kEffEta | |
kEffVtx |
Definition at line 66 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEtaRegionAll | |
kEtaRegionBmtf | |
kEtaRegionOmtf | |
kEtaRegionEmtf | |
kEtaRegionOut |
Definition at line 68 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kQualAll | |
kQualOpen | |
kQualDouble | |
kQualSingle |
Definition at line 69 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kResPt | |
kRes1OverPt | |
kResQOverPt | |
kResPhi | |
kResEta | |
kResCh |
Definition at line 67 of file L1TMuonDQMOffline.h.
L1TMuonDQMOffline::L1TMuonDQMOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 148 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, kEffEta, kEffPhi, kEffPt, kEffVtx, kEtaRegionAll, kEtaRegionBmtf, kEtaRegionEmtf, kEtaRegionOmtf, kQualAll, kQualDouble, kQualOpen, kQualSingle, kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, kResQOverPt, m_BsInputTag, m_cuts, m_cutsVPSet, m_effLabelStrings, m_effStrings, m_effVsEtaBins, m_effVsPhiBins, m_effVsPtBins, m_effVsVtxBins, m_etaRegions, m_etaStrings, m_GmtInputTag, m_HistFolder, m_maxGmtMuonDR, m_maxHltMuonDR, m_minTagProbeDR, m_MuonInputTag, m_qualLevelsRes, m_qualStrings, m_recoToL1PtCutFactor, m_resLabelStrings, m_resStrings, m_resTypes, m_TagPtCut, m_trigInputTag, m_trigNames, m_trigProcess, m_trigProcess_token, m_useAtVtxCoord, m_verbose, and m_VtxInputTag.
|
override |
Definition at line 198 of file L1TMuonDQMOffline.cc.
|
overrideprotected |
Definition at line 243 of file L1TMuonDQMOffline.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, edm::EventSetup::get(), edm::Event::getByToken(), getMuonGmtPairs(), getNVertices(), getPrimaryVertex(), getProbeMuons(), getTightMuons(), kEffEta, kEffPt, kEffVtx, kEtaRegionAll, kEtaRegionOut, kQualAll, kResPt, m_BField, m_BsInputTag, m_cuts, m_EfficiencyDenEtaHistos, m_EfficiencyDenPtHistos, m_EfficiencyDenVarHistos, m_EfficiencyNumEtaHistos, m_EfficiencyNumVarHistos, m_effTypes, m_GmtInputTag, m_MuonGmtPairs, m_MuonInputTag, m_propagatorAlong, m_propagatorOpposite, m_qualLevelsRes, m_recoToL1PtCutFactor, m_ResolutionHistos, m_resTypes, m_trigInputTag, m_trigProcess_token, m_verbose, m_VtxInputTag, nano_cff::muons, impactParameterTagInfos_cfi::primaryVertex, and JetChargeProducer_cfi::var.
|
overrideprotected |
Definition at line 233 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and m_verbose.
|
protectedvirtual |
Definition at line 369 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), gather_cfg::cout, kCtrlMuonGmtDeltaR, kCtrlNProbesVsTight, kCtrlNTightVsAll, kCtrlProbeEta, kCtrlProbePhi, kCtrlProbePt, kCtrlTagEta, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_HistFolder, m_verbose, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookHistograms().
|
protectedvirtual |
Definition at line 390 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), TkAlMuonSelectors_cfi::cut, getHistBinsEff(), kEffEta, kEffPt, m_cuts, m_EfficiencyDenEtaHistos, m_EfficiencyDenPtHistos, m_EfficiencyDenVarHistos, m_EfficiencyNumEtaHistos, m_EfficiencyNumVarHistos, m_effLabelStrings, m_effStrings, m_effTypes, m_etaRegions, m_etaStrings, m_HistFolder, m_qualStrings, dataset::name, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and JetChargeProducer_cfi::var.
Referenced by bookHistograms().
|
overrideprotected |
Definition at line 207 of file L1TMuonDQMOffline.cc.
References bookControlHistos(), bookEfficiencyHistos(), bookResolutionHistos(), gather_cfg::cout, createfilelist::int, m_hltConfig, m_trigIndices, m_trigNames, m_verbose, HLTConfigProvider::size(), and HLTConfigProvider::triggerName().
|
protectedvirtual |
Definition at line 432 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), gather_cfg::cout, getHistBinsRes(), m_etaRegions, m_etaStrings, m_HistFolder, m_qualLevelsRes, m_qualStrings, m_resLabelStrings, m_ResolutionHistos, m_resStrings, m_resTypes, m_verbose, dataset::name, pileupCalc::nbins, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, JetChargeProducer_cfi::var, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by bookHistograms().
|
overrideprotected |
Definition at line 200 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, HLTConfigProvider::init(), m_hltConfig, m_trigProcess, and m_verbose.
|
protectedvirtual |
Definition at line 238 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and m_verbose.
|
private |
Definition at line 630 of file L1TMuonDQMOffline.cc.
References kEffEta, kEffPhi, kEffPt, kEffVtx, m_effVsEtaBins, m_effVsPhiBins, m_effVsPtBins, and m_effVsVtxBins.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 650 of file L1TMuonDQMOffline.cc.
References DEFINE_FWK_MODULE, kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, and kResQOverPt.
Referenced by bookResolutionHistos().
|
private |
Definition at line 567 of file L1TMuonDQMOffline.cc.
References BXVector< T >::begin(), gather_cfg::cout, MuonGmtPair::dR(), BXVector< T >::end(), kCtrlMuonGmtDeltaR, kCtrlProbeEta, kCtrlProbePhi, kCtrlProbePt, m_ControlHistos, m_maxGmtMuonDR, m_MuonGmtPairs, m_ProbeMuons, m_useAtVtxCoord, and m_verbose.
Referenced by analyze().
|
private |
Definition at line 451 of file L1TMuonDQMOffline.cc.
References edm::HandleBase::isValid().
Referenced by analyze().
|
private |
Definition at line 465 of file L1TMuonDQMOffline.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::HandleBase::isValid(), reco::BeamSpot::position(), impactParameterTagInfos_cfi::primaryVertex, and reco::BeamSpot::sigmaZ().
Referenced by analyze().
|
private |
Definition at line 513 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, SoftLeptonByDistance_cfi::distance, PVValHelper::eta, kCtrlNProbesVsTight, kCtrlTagEta, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_minTagProbeDR, m_ProbeMuons, m_TagPtCut, m_TightMuons, m_verbose, matchHlt(), phi, EnergyCorrector::pt, and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 497 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, muon::isTightMuon(), kCtrlNTightVsAll, m_ControlHistos, m_TightMuons, and m_verbose.
Referenced by analyze().
|
private |
Definition at line 602 of file L1TMuonDQMOffline.cc.
References deltaR(), trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), m_hltConfig, m_maxHltMuonDR, m_trigIndices, m_trigProcess, HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), and TriggerAnalyzer::trigObjs.
Referenced by getProbeMuons().
|
private |
Definition at line 97 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 154 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 117 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), getMuonGmtPairs(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 129 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 150 of file L1TMuonDQMOffline.h.
Referenced by L1TMuonDQMOffline().
|
private |
Definition at line 115 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 114 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 113 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 112 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 111 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 139 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 138 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 132 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 162 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 161 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 160 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 163 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 134 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 142 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 152 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 147 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 95 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 127 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 125 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 168 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and L1TMuonDQMOffline().
|
private |
Definition at line 170 of file L1TMuonDQMOffline.h.
Referenced by L1TMuonDQMOffline(), and matchHlt().
|
private |
Definition at line 169 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 122 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and getMuonGmtPairs().
|
private |
Definition at line 151 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 121 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and getProbeMuons().
|
private |
Definition at line 98 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 99 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 135 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 143 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 124 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 126 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 149 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 141 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 116 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 140 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 133 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 148 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 120 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and getTightMuons().
|
private |
Definition at line 165 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 155 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 159 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), and L1TMuonDQMOffline().
|
private |
Definition at line 156 of file L1TMuonDQMOffline.h.
Referenced by dqmBeginRun(), L1TMuonDQMOffline(), and matchHlt().
|
private |
Definition at line 157 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 167 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and L1TMuonDQMOffline().
|
private |
Definition at line 146 of file L1TMuonDQMOffline.h.
Referenced by analyze(), beginLuminosityBlock(), bookControlHistos(), bookHistograms(), bookResolutionHistos(), dqmBeginRun(), dqmEndLuminosityBlock(), getMuonGmtPairs(), getProbeMuons(), getTightMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 153 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().