byPTDescending Struct Reference

Struct for sorting by decreasing transverse momentum in STL set, sort etc. More...

#include <ParticleBase.hh>

List of all members.

Public Member Functions

bool operator() (const ParticleBase &left, const ParticleBase &right) const
bool operator() (const ParticleBase *left, const ParticleBase *right) const

Detailed Description

Struct for sorting by decreasing transverse momentum in STL set, sort etc.

Definition at line 38 of file ParticleBase.hh.


Member Function Documentation

bool operator() ( const ParticleBase left,
const ParticleBase right 
) const [inline]

Definition at line 43 of file ParticleBase.hh.

00043                                                                                  {
00044         return (*this)(*left, *right);
00045       }

bool operator() ( const ParticleBase left,
const ParticleBase right 
) const [inline]

Definition at line 39 of file ParticleBase.hh.

00039                                                                                  {
00040         return byPTAscending()(right, left);
00041       }


The documentation for this struct was generated from the following file: