test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PFMuonAlgo::IndexPtComparator Class Reference

Public Member Functions

 IndexPtComparator (const reco::PFCandidateCollection *coll)
 
bool operator() (int mu1, int mu2)
 
 ~IndexPtComparator ()
 

Private Attributes

const reco::PFCandidateCollectioncoll_
 

Detailed Description

Definition at line 208 of file PFMuonAlgo.h.

Constructor & Destructor Documentation

PFMuonAlgo::IndexPtComparator::IndexPtComparator ( const reco::PFCandidateCollection coll)
inline

Definition at line 211 of file PFMuonAlgo.h.

211  :coll_(coll) {
212  }
JetCorrectorParametersCollection coll
Definition: classes.h:10
const reco::PFCandidateCollection * coll_
Definition: PFMuonAlgo.h:220
PFMuonAlgo::IndexPtComparator::~IndexPtComparator ( )
inline

Definition at line 213 of file PFMuonAlgo.h.

213 {}

Member Function Documentation

bool PFMuonAlgo::IndexPtComparator::operator() ( int  mu1,
int  mu2 
)
inline

Definition at line 215 of file PFMuonAlgo.h.

References coll_.

215  {
216  return coll_->at(mu1).pt() > coll_->at(mu2).pt();
217  }
const reco::PFCandidateCollection * coll_
Definition: PFMuonAlgo.h:220

Member Data Documentation

const reco::PFCandidateCollection* PFMuonAlgo::IndexPtComparator::coll_
private

Definition at line 220 of file PFMuonAlgo.h.

Referenced by operator()().