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

Constructor & Destructor Documentation

HLTMuonPlotter::MatchStruct::MatchStruct ( )
inline

Definition at line 73 of file HLTMuonPlotter.h.

References candBase, and candL1.

73  {
74  candBase = 0;
75  candL1 = 0;
76  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase
HLTMuonPlotter::MatchStruct::MatchStruct ( const reco::Candidate cand)
inline

Definition at line 77 of file HLTMuonPlotter.h.

References candBase, and candL1.

77  {
78  candBase = cand;
79  candL1 = 0;
80  }
const l1extra::L1MuonParticle * candL1
const reco::Candidate * candBase

Member Function Documentation

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

Definition at line 81 of file HLTMuonPlotter.h.

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

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

Definition at line 84 of file HLTMuonPlotter.h.

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

84  {
85  return candBase->pt() > match.candBase->pt();
86  }
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 72 of file HLTMuonPlotter.h.

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

Definition at line 71 of file HLTMuonPlotter.h.

Referenced by MatchStruct().