ATLAS Offline Software
TileRawUtils/TileRawUtils/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 TILERAWUTILS_TILERAWDATAORDERING_H
6 #define TILERAWUTILS_TILERAWDATAORDERING_H
7 
17 #include "TileEvent/TileRawData.h"
18 
20 {
21 
22  public:
26 
29  bool operator () (const TileRawData* ch1, const TileRawData* ch2)
30  { return ( ch1->adc_HWID() < ch2->adc_HWID() ); }
31 
32 };
33 
34 #endif
35 
TileRawDataOrdering::TileRawDataOrdering
TileRawDataOrdering()
Constructor.
Definition: TileRawUtils/TileRawUtils/TileRawDataOrdering.h:25
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