CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HLTMuonPlotter::MatchStruct Struct Reference

Public Member Functions

 MatchStruct ()
 
 MatchStruct (const reco::Candidate *cand)
 
bool operator< (MatchStruct match)
 
bool operator> (MatchStruct match)
 

Public Attributes

const reco::CandidatecandBase
 
std::vector< const reco::RecoChargedCandidate * > candHlt
 
const l1t::MuoncandL1
 

Detailed Description

Definition at line 80 of file HLTMuonPlotter.h.

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 84 of file HLTMuonPlotter.h.

84  {
85  candBase = nullptr;
86  candL1 = nullptr;
87  }
const reco::Candidate * candBase
const l1t::Muon * candL1
HLTMuonPlotter::MatchStruct::MatchStruct ( const reco::Candidate cand)
inline

Definition at line 88 of file HLTMuonPlotter.h.

88  {
89  candBase = cand;
90  candL1 = nullptr;
91  }
const reco::Candidate * candBase
const l1t::Muon * candL1

Member Function Documentation

bool HLTMuonPlotter::MatchStruct::operator< ( MatchStruct  match)
inline

Definition at line 92 of file HLTMuonPlotter.h.

References candBase, and reco::Candidate::pt().

92 { return candBase->pt() < match.candBase->pt(); }
const reco::Candidate * candBase
virtual double pt() const =0
transverse momentum
bool HLTMuonPlotter::MatchStruct::operator> ( MatchStruct  match)
inline

Definition at line 93 of file HLTMuonPlotter.h.

References candBase, and reco::Candidate::pt().

93 { return candBase->pt() > match.candBase->pt(); }
const reco::Candidate * candBase
virtual double pt() const =0
transverse momentum

Member Data Documentation

const reco::Candidate* HLTMuonPlotter::MatchStruct::candBase
std::vector<const reco::RecoChargedCandidate *> HLTMuonPlotter::MatchStruct::candHlt

Definition at line 83 of file HLTMuonPlotter.h.

const l1t::Muon* HLTMuonPlotter::MatchStruct::candL1

Definition at line 82 of file HLTMuonPlotter.h.