CMS 3D CMS Logo

List of all members | Public Member Functions
pat::PATGenCandsFromSimTracksProducer::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 111 of file PATGenCandsFromSimTracksProducer.cc.

Member Function Documentation

◆ operator()() [1/3]

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

Definition at line 112 of file PATGenCandsFromSimTracksProducer.cc.

References CoreSimTrack::trackId().

112 { return tk1.trackId() < tk2.trackId(); }
unsigned int trackId() const
Definition: CoreSimTrack.h:31

◆ operator()() [2/3]

bool pat::PATGenCandsFromSimTracksProducer::LessById::operator() ( const SimTrack tk1,
unsigned int  id 
) const
inline

Definition at line 113 of file PATGenCandsFromSimTracksProducer.cc.

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

113 { return tk1.trackId() < id; }
unsigned int trackId() const
Definition: CoreSimTrack.h:31

◆ operator()() [3/3]

bool pat::PATGenCandsFromSimTracksProducer::LessById::operator() ( unsigned int  id,
const SimTrack tk2 
) const
inline

Definition at line 114 of file PATGenCandsFromSimTracksProducer.cc.

References CoreSimTrack::trackId().

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