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

Struct for sorting by decreasing energy. More...

#include <Vector4.hh>

List of all members.

Public Member Functions

bool operator() (const FourMomentum &left, const FourMomentum &right) const
bool operator() (const FourMomentum *left, const FourVector *right) const

Detailed Description

Struct for sorting by decreasing energy.

Definition at line 438 of file Vector4.hh.


Member Function Documentation

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

Definition at line 439 of file Vector4.hh.

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

Definition at line 443 of file Vector4.hh.

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

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