ATLAS Offline Software
TileEvent/TileEvent/TileLogicalOrdering.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILEEVENT_TILERAWDATAORDERING_H
6 #define TILEEVENT_TILERAWDATAORDERING_H
7 
15 template <class TELEMENT>
17 {
18 
19  public:
23 
26  bool operator () (const TELEMENT* ch1, const TELEMENT* ch2)
27  { return ( ch1->identify() < ch2->identify() ); }
28 
29 };
30 
31 #endif
32 
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: TileEvent/TileEvent/TileLogicalOrdering.h:22