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

Public Member Functions

bool operator() (const AmpInitPair &a1, const AmpInitPair &a2)
 

Detailed Description

Definition at line 19 of file FitAmplitude.cpp.

Member Function Documentation

◆ operator()()

bool AmpInitPairLessThan::operator() ( const AmpInitPair a1,
const AmpInitPair a2 
)
inline

Definition at line 21 of file FitAmplitude.cpp.

21  {
22  DalitzEventPattern p1 = a1.second.getEventPattern();
23  DalitzEventPattern p2 = a2.second.getEventPattern();
24 
25  // cout << "compare: got event pattern p1 " << p1 << endl;
26  if(p1 == p2){
27  return a1.first < a2.first;
28  }else{
29  return p1 < p2;
30  }
31  /* this sorts the list such that
32  the same final states are grouped
33  together - good for printing
34  */
35 
36  }

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