ParticleBase::byEDescending Struct Reference

#include <ParticleBase.hh>

List of all members.


Detailed Description

Struct for sorting by decreasing energy.

Definition at line 90 of file ParticleBase.hh.


Public Member Functions

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

Member Function Documentation

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

Definition at line 91 of file ParticleBase.hh.

00091                                                                                  {
00092         return byEAscending()(right, left);
00093       }

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

Definition at line 95 of file ParticleBase.hh.

00095                                                                                  {
00096         return (*this)(*left, *right);
00097       }


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