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

Constructor & Destructor Documentation

HLTMuonValidator::MatchStruct::MatchStruct ( )
inline

Definition at line 74 of file HLTMuonValidator.h.

References candBase, and candL1.

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

Definition at line 78 of file HLTMuonValidator.h.

References candBase, and candL1.

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

Member Function Documentation

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

Definition at line 82 of file HLTMuonValidator.h.

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

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

Definition at line 85 of file HLTMuonValidator.h.

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

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

Member Data Documentation

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

Definition at line 73 of file HLTMuonValidator.h.

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

Definition at line 72 of file HLTMuonValidator.h.

Referenced by MatchStruct().