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

#include <AmpPair.h>

Public Member Functions

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

Detailed Description

Definition at line 130 of file AmpPair.h.

Member Function Documentation

◆ operator()()

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

Definition at line 509 of file AmpPair.cpp.

510  {
511  const AmpPair* a = apair.first;
512  const AmpPair* b = bpair.first;
513 
514  if(0 == a && 0==b) return false;
515  if(0 == a && 0!=b) return true;
516  if(0 !=a && 0==b) return false;
517  return abs(a->integral()) < abs(b->integral());
518 }
std::complex< double > integral() const
Definition: AmpPair.cpp:396

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