rivet is hosted by Hepforge, IPPP Durham
ParticleBase::byEDescending Struct Reference

Struct for sorting by decreasing energy. 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 energy.

Definition at line 152 of file ParticleBase.hh.


Member Function Documentation

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

Definition at line 153 of file ParticleBase.hh.

                                                                                 {
        return byEAscending()(right, left);
      }
bool operator() ( const ParticleBase left,
const ParticleBase right 
) const [inline]

Definition at line 157 of file ParticleBase.hh.

                                                                                 {
        return (*this)(*left, *right);
      }

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