ATLAS Offline Software
Loading...
Searching...
No Matches
SortDPptr Struct 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 62 of file IOVSvcTool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 55 of file IOVSvcTool.cxx.

55 {
56 if (a&&b) {
57 if (a->name()!=b->name()) return a->name()<b->name();
58 if (a->clID()!=b->clID()) return a->clID()<b->clID();
59 }
60 //Fall back to ptr comp (in principle random, but similar name and
61 //clid means that the path in COOL is likely to be similar):
62 return a<b;
63}
static Double_t a

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