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
HLTMuonValidator::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 68 of file HLTMuonValidator.h.

Constructor & Destructor Documentation

HLTMuonValidator::MatchStruct::MatchStruct ( )
inline

Definition at line 72 of file HLTMuonValidator.h.

References candBase, and candL1.

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

Definition at line 76 of file HLTMuonValidator.h.

References candBase, and candL1.

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

Member Function Documentation

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

Definition at line 80 of file HLTMuonValidator.h.

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

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

Definition at line 83 of file HLTMuonValidator.h.

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

83  {
84  return candBase->pt() > match.candBase->pt();
85  }
const reco::Candidate * candBase
virtual float pt() const =0
transverse momentum

Member Data Documentation

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

Definition at line 71 of file HLTMuonValidator.h.

const l1extra::L1MuonParticle* HLTMuonValidator::MatchStruct::candL1

Definition at line 70 of file HLTMuonValidator.h.

Referenced by MatchStruct().