15 const std::string
msg =
"cellType out of range in " + funcName;
16 throw std::out_of_range(
msg);
85 checkCellType(cellType, __func__);
90 checkCellType(cellType, __func__);
96 checkCellType(cellType, __func__);
117 checkCellType(cellType, __func__);
123 checkCellType(cellType, __func__);
195 if (adjacentSLB == -1){
196 throw std::out_of_range(
"adjacentSLB is -1 in TGCChannelSLBIn::convertChannelInSLB");
199 return channel-offset;
203 CellType cellType,
int channelInSLB) {
205 if (adjacentSLB == -1){
206 throw std::out_of_range(
"adjacentSLB is -1 in TGCChannelSLBIn::convertChannel");
virtual void setChannel(int channel)
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
static const int s_adjacentCell[]
virtual bool isValid(void) const
static const int s_lengthWD[]
static int getLengthOfCell(CellType cellType)
static const int s_adjacentWT[]
static int convertChannelInSLB(TGCId::ModuleType moduleType, CellType cellType, int channel)
static int convertChannelInCell(int channel)
static const int s_lengthST[]
virtual int getChannelInCell(void) const
static int getOffsetOfCell(CellType cellType)
static const int s_offsetCell[]
virtual int getChannelInSLB(void) const
static const int s_adjacentSD[]
static const int s_lengthCell[]
virtual CellType getCellType(void) const
static CellType convertCellType(int channel)
static int getAdjacentOfSLB(TGCId::ModuleType moduleType, CellType cellType)
static int convertChannel(TGCId::ModuleType moduleType, CellType cellType, int channelInSLB)
static int getLengthOfSLB(TGCId::ModuleType moduleType, CellType cellType)
static const int s_adjacentWD[]
static const int s_lengthWT[]
static const int s_lengthSD[]
virtual TGCModuleId * getModule(void) const
static const int s_adjacentST[]
static int getAdjacentOfCell(CellType cellType)
virtual void setChannel(int channel)
void setSideType(SideType side)
void setRegionType(RegionType region)
ModuleType getModuleType(void) const
RegionType getRegionType(void) const
virtual int getSector() const
virtual void setSector(int vsector)
SideType getSideType(void) const
void setModuleType(ModuleType module)