ATLAS Offline Software
Public Member Functions | List of all members
TileRawDataOrdering Class Reference

class for ordering TileRawData Objects according to hardware identifier (channel number) To be used with sort algorithm. More...

#include <TileRawDataOrdering.h>

Collaboration diagram for TileRawDataOrdering:

Public Member Functions

 TileRawDataOrdering ()
 Constructor. More...
 
bool operator() (const TileRawData *ch1, const TileRawData *ch2)
 Operator for sorting. More...
 
 TileRawDataOrdering ()
 Constructor. More...
 
bool operator() (const TileRawData *ch1, const TileRawData *ch2)
 Operator for sorting. More...
 

Detailed Description

class for ordering TileRawData Objects according to hardware identifier (channel number) To be used with sort algorithm.

Order TileData Objects according to hardware (online) identifier.

Author
A. Solodkov
Version
0-0-2 , Jan 30, 2003
Author
Alexander Solodkov

class for ordering TileRawData Objects according to hardware identifier (channel number) To be used with sort algorithm.

Definition at line 17 of file TileEvent/TileEvent/TileRawDataOrdering.h.

Constructor & Destructor Documentation

◆ TileRawDataOrdering() [1/2]

TileRawDataOrdering::TileRawDataOrdering ( )
inline

Constructor.

Definition at line 23 of file TileEvent/TileEvent/TileRawDataOrdering.h.

23 {}

◆ TileRawDataOrdering() [2/2]

TileRawDataOrdering::TileRawDataOrdering ( )
inline

Constructor.

Definition at line 25 of file TileRawUtils/TileRawUtils/TileRawDataOrdering.h.

25 {}

Member Function Documentation

◆ operator()() [1/2]

bool TileRawDataOrdering::operator() ( const TileRawData ch1,
const TileRawData ch2 
)
inline

Operator for sorting.

Definition at line 27 of file TileEvent/TileEvent/TileRawDataOrdering.h.

28  { return ( ch1->adc_HWID() < ch2->adc_HWID() ); }

◆ operator()() [2/2]

bool TileRawDataOrdering::operator() ( const TileRawData ch1,
const TileRawData ch2 
)
inline

Operator for sorting.

Definition at line 29 of file TileRawUtils/TileRawUtils/TileRawDataOrdering.h.

30  { return ( ch1->adc_HWID() < ch2->adc_HWID() ); }

The documentation for this class was generated from the following file:
TileRawData::adc_HWID
HWIdentifier adc_HWID(void) const
Definition: TileRawData.h:53