ATLAS Offline Software
Public Member Functions | List of all members
High2LowByGenParticleClassPt Class Reference
Collaboration diagram for High2LowByGenParticleClassPt:

Public Member Functions

bool operator() (const HepMC::ConstGenParticlePtr &t1, const HepMC::ConstGenParticlePtr &t2) const
 

Detailed Description

Todo:
Move to a sorting utils module

Definition at line 12 of file DiPhotonFilter.cxx.

Member Function Documentation

◆ operator()()

bool High2LowByGenParticleClassPt::operator() ( const HepMC::ConstGenParticlePtr t1,
const HepMC::ConstGenParticlePtr t2 
) const
inline

Definition at line 14 of file DiPhotonFilter.cxx.

14  {
15  return t1->momentum().perp2() > t2->momentum().perp2();
16  }

The documentation for this class was generated from the following file:
ALFA_EventTPCnv_Dict::t1
std::vector< ALFA_RawDataCollection_p1 > t1
Definition: ALFA_EventTPCnvDict.h:43
ALFA_EventTPCnv_Dict::t2
std::vector< ALFA_RawDataContainer_p1 > t2
Definition: ALFA_EventTPCnvDict.h:44