CMS 3D CMS Logo

Public Member Functions

pat::PATGenCandsFromSimTracksProducer::LessById Struct Reference

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 102 of file PATGenCandsFromSimTracksProducer.cc.


Member Function Documentation

bool pat::PATGenCandsFromSimTracksProducer::LessById::operator() ( const SimTrack tk1,
const SimTrack tk2 
) const [inline]

Definition at line 103 of file PATGenCandsFromSimTracksProducer.cc.

References CoreSimTrack::trackId().

{ return tk1.trackId() < tk2.trackId(); }
bool pat::PATGenCandsFromSimTracksProducer::LessById::operator() ( unsigned int  id,
const SimTrack tk2 
) const [inline]

Definition at line 105 of file PATGenCandsFromSimTracksProducer.cc.

References CoreSimTrack::trackId().

{ return id            < tk2.trackId(); }
bool pat::PATGenCandsFromSimTracksProducer::LessById::operator() ( const SimTrack tk1,
unsigned int  id 
) const [inline]

Definition at line 104 of file PATGenCandsFromSimTracksProducer.cc.

References CoreSimTrack::trackId().

{ return tk1.trackId() < id;            }