ATLAS Offline Software
Public Member Functions | List of all members
SortDPptr Class Reference

#include <IOVSvcTool.h>

Collaboration diagram for SortDPptr:

Public Member Functions

bool operator() (const SG::DataProxy *, const SG::DataProxy *) const
 

Detailed Description

Definition at line 63 of file IOVSvcTool.h.

Member Function Documentation

◆ operator()()

bool SortDPptr::operator() ( const SG::DataProxy a,
const SG::DataProxy b 
) const

Definition at line 88 of file IOVSvcTool.cxx.

88  {
89  if (a&&b) {
90  if (a->name()!=b->name()) return a->name()<b->name();
91  if (a->clID()!=b->clID()) return a->clID()<b->clID();
92  }
93  //Fall back to ptr comp (in principle random, but similar name and
94  //clid means that the path in COOL is likely to be similar):
95  return a<b;
96 }

The documentation for this class was generated from the following files:
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10