MadChain::first_then_second Struct Reference

List of all members.

Public Member Functions

bool operator() (const std::pair< Int_t, Int_t > &s1, const std::pair< Int_t, Int_t > &s2) const

Detailed Description

Definition at line 66 of file MadChain.h.


Member Function Documentation

bool MadChain::first_then_second::operator() ( const std::pair< Int_t, Int_t > &  s1,
const std::pair< Int_t, Int_t > &  s2 
) const [inline]

Definition at line 68 of file MadChain.h.

00070     {
00071       if(s1.first < s2.first) return true;
00072       else if(s1.first > s2.first) return false;
00073       else {
00074         if(s1.second<s2.second) return true;
00075         else return false;
00076       }
00077     }


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

Generated on 24 Jul 2018 for loon by  doxygen 1.6.1