ATLAS Offline Software
Public Member Functions | List of all members
Muon::IMuonCombinePatternTool::IdentifierPrdLess Struct Reference

comparison functor for Trk::PrepRawData* (on identfier) used for sorting set<Trk::PrepRawData*> , else these sets are sorted by memory address (introduces random behaviour) More...

#include <IMuonCombinePatternTool.h>

Collaboration diagram for Muon::IMuonCombinePatternTool::IdentifierPrdLess:

Public Member Functions

bool operator() (const Trk::PrepRawData *pT1, const Trk::PrepRawData *pT2) const
 

Detailed Description

comparison functor for Trk::PrepRawData* (on identfier) used for sorting set<Trk::PrepRawData*> , else these sets are sorted by memory address (introduces random behaviour)

Definition at line 20 of file IMuonCombinePatternTool.h.

Member Function Documentation

◆ operator()()

bool Muon::IMuonCombinePatternTool::IdentifierPrdLess::operator() ( const Trk::PrepRawData pT1,
const Trk::PrepRawData pT2 
) const
inline

Definition at line 21 of file IMuonCombinePatternTool.h.

21  {
22  return pT1->identify() < pT2->identify(); }

The documentation for this struct was generated from the following file:
Trk::PrepRawData::identify
Identifier identify() const
return the identifier