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

Member Function Documentation

◆ operator()()

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

Definition at line 9 of file DecayTreeComparisons.cpp.

9  {
10  // first handle bad pointers
11  if(0 == a && 0==b) return false;
12  if(0 == a && 0!=b) return true;
13  if(0 !=a && 0==b) return false;
14 
15  return a->getVal().SVPAT() < b->getVal().SVPAT();
16 }
std::string SVPAT() const
const ValueType & getVal() const
Definition: DDTree.h:102

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