ATLAS Offline Software
Public Member Functions | List of all members
MuonGMR4::MuonDetectorManager::ChamberSorter Struct Reference

Helper struct to ensur that the sorting of the MuonChambers remains constants across the jobs. More...

#include <MuonDetectorManager.h>

Collaboration diagram for MuonGMR4::MuonDetectorManager::ChamberSorter:

Public Member Functions

bool operator() (const MuonChamber *a, const MuonChamber *b) const
 

Detailed Description

Helper struct to ensur that the sorting of the MuonChambers remains constants across the jobs.

Definition at line 100 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.

Member Function Documentation

◆ operator()()

bool MuonGMR4::MuonDetectorManager::ChamberSorter::operator() ( const MuonChamber a,
const MuonChamber b 
) const

Definition at line 98 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.

98  {
99  if (a->stationName() != b->stationName()) return a->stationName() < b->stationName();
100  if (a->stationEta() != b->stationEta()) return a->stationEta() < b->stationEta();
101  return a->stationPhi() < b->stationPhi();
102 }

The documentation for this struct was generated from the following files:
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10