ATLAS Offline Software
Loading...
Searching...
No Matches
MuonGM::ChamberGrp Struct Reference
Collaboration diagram for MuonGM::ChamberGrp:

Public Member Functions

 ChamberGrp (const TgcChamberLayout &grp)
bool addChamber (const TgcChamberLayout &lay)
const std::map< std::string, std::set< Identifier > > & allGaps () const
const TgcChamberLayoutlayout () const
TgcChamberLayoutlayout ()

Private Attributes

TgcChamberLayout m_lay {}
std::map< std::string, std::set< Identifier > > m_gaps {}

Detailed Description

Constructor & Destructor Documentation

◆ ChamberGrp()

MuonGM::ChamberGrp::ChamberGrp ( const TgcChamberLayout & grp)
inline

Definition at line 67 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

67 :
68 m_lay{grp} {
69 m_gaps[grp.techType].insert(grp.gasGap);
70 }
std::map< std::string, std::set< Identifier > > m_gaps

Member Function Documentation

◆ addChamber()

bool MuonGM::ChamberGrp::addChamber ( const TgcChamberLayout & lay)
inline

Definition at line 71 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

71 {
72 if (m_lay == lay) {
73 m_gaps[lay.techType].insert(lay.gasGap);
74 return true;
75 }
76 return false;
77 }

◆ allGaps()

const std::map< std::string, std::set< Identifier > > & MuonGM::ChamberGrp::allGaps ( ) const
inline

Definition at line 78 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

78{ return m_gaps; }

◆ layout() [1/2]

TgcChamberLayout & MuonGM::ChamberGrp::layout ( )
inline

Definition at line 80 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

80{ return m_lay; }

◆ layout() [2/2]

const TgcChamberLayout & MuonGM::ChamberGrp::layout ( ) const
inline

Definition at line 79 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

79{ return m_lay; }

Member Data Documentation

◆ m_gaps

std::map<std::string, std::set<Identifier> > MuonGM::ChamberGrp::m_gaps {}
private

Definition at line 83 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

83{};

◆ m_lay

TgcChamberLayout MuonGM::ChamberGrp::m_lay {}
private

Definition at line 82 of file MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx.

82{};

The documentation for this struct was generated from the following file: