#include <TGCCableHPBToSL.h>
|
enum | CableType {
NoCableType =-1,
InASD,
ASDToPP,
InPP,
PPToSLB,
InSLB,
SLBToHPB,
HPBToSL,
SLBToSSW,
SSWToROD,
MaxCableType
} |
|
Definition at line 20 of file TGCCableHPBToSL.h.
◆ CableType
Enumerator |
---|
NoCableType | |
InASD | |
ASDToPP | |
InPP | |
PPToSLB | |
InSLB | |
SLBToHPB | |
HPBToSL | |
SLBToSSW | |
SSWToROD | |
MaxCableType | |
Definition at line 18 of file TGCCable.h.
◆ TGCCableHPBToSL() [1/2]
MuonTGC_Cabling::TGCCableHPBToSL::TGCCableHPBToSL |
( |
const std::string & |
filename | ) |
|
◆ ~TGCCableHPBToSL()
virtual MuonTGC_Cabling::TGCCableHPBToSL::~TGCCableHPBToSL |
( |
| ) |
|
|
virtualdefault |
◆ TGCCableHPBToSL() [2/2]
MuonTGC_Cabling::TGCCableHPBToSL::TGCCableHPBToSL |
( |
void |
| ) |
|
|
inlineprivate |
◆ getCableType()
CableType MuonTGC_Cabling::TGCCable::getCableType |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getChannelIn()
|
inlineprotectedvirtualinherited |
◆ getChannelOut()
|
inlineprotectedvirtualinherited |
◆ getModule()
◆ getModuleIn()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 31 of file TGCCableHPBToSL.cxx.
32 if(sl->isValid()==
false)
return nullptr;
37 TGCModuleMap* mapId =
nullptr;
38 const int wireMaxEntry = wireP->getMaxEntry();
39 for(
int i=0;
i<wireMaxEntry;
i++){
40 int id = wireP->getEntry(
i,0);
41 int block = wireP->getEntry(
i,1);
42 TGCModuleHPB* hpb =
new TGCModuleHPB(sl->getSideType(),
47 if(mapId==
nullptr) mapId =
new TGCModuleMap();
48 mapId->insert(block,hpb);
51 const int stripMaxEntry = stripP->getMaxEntry();
52 for(
int i=0;
i<stripMaxEntry;
i++){
53 int id = stripP->getEntry(
i,0);
54 int block = stripP->getEntry(
i,1);
55 TGCModuleHPB* hpb =
new TGCModuleHPB(sl->getSideType(),
60 if(mapId==
nullptr) mapId =
new TGCModuleMap();
61 mapId->insert(block,hpb);
◆ getModuleOut()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 67 of file TGCCableHPBToSL.cxx.
68 if(hpb->isValid()==
false)
return nullptr;
70 const int hpbId = hpb->getId();
72 TGCDatabase* databaseP =
m_database[hpb->getRegionType()][hpb->getSignalType()].get();
74 TGCModuleMap* mapId =
nullptr;
75 const int MaxEntry = databaseP->getMaxEntry();
76 for(
int i=0;
i<MaxEntry;
i++){
77 if(databaseP->getEntry(
i,0)==hpbId)
79 int block = databaseP->getEntry(
i,1);
80 TGCModuleSL* sl =
new TGCModuleSL(hpb->getSideType(),
84 mapId =
new TGCModuleMap();
85 mapId->insert(block,sl);
◆ m_database
◆ m_type
The documentation for this class was generated from the following files: