ATLAS Offline Software
TileRawUtils/TileRawUtils/TileLogicalOrdering.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILERAWUTILS_TILERAWDATAORDERING_H
6 #define TILERAWUTILS_TILERAWDATAORDERING_H
7 
17 template <class _TElement>
19 {
20 
21  public:
25 
28  bool operator () (const _TElement* ch1, const _TElement* ch2)
29  { return ( ch1->identify() < ch2->identify() ); }
30 
31 };
32 
33 #endif
34 
TileLogicalOrdering
class for ordering any TileData Objects according to logical (offline) identifier To be used with sor...
Definition: TileEvent/TileEvent/TileLogicalOrdering.h:17
TileLogicalOrdering::operator()
bool operator()(const TELEMENT *ch1, const TELEMENT *ch2)
Operator for sorting.
Definition: TileEvent/TileEvent/TileLogicalOrdering.h:26
TileLogicalOrdering::TileLogicalOrdering
TileLogicalOrdering()
Constructor.
Definition: TileRawUtils/TileRawUtils/TileLogicalOrdering.h:24