|  | ATLAS Offline Software
    | 
 
 
 
#include <TGCChannelSLBIn.h>
|  | 
| enum | CellType { NoCellType =-1, 
CellTrig =0, 
CellA =1, 
CellB =2,
 CellC =3, 
CellD =4, 
MaxCellType
 }
 | 
|  | 
| enum | ChannelIdType { ChannelIdType::NoChannelIdType, 
ChannelIdType::ASDIn, 
ChannelIdType::ASDOut, 
ChannelIdType::PPIn,
 ChannelIdType::PPOut, 
ChannelIdType::SLBIn, 
ChannelIdType::SLBOut, 
ChannelIdType::HPBIn
 }
 | 
|  | 
| enum | IdType { IdType::NoIdType, 
IdType::Channel, 
IdType::Module, 
IdType::MaxIdType
 } | 
|  | 
| enum | SideType { NoSideType =-1, 
Aside, 
Cside, 
MaxSideType
 } | 
|  | 
| enum | ModuleType { NoModuleType =-1, 
WD, 
SD, 
WT,
 ST, 
WI, 
SI, 
MaxModuleType
 }
 | 
|  | 
| enum | SignalType { NoSignalType =-1, 
Wire, 
Strip, 
MaxSignalType
 } | 
|  | 
| enum | MultipletType { NoMultipletType =-1, 
Doublet, 
Triplet, 
Inner,
 MaxChamberType
 }
 | 
|  | 
| enum | RegionType { NoRegionType =-1, 
Endcap, 
Forward, 
MaxRegionType
 } | 
|  | 
|  | 
| static const int | s_lengthCell [] = {40, 36, 36, 44, 44} | 
|  | 
| static const int | s_offsetCell [] = { 0, 40, 76,112,156} | 
|  | 
| static const int | s_lengthWD [] = {40, 36, 36, 44, 44} | 
|  | 
| static const int | s_lengthSD [] = {40, 32, 32, 32, 32} | 
|  | 
| static const int | s_lengthWT [] = {40, 36, 36, 36, 36} | 
|  | 
| static const int | s_lengthST [] = {40, 32, 32, 32, 32} | 
|  | 
| static const int | s_adjacentCell [] = { 0, 2, 2, 6, 6} | 
|  | 
| static const int | s_adjacentWD [] = { 0, 2, 2, 6, 6} | 
|  | 
| static const int | s_adjacentSD [] = { 0, 0, 0, 0, 0} | 
|  | 
| static const int | s_adjacentWT [] = { 0, 2, 2, 2, 2} | 
|  | 
| static const int | s_adjacentST [] = { 0, 0, 0, 0, 0} | 
|  | 
Definition at line 13 of file TGCChannelSLBIn.h.
 
◆ CellType
| Enumerator | 
|---|
| NoCellType |  | 
| CellTrig |  | 
| CellA |  | 
| CellB |  | 
| CellC |  | 
| CellD |  | 
| MaxCellType |  | 
Definition at line 32 of file TGCChannelSLBIn.h.
 
 
◆ ChannelIdType
| Enumerator | 
|---|
| NoChannelIdType |  | 
| ASDIn |  | 
| ASDOut |  | 
| PPIn |  | 
| PPOut |  | 
| SLBIn |  | 
| SLBOut |  | 
| HPBIn |  | 
Definition at line 17 of file TGCChannelId.h.
   20     PPIn, PPOut, SLBIn, SLBOut, HPBIn
 
 
 
 
◆ IdType
| Enumerator | 
|---|
| NoIdType |  | 
| Channel |  | 
| Module |  | 
| MaxIdType |  | 
Definition at line 12 of file TGCId.h.
   12 { NoIdType, 
Channel, Module, MaxIdType };
 
 
 
◆ ModuleType
| Enumerator | 
|---|
| NoModuleType |  | 
| WD |  | 
| SD |  | 
| WT |  | 
| ST |  | 
| WI |  | 
| SI |  | 
| MaxModuleType |  | 
Definition at line 47 of file TGCId.h.
 
 
◆ MultipletType
| Enumerator | 
|---|
| NoMultipletType |  | 
| Doublet |  | 
| Triplet |  | 
| Inner |  | 
| MaxChamberType |  | 
Definition at line 51 of file TGCId.h.
 
 
◆ RegionType
| Enumerator | 
|---|
| NoRegionType |  | 
| Endcap |  | 
| Forward |  | 
| MaxRegionType |  | 
Definition at line 53 of file TGCId.h.
 
 
◆ SideType
| Enumerator | 
|---|
| NoSideType |  | 
| Aside |  | 
| Cside |  | 
| MaxSideType |  | 
Definition at line 45 of file TGCId.h.
 
 
◆ SignalType
| Enumerator | 
|---|
| NoSignalType |  | 
| Wire |  | 
| Strip |  | 
| MaxSignalType |  | 
Definition at line 49 of file TGCId.h.
 
 
◆ TGCChannelSLBIn() [1/2]
◆ ~TGCChannelSLBIn()
  
  | 
        
          | virtual MuonTGC_Cabling::TGCChannelSLBIn::~TGCChannelSLBIn | ( | void |  | ) |  |  | inlinevirtual | 
 
 
◆ TGCChannelSLBIn() [2/2]
  
  | 
        
          | MuonTGC_Cabling::TGCChannelSLBIn::TGCChannelSLBIn | ( | void |  | ) |  |  | inlineprivate | 
 
 
◆ convertCellType()
◆ convertChannel()
Definition at line 202 of file TGCChannelSLBIn.cxx.
  205     if (adjacentSLB == -1){
 
  206       throw std::out_of_range(
"adjacentSLB is -1 in TGCChannelSLBIn::convertChannel");
 
 
 
 
◆ convertChannelInCell()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::convertChannelInCell | ( | int | channel | ) |  |  | static | 
 
 
◆ convertChannelInSLB()
Definition at line 192 of file TGCChannelSLBIn.cxx.
  195     if (adjacentSLB == -1){
 
  196       throw std::out_of_range(
"adjacentSLB is -1 in TGCChannelSLBIn::convertChannelInSLB");
 
 
 
 
◆ getAdjacentOfCell()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::getAdjacentOfCell | ( | CellType | cellType | ) |  |  | static | 
 
 
◆ getAdjacentOfSLB()
◆ getBlock()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::getBlock | ( |  | ) | const |  | inherited | 
 
 
◆ getCellType()
  
  | 
        
          | virtual CellType MuonTGC_Cabling::TGCChannelSLBIn::getCellType | ( | void |  | ) | const |  | inlinevirtual | 
 
 
◆ getChamber()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getChamber | ( |  | ) | const |  | inlineinherited | 
 
 
◆ getChannel()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::getChannel | ( |  | ) | const |  | inherited | 
 
 
◆ getChannelIdType()
◆ getChannelInCell()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::getChannelInCell | ( | void |  | ) | const |  | virtual | 
 
 
◆ getChannelInSLB()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::getChannelInSLB | ( | void |  | ) | const |  | virtual | 
 
 
◆ getGasGap()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::getGasGap | ( |  | ) | const |  | virtualinherited | 
 
 
◆ getId()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getId | ( |  | ) | const |  | inlineinherited | 
 
 
◆ getIdType()
◆ getLayer()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::getLayer | ( |  | ) | const |  | inherited | 
 
 
◆ getLengthOfCell()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::getLengthOfCell | ( | CellType | cellType | ) |  |  | static | 
 
 
◆ getLengthOfSLB()
◆ getModule()
  
  | 
        
          | TGCModuleId * MuonTGC_Cabling::TGCChannelSLBIn::getModule | ( | void |  | ) | const |  | virtual | 
 
 
◆ getModuleType()
◆ getMultipletType()
◆ getOctant()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getOctant | ( |  | ) | const |  | inlineinherited | 
 
 
◆ getOffsetOfCell()
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::getOffsetOfCell | ( | CellType | cellType | ) |  |  | static | 
 
 
◆ getRegionType()
◆ getSector()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getSector | ( |  | ) | const |  | inlinevirtualinherited | 
 
 
◆ getSectorInOctant()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getSectorInOctant | ( |  | ) | const |  | virtualinherited | 
 
 
◆ getSectorInReadout()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getSectorInReadout | ( | void |  | ) | const |  | inherited | 
 
 
◆ getSectorModule()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getSectorModule | ( |  | ) | const |  | virtualinherited | 
 
Definition at line 112 of file TGCId.cxx.
  115   static const int moduleEndcap[6]={ 0, 1, 3, 4, 6, 7};
 
  116   static const int moduleForward[3]={ 2, 5, 8};
 
  117   static const int moduleEI[3]={  9, 10, 11};
 
  118   static const int moduleFI[3]={ 12, 13, 14};
 
 
 
 
◆ getSideType()
◆ getSignalType()
◆ getStation()
  
  | 
        
          | int MuonTGC_Cabling::TGCId::getStation | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isAside()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isAside | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isBackward()
  
  | 
        
          | bool MuonTGC_Cabling::TGCChannelId::isBackward | ( |  | ) | const |  | inherited | 
 
 
◆ isCside()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isCside | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isDoublet()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isDoublet | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isEndcap()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isEndcap | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isForward()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isForward | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isInner()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isInner | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isStrip()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isStrip | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isTriplet()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isTriplet | ( |  | ) | const |  | inlineinherited | 
 
 
◆ isValid()
  
  | 
        
          | bool MuonTGC_Cabling::TGCChannelSLBIn::isValid | ( | void |  | ) | const |  | virtual | 
 
 
◆ isWire()
  
  | 
        
          | bool MuonTGC_Cabling::TGCId::isWire | ( |  | ) | const |  | inlineinherited | 
 
 
◆ operator==()
  
  | 
        
          | bool MuonTGC_Cabling::TGCChannelId::operator== | ( | const TGCChannelId & | channelId | ) | const |  | virtualinherited | 
 
Definition at line 9 of file TGCChannelId.cxx.
   12      (this->getSideType()     ==
channelId.getSideType())     &&
 
   13      (this->getRegionType()   ==
channelId.getRegionType())   &&
 
   14      (this->getSignalType()   ==
channelId.getSignalType())   &&
 
   15      (this->getModuleType()   ==
channelId.getModuleType())   &&
 
   16      (this->getSector()       ==
channelId.getSector())       &&
 
   17      (this->getLayer()        ==
channelId.getLayer())        &&
 
   18      (this->getChamber()      ==
channelId.getChamber())      &&
 
   20      (this->getBlock()        ==
channelId.getBlock())        &&
 
   21      (this->getChannel()      ==
channelId.getChannel())      )
 
 
 
 
◆ setBlock()
  
  | 
        
          | void MuonTGC_Cabling::TGCChannelId::setBlock | ( | int | block | ) |  |  | virtualinherited | 
 
 
◆ setChamber()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setChamber | ( | int | chamber | ) |  |  | inlinevirtualinherited | 
 
 
◆ setChannel()
  
  | 
        
          | void MuonTGC_Cabling::TGCChannelSLBIn::setChannel | ( | int | channel | ) |  |  | virtual | 
 
 
◆ setChannelIdType()
  
  | 
        
          | void MuonTGC_Cabling::TGCChannelId::setChannelIdType | ( | ChannelIdType | type | ) |  |  | inherited | 
 
 
◆ setId()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setId | ( | int | id | ) |  |  | inlineinherited | 
 
 
◆ setIdType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setIdType | ( | IdType | idtype | ) |  |  | inlineprotectedinherited | 
 
 
◆ setLayer()
  
  | 
        
          | void MuonTGC_Cabling::TGCChannelId::setLayer | ( | int | layer | ) |  |  | inherited | 
 
 
◆ setModuleType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setModuleType | ( | ModuleType | module | ) |  |  | inherited | 
 
 
◆ setMultipletType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setMultipletType | ( | MultipletType | multiplet | ) |  |  | inherited | 
 
 
◆ setOctant()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setOctant | ( | int | voctant | ) |  |  | virtualinherited | 
 
 
◆ setReadoutSector()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setReadoutSector | ( | int | sector | ) |  |  | protectedinherited | 
 
 
◆ setRegionType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setRegionType | ( | RegionType | region | ) |  |  | inlineinherited | 
 
 
◆ setSector()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setSector | ( | int | vsector | ) |  |  | virtualinherited | 
 
 
◆ setSectorModule()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setSectorModule | ( | int | sectorModule | ) |  |  | protectedinherited | 
 
Definition at line 132 of file TGCId.cxx.
  135   const int MaxModuleInOctant = 15;
 
  136   static const int regionId[MaxModuleInOctant] ={ 
 
  137     0, 0, 1, 0, 0, 1, 0, 0, 1, 2, 2, 2, 3, 3, 3 
 
  139   static const int sectorId[MaxModuleInOctant] ={ 
 
  140     0, 1, 0, 2, 3, 1, 4, 5, 2, 0, 1, 2, 0, 1, 2 
 
  143   if(sectorModule< 0 || sectorModule>=MaxModuleInOctant) 
return;
 
  145   if(regionId[sectorModule]==0){ 
 
  149   } 
else if(regionId[sectorModule]==1){ 
 
 
 
 
◆ setSideType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setSideType | ( | SideType | side | ) |  |  | inlineinherited | 
 
 
◆ setSignalType()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setSignalType | ( | SignalType | signal | ) |  |  | inherited | 
 
 
◆ setStation()
  
  | 
        
          | void MuonTGC_Cabling::TGCId::setStation | ( | int | vstation | ) |  |  | virtualinherited | 
 
 
◆ m_block
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::m_block {-1} |  | protectedinherited | 
 
 
◆ m_cellType
  
  | 
        
          | CellType MuonTGC_Cabling::TGCChannelSLBIn::m_cellType |  | private | 
 
 
◆ m_chamber
  
  | 
        
          | int MuonTGC_Cabling::TGCId::m_chamber {-1} |  | protectedinherited | 
 
 
◆ m_channel
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::m_channel {-1} |  | protectedinherited | 
 
 
◆ m_channelInCell
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::m_channelInCell = 0 |  | private | 
 
 
◆ m_channelInSLB
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelSLBIn::m_channelInSLB = 0 |  | private | 
 
 
◆ m_channelType
◆ m_id
  
  | 
        
          | int MuonTGC_Cabling::TGCId::m_id {-1} |  | protectedinherited | 
 
 
◆ m_idType
◆ m_layer
  
  | 
        
          | int MuonTGC_Cabling::TGCChannelId::m_layer {-1} |  | protectedinherited | 
 
 
◆ m_module
◆ m_multiplet
◆ m_octant
  
  | 
        
          | int MuonTGC_Cabling::TGCId::m_octant {-1} |  | protectedinherited | 
 
 
◆ m_region
◆ m_sector
  
  | 
        
          | int MuonTGC_Cabling::TGCId::m_sector {-1} |  | protectedinherited | 
 
 
◆ m_side
◆ m_signal
◆ m_station
  
  | 
        
          | int MuonTGC_Cabling::TGCId::m_station {-1} |  | protectedinherited | 
 
 
◆ N_RODS
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::N_RODS = 12 |  | staticconstexprinherited | 
 
 
◆ NUM_ENDCAP_SECTOR
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_ENDCAP_SECTOR = 48 |  | staticconstexprinherited | 
 
 
◆ NUM_FORWARD_SECTOR
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_FORWARD_SECTOR = 24 |  | staticconstexprinherited | 
 
 
◆ NUM_INNER_SECTOR
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_INNER_SECTOR = 24 |  | staticconstexprinherited | 
 
 
◆ NUM_LAYERS
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_LAYERS = 9 |  | staticconstexprinherited | 
 
 
◆ NUM_OCTANT
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_OCTANT = 8 |  | staticconstexprinherited | 
 
 
◆ NUM_STATIONS
  
  | 
        
          | constexpr int MuonTGC_Cabling::TGCId::NUM_STATIONS = 4 |  | staticconstexprinherited | 
 
in ChannelId 
Definition at line 37 of file TGCId.h.
 
 
◆ s_adjacentCell
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_adjacentCell = { 0, 2, 2, 6, 6} |  | staticprivate | 
 
 
◆ s_adjacentSD
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_adjacentSD = { 0, 0, 0, 0, 0} |  | staticprivate | 
 
 
◆ s_adjacentST
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_adjacentST = { 0, 0, 0, 0, 0} |  | staticprivate | 
 
 
◆ s_adjacentWD
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_adjacentWD = { 0, 2, 2, 6, 6} |  | staticprivate | 
 
 
◆ s_adjacentWT
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_adjacentWT = { 0, 2, 2, 2, 2} |  | staticprivate | 
 
 
◆ s_lengthCell
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_lengthCell = {40, 36, 36, 44, 44} |  | staticprivate | 
 
 
◆ s_lengthSD
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_lengthSD = {40, 32, 32, 32, 32} |  | staticprivate | 
 
 
◆ s_lengthST
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_lengthST = {40, 32, 32, 32, 32} |  | staticprivate | 
 
 
◆ s_lengthWD
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_lengthWD = {40, 36, 36, 44, 44} |  | staticprivate | 
 
 
◆ s_lengthWT
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_lengthWT = {40, 36, 36, 36, 36} |  | staticprivate | 
 
 
◆ s_offsetCell
  
  | 
        
          | const int MuonTGC_Cabling::TGCChannelSLBIn::s_offsetCell = { 0, 40, 76,112,156} |  | staticprivate | 
 
 
The documentation for this class was generated from the following files:
 
static const int s_adjacentST[]
void setRegionType(RegionType region)
virtual void setChannel(int channel)
static const int s_lengthWD[]
SideType getSideType(void) const
static int getAdjacentOfCell(CellType cellType)
Identifier32::value_type Channel
ChannelIdType m_channelType
RegionType getRegionType(void) const
static int convertChannelInSLB(TGCId::ModuleType moduleType, CellType cellType, int channel)
void setMultipletType(MultipletType multiplet)
static constexpr int N_RODS
static const int s_adjacentCell[]
void setSignalType(SignalType signal)
virtual int getChannelInCell(void) const
virtual void setSector(int vsector)
void setModuleType(ModuleType module)
ModuleType getModuleType(void) const
ChannelIdType getChannelIdType() const
static int getLengthOfCell(CellType cellType)
static constexpr int NUM_INNER_SECTOR
virtual int getSectorInOctant() const
void setSideType(SideType side)
static const int s_adjacentSD[]
static constexpr int NUM_FORWARD_SECTOR
static constexpr int NUM_OCTANT
static const int s_lengthCell[]
static const int s_lengthST[]
static int convertChannelInCell(int channel)
virtual void setStation(int vstation)
static CellType convertCellType(int channel)
MultipletType m_multiplet
static const int s_offsetCell[]
static int getAdjacentOfSLB(TGCId::ModuleType moduleType, CellType cellType)
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
virtual int getSector() const
static constexpr int NUM_ENDCAP_SECTOR
static const int s_lengthWT[]
static int getOffsetOfCell(CellType cellType)
virtual CellType getCellType(void) const
virtual void setChannel(int channel)
static int getLengthOfSLB(TGCId::ModuleType moduleType, CellType cellType)
static const int s_adjacentWD[]
static const int s_adjacentWT[]
std::vector< short > v_layer
static const int s_lengthSD[]