CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
pat::GenPlusSimParticleProducer::LessById Struct Reference

Public Member Functions

bool operator() (const SimTrack &tk1, const SimTrack &tk2) const
 
bool operator() (const SimTrack &tk1, unsigned int id) const
 
bool operator() (unsigned int id, const SimTrack &tk2) const
 

Detailed Description

Definition at line 83 of file GenPlusSimParticleProducer.cc.

Member Function Documentation

bool pat::GenPlusSimParticleProducer::LessById::operator() ( const SimTrack tk1,
const SimTrack tk2 
) const
inline

Definition at line 84 of file GenPlusSimParticleProducer.cc.

References CoreSimTrack::trackId().

84 { return tk1.trackId() < tk2.trackId(); }
unsigned int trackId() const
Definition: CoreSimTrack.h:49
bool pat::GenPlusSimParticleProducer::LessById::operator() ( const SimTrack tk1,
unsigned int  id 
) const
inline

Definition at line 85 of file GenPlusSimParticleProducer.cc.

References errorMatrix2Lands_multiChannel::id, and CoreSimTrack::trackId().

85 { return tk1.trackId() < id; }
unsigned int trackId() const
Definition: CoreSimTrack.h:49
bool pat::GenPlusSimParticleProducer::LessById::operator() ( unsigned int  id,
const SimTrack tk2 
) const
inline

Definition at line 86 of file GenPlusSimParticleProducer.cc.

References CoreSimTrack::trackId().

86 { return id < tk2.trackId(); }
unsigned int trackId() const
Definition: CoreSimTrack.h:49