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

#include <FitAmpPair.h>

Public Member Functions

bool operator() (const std::pair< FitAmpPair *, int > &a, const std::pair< FitAmpPair *, int > &b) const
 

Detailed Description

Definition at line 205 of file FitAmpPair.h.

Member Function Documentation

◆ operator()()

bool lessByFitAmpPairIntegral_ptr_int_pair::operator() ( const std::pair< FitAmpPair *, int > &  a,
const std::pair< FitAmpPair *, int > &  b 
) const

Definition at line 650 of file FitAmpPair.cpp.

651  {
652  const FitAmpPair* a = apair.first;
653  const FitAmpPair* b = bpair.first;
654 
655  if(0 == a && 0==b) return false;
656  if(0 == a && 0!=b) return true;
657  if(0 !=a && 0==b) return false;
658  return a->integral() < b->integral();
659 }
double integral() const
Definition: FitAmpPair.cpp:476

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