1 #ifndef DQMOFFLINE_L1TRIGGER_L1TPHASE2MUONOFFLINE_H 2 #define DQMOFFLINE_L1TRIGGER_L1TPHASE2MUONOFFLINE_H 124 std::vector<std::pair<int, QualLevel>>
cuts_;
const std::vector< double > effVsPtBins_
edm::EDGetTokenT< l1t::SAMuonCollection > gmtMuonToken_
std::vector< GenMuonGMTPair > gmtSAMuonPairs_
std::map< MuType, std::string > muonNames_
const std::vector< EtaRegion > etaRegions_
edm::Handle< l1t::SAMuonCollection > gmtSAMuon_
double pt() const final
transverse momentum
~L1TPhase2MuonOffline() override=default
void matchMuonsToGen(std::vector< const reco::GenParticle *> genmus)
const std::vector< MuType > muonTypes_
const l1t::L1Candidate * gmtmu_
MonitorElement * efficiencyDen_[kNMuTypes][kNEtaRegions][kNQualLevels][kEffTypes]
const std::vector< QualLevel > qualLevels_
std::map< ResType, std::string > resNames_
std::tuple< int, double, double > getHistBinsRes(ResType res)
std::vector< std::pair< int, QualLevel > > cuts_
std::map< ResType, std::string > resLabels_
const std::vector< edm::ParameterSet > cutsVPSet_
const std::vector< double > effVsEtaBins_
void fillEfficiencyHistos()
MonitorElement * controlHistos_[kNMuTypes][kNVarTypes]
const reco::GenParticle * mu_
void getMuonGmtPairs(edm::Handle< l1t::MuonBxCollection > &gmtCands)
edm::Handle< std::vector< reco::GenParticle > > genparticles_
L1TPhase2MuonOffline(const edm::ParameterSet &ps)
std::map< EtaRegion, std::string > etaNames_
void bookControlHistos(DQMStore::IBooker &, MuType type)
MonitorElement * efficiencyNum_[kNMuTypes][kNEtaRegions][kNQualLevels][kEffTypes]
std::vector< float > getHistBinsEff(EffType eff)
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &iSetup) override
double getVar(const L1TPhase2MuonOffline::EffType) const
const std::vector< ResType > resTypes_
const std::string histFolder_
void bookResolutionHistos(DQMStore::IBooker &ibooker, MuType type)
MonitorElement * resolutionHistos_[kNMuTypes][kNEtaRegions][kNQualLevels][kNResTypes]
double getDeltaVar(const L1TPhase2MuonOffline::ResType) const
const std::vector< double > effVsPhiBins_
const std::vector< EffType > effTypes_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
std::map< QualLevel, std::string > qualNames_
GenMuonGMTPair(const reco::GenParticle *mu, const l1t::L1Candidate *gmtmu)
L1TPhase2MuonOffline::EtaRegion etaRegion() const
const double maxGmtMuonDR_
void dqmBeginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
edm::Handle< l1t::TrackerMuonCollection > gmtTkMuon_
edm::EDGetTokenT< std::vector< reco::GenParticle > > genParticleToken_
double phi() const final
momentum azimuthal angle
edm::EDGetTokenT< l1t::TrackerMuonCollection > gmtTkMuonToken_
std::vector< GenMuonGMTPair > gmtTkMuonPairs_
int charge() const final
electric charge
void bookEfficiencyHistos(DQMStore::IBooker &ibooker, MuType type)
void fillResolutionHistos()
double eta() const final
momentum pseudorapidity