1 #ifndef HLTriggerOffline_Muon_HLTMuonPlotter_H
2 #define HLTriggerOffline_Muon_HLTMuonPlotter_H
48 #include "boost/tuple/tuple.hpp"
54 const unsigned int kNull = (
unsigned int) -1;
62 const std::vector<std::string>&,
63 const std::vector<std::string>&,
83 std::vector<const reco::RecoChargedCandidate *>
candHlt;
107 const std::vector<MatchStruct>&,
110 std::vector<MatchStruct> &,
111 const std::vector<l1extra::L1MuonParticleRef>&,
112 const std::vector< std::vector< const reco::RecoChargedCandidate *> >&
MatchStruct(const reco::Candidate *cand)
bool operator>(MatchStruct match)
unsigned int cutMotherId_
std::vector< double > parametersEta_
bool operator<(MatchStruct match)
L1MuonMatcherAlgo l1Matcher_
std::vector< std::string > moduleLabels_
void beginRun(const edm::Run &, const edm::EventSetup &)
static boost::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection > > getTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
virtual float pt() const =0
transverse momentum
StringCutObjectSelector< reco::Muon > * recMuonSelector_
std::vector< double > cutsDr_
void bookHist(std::string, std::string, std::string, std::string)
const l1extra::L1MuonParticle * candL1
std::vector< const reco::RecoChargedCandidate * > candHlt
edm::EDGetTokenT< reco::MuonCollection > recMuonLabel_
void analyzePath(const edm::Event &, const std::string &, const std::string &, const std::vector< MatchStruct > &, edm::Handle< trigger::TriggerEventWithRefs >)
void analyze(const edm::Event &, const edm::EventSetup &)
StringCutObjectSelector< reco::GenParticle > * genMuonSelector_
const reco::Candidate * candBase
std::vector< std::string > stepLabels_
void findMatches(std::vector< MatchStruct > &, const std::vector< l1extra::L1MuonParticleRef > &, const std::vector< std::vector< const reco::RecoChargedCandidate * > > &)
bool operator()(MatchStruct a, MatchStruct b)
std::vector< double > parametersPhi_
Matcher of reconstructed objects to L1 Muons.
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
std::map< std::string, MonitorElement * > elements_
std::string hltProcessName_
edm::EDGetTokenT< reco::GenParticleCollection > genParticleLabel_
HLTMuonPlotter(const edm::ParameterSet &, std::string, const std::vector< std::string > &, const std::vector< std::string > &, const boost::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection > > &)
edm::EDGetTokenT< trigger::TriggerEventWithRefs > hltTriggerSummaryRAW_
std::vector< double > parametersTurnOn_