ATLAS Offline Software
TileCalorimeter
TileEvent
TileEvent
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>
16
class
TileLogicalOrdering
17
{
18
19
public
:
22
TileLogicalOrdering
() {}
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
Generated on Thu Nov 7 2024 21:28:17 for ATLAS Offline Software by
1.8.18