ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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

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

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  }

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

◆ m_lay

TgcChamberLayout MuonGM::ChamberGrp::m_lay {}
private

The documentation for this struct was generated from the following file:
MuonGM::ChamberGrp::m_lay
TgcChamberLayout m_lay
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx:82
MuonGM::ChamberGrp::m_gaps
std::map< std::string, std::set< Identifier > > m_gaps
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx:83