MINT2
Public Member Functions | List of all members
moreByL 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 32 of file DecayTreeComparisons.h.

Member Function Documentation

◆ operator()()

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

Definition at line 66 of file DecayTreeComparisons.cpp.

66  {
67  // first handle bad pointers
68  if(0 == a && 0==b) return false;
69  if(0 == a && 0!=b) return true;
70  if(0 !=a && 0==b) return false;
71 
72  return a->getVal().L() > b->getVal().L();
73 }
const ValueType & getVal() const
Definition: DDTree.h:102
int L() const
Definition: DecayTreeItem.h:59

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