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 78 of file HLTMuonPlotter.h.

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 82 of file HLTMuonPlotter.h.

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

Definition at line 86 of file HLTMuonPlotter.h.

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

Member Function Documentation

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

Definition at line 90 of file HLTMuonPlotter.h.

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

90 { 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 91 of file HLTMuonPlotter.h.

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

91 { 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 81 of file HLTMuonPlotter.h.

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

Definition at line 80 of file HLTMuonPlotter.h.