CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 l1extra::L1MuonParticlecandL1
 

Detailed Description

Definition at line 85 of file HLTMuonPlotter.h.

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 89 of file HLTMuonPlotter.h.

References candBase, and candL1.

89  {
90  candBase = 0;
91  candL1 = 0;
92  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase
HLTMuonPlotter::MatchStruct::MatchStruct ( const reco::Candidate cand)
inline

Definition at line 93 of file HLTMuonPlotter.h.

References candBase, and candL1.

93  {
94  candBase = cand;
95  candL1 = 0;
96  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase

Member Function Documentation

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

Definition at line 97 of file HLTMuonPlotter.h.

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

97  {
98  return candBase->pt() < match.candBase->pt();
99  }
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  {
101  return candBase->pt() > match.candBase->pt();
102  }
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 88 of file HLTMuonPlotter.h.

const l1extra::L1MuonParticle* HLTMuonPlotter::MatchStruct::candL1

Definition at line 87 of file HLTMuonPlotter.h.

Referenced by MatchStruct().