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

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 84 of file HLTMuonPlotter.h.

References candBase, and candL1.

84  {
85  candBase = 0;
86  candL1 = 0;
87  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase
HLTMuonPlotter::MatchStruct::MatchStruct ( const reco::Candidate cand)
inline

Definition at line 88 of file HLTMuonPlotter.h.

References candBase, and candL1.

88  {
89  candBase = cand;
90  candL1 = 0;
91  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase

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  {
93  return candBase->pt() < match.candBase->pt();
94  }
virtual double pt() const =0
transverse momentum
const reco::Candidate * candBase
bool HLTMuonPlotter::MatchStruct::operator> ( MatchStruct  match)
inline

Definition at line 95 of file HLTMuonPlotter.h.

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

95  {
96  return candBase->pt() > match.candBase->pt();
97  }
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 83 of file HLTMuonPlotter.h.

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

Definition at line 82 of file HLTMuonPlotter.h.

Referenced by MatchStruct().