CMS 3D CMS Logo

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 89 of file GenPlusSimParticleProducer.cc.

Member Function Documentation

◆ operator()() [1/3]

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

Definition at line 90 of file GenPlusSimParticleProducer.cc.

90 { return tk1.trackId() < tk2.trackId(); }

References CoreSimTrack::trackId().

◆ operator()() [2/3]

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

Definition at line 91 of file GenPlusSimParticleProducer.cc.

91 { return tk1.trackId() < id; }

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

◆ operator()() [3/3]

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

Definition at line 92 of file GenPlusSimParticleProducer.cc.

92 { return id < tk2.trackId(); }

References CoreSimTrack::trackId().

CoreSimTrack::trackId
unsigned int trackId() const
Definition: CoreSimTrack.h:31
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29