MINT2
Public Member Functions | List of all members
moreByNDgtr Class Reference

#include <DecayTreeComparisons.h>

Public Member Functions

bool operator() (MINT::const_counted_ptr< DecayTree > a, MINT::const_counted_ptr< DecayTree > b) const
 

Detailed Description

Definition at line 20 of file DecayTreeComparisons.h.

Member Function Documentation

◆ operator()()

bool moreByNDgtr::operator() ( MINT::const_counted_ptr< DecayTree a,
MINT::const_counted_ptr< DecayTree b 
) const

Definition at line 44 of file DecayTreeComparisons.cpp.

44  {
45  // first handle bad pointers
46  if(0 == a && 0==b) return false;
47  if(0 == a && 0!=b) return true;
48  if(0 !=a && 0==b) return false;
49 
50  return a->nDgtr() > b->nDgtr();
51 }
int nDgtr() const
Definition: DDTree.h:96

The documentation for this class was generated from the following files: