#include <TGCCableInSLB.h>
|
enum | CableType {
NoCableType =-1,
InASD,
ASDToPP,
InPP,
PPToSLB,
InSLB,
SLBToHPB,
HPBToSL,
SLBToSSW,
SSWToROD,
MaxCableType
} |
|
Definition at line 13 of file TGCCableInSLB.h.
◆ CableType
Enumerator |
---|
NoCableType | |
InASD | |
ASDToPP | |
InPP | |
PPToSLB | |
InSLB | |
SLBToHPB | |
HPBToSL | |
SLBToSSW | |
SSWToROD | |
MaxCableType | |
Definition at line 18 of file TGCCable.h.
◆ TGCCableInSLB()
MuonTGC_Cabling::TGCCableInSLB::TGCCableInSLB |
( |
void |
| ) |
|
|
inline |
◆ ~TGCCableInSLB()
virtual MuonTGC_Cabling::TGCCableInSLB::~TGCCableInSLB |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getCableType()
CableType MuonTGC_Cabling::TGCCable::getCableType |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getChannel()
◆ getChannelIn()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 23 of file TGCCableInSLB.cxx.
25 if(slbout->isValid()==
false)
return nullptr;
27 int channel = slbout->getChannel();
28 int block = slbout->getBlock();
34 int adjacentOfSLB = -1;
35 int channelInSLB = -1;
46 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
52 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
60 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
66 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
79 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
85 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
93 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
99 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
109 if((
channel+block*channelInBlock)%numberOfLayer==2){
112 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
115 if((
channel+block*channelInBlock)%numberOfLayer==1){
118 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
121 if((
channel+block*channelInBlock)%numberOfLayer==0){
124 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
134 if(orChannel==
false){
138 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
144 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
152 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
158 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
168 TGCChannelSLBIn* slbin =
nullptr;
169 if(channelInSLB!=-1){
171 cellType,channelInSLB);
172 slbin =
new TGCChannelSLBIn(slbout->getSideType(),
173 slbout->getModuleType(),
174 slbout->getRegionType(),
◆ getChannelOut()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 183 of file TGCCableInSLB.cxx.
185 if(slbin->isValid()==
false)
return nullptr;
205 if(orChannel==
false){
207 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
209 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
210 block =
channel/channelInBlock;
215 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
217 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
218 block =
channel/channelInBlock;
223 if(orChannel==
false){
225 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
227 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
228 block =
channel/channelInBlock;
233 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
235 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
236 block =
channel/channelInBlock;
242 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+2;
244 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
246 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
247 block =
channel/channelInBlock;
255 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
257 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
258 block =
channel/channelInBlock;
263 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
265 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
266 block =
channel/channelInBlock;
274 TGCChannelSLBOut* slbout =
nullptr;
276 slbout =
new TGCChannelSLBOut(slbin->getSideType(),
277 slbin->getModuleType(),
278 slbin->getRegionType(),
◆ getModuleIn()
|
inlineprotectedvirtualinherited |
◆ getModuleOut()
|
inlineprotectedvirtualinherited |
◆ m_type
The documentation for this class was generated from the following files: