CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 87 of file HLTMuonPlotter.h.

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 91 of file HLTMuonPlotter.h.

References candBase, and candL1.

91  {
92  candBase = nullptr;
93  candL1 = nullptr;
94  }
const reco::Candidate * candBase
const l1t::Muon * candL1
HLTMuonPlotter::MatchStruct::MatchStruct ( const reco::Candidate cand)
inline

Definition at line 95 of file HLTMuonPlotter.h.

References candBase, and candL1.

95  {
96  candBase = cand;
97  candL1 = nullptr;
98  }
const reco::Candidate * candBase
const l1t::Muon * candL1

Member Function Documentation

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

Definition at line 99 of file HLTMuonPlotter.h.

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

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

Definition at line 100 of file HLTMuonPlotter.h.

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

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

Member Data Documentation

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

Definition at line 90 of file HLTMuonPlotter.h.

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

Definition at line 89 of file HLTMuonPlotter.h.

Referenced by MatchStruct().