ATLAS Offline Software
TileEvent/TileEvent/TileRawDataOrdering.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 TILEEVENT_TILERAWDATAORDERING_H
6 #define TILEEVENT_TILERAWDATAORDERING_H
7 
15 #include "TileEvent/TileRawData.h"
16 
18 {
19 
20  public:
24 
27  bool operator () (const TileRawData* ch1, const TileRawData* ch2)
28  { return ( ch1->adc_HWID() < ch2->adc_HWID() ); }
29 
30 };
31 
32 #endif
33 
TileRawDataOrdering::TileRawDataOrdering
TileRawDataOrdering()
Constructor.
Definition: TileEvent/TileEvent/TileRawDataOrdering.h:23
TileRawData::adc_HWID
HWIdentifier adc_HWID(void) const
Definition: TileRawData.h:53
TileRawData.h
TileRawDataOrdering::operator()
bool operator()(const TileRawData *ch1, const TileRawData *ch2)
Operator for sorting.
Definition: TileEvent/TileEvent/TileRawDataOrdering.h:27
TileRawData
Definition: TileRawData.h:34
TileRawDataOrdering
class for ordering TileRawData Objects according to hardware identifier (channel number) To be used w...
Definition: TileEvent/TileEvent/TileRawDataOrdering.h:18