#include <TGCCableSSWToROD.h>
|
enum | CableType {
NoCableType =-1,
InASD,
ASDToPP,
InPP,
PPToSLB,
InSLB,
SLBToHPB,
HPBToSL,
SLBToSSW,
SSWToROD,
MaxCableType
} |
|
Definition at line 17 of file TGCCableSSWToROD.h.
◆ CableType
Enumerator |
---|
NoCableType | |
InASD | |
ASDToPP | |
InPP | |
PPToSLB | |
InSLB | |
SLBToHPB | |
HPBToSL | |
SLBToSSW | |
SSWToROD | |
MaxCableType | |
Definition at line 18 of file TGCCable.h.
◆ TGCCableSSWToROD() [1/3]
MuonTGC_Cabling::TGCCableSSWToROD::TGCCableSSWToROD |
( |
const std::string & |
filename | ) |
|
◆ TGCCableSSWToROD() [2/3]
Definition at line 18 of file TGCCableSSWToROD.cxx.
20 if (
auto mypointer =
dynamic_cast<TGCDatabaseSLBToROD*
>(right.m_database.get())) {
21 m_database = std::make_unique<TGCDatabaseSLBToROD>(*mypointer);
◆ ~TGCCableSSWToROD()
virtual MuonTGC_Cabling::TGCCableSSWToROD::~TGCCableSSWToROD |
( |
| ) |
|
|
virtualdefault |
◆ TGCCableSSWToROD() [3/3]
MuonTGC_Cabling::TGCCableSSWToROD::TGCCableSSWToROD |
( |
| ) |
|
|
inlineprivate |
◆ getCableType()
CableType MuonTGC_Cabling::TGCCable::getCableType |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getChannelIn()
|
inlineprotectedvirtualinherited |
◆ getChannelOut()
|
inlineprotectedvirtualinherited |
◆ getModule()
◆ getModuleIn()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 48 of file TGCCableSSWToROD.cxx.
49 if(!
rod->isValid())
return nullptr;
52 const int rodReadoutSector =
rod->getReadoutSector();
54 TGCModuleMap* mapId =
nullptr;
55 const int MaxEntry =
m_database->getMaxEntry();
56 for(
int i=0;
i<MaxEntry;
i++){
59 TGCModuleSSW* ssw =
new TGCModuleSSW(rodSideType,
62 if(mapId==
nullptr) mapId =
new TGCModuleMap();
63 mapId->insert(block,ssw);
◆ getModuleOut()
Reimplemented from MuonTGC_Cabling::TGCCable.
Definition at line 68 of file TGCCableSSWToROD.cxx.
69 if(!ssw->isValid())
return nullptr;
71 const int sswId = ssw->getId();
73 TGCModuleMap* mapId =
nullptr;
74 const int MaxEntry =
m_database->getMaxEntry();
75 for(
int i=0;
i<MaxEntry;
i++){
78 TGCModuleROD*
rod =
new TGCModuleROD(ssw->getSideType(),
79 ssw->getReadoutSector());
80 mapId =
new TGCModuleMap();
81 mapId->insert(block,
rod);
◆ operator=()
Definition at line 27 of file TGCCableSSWToROD.cxx.
29 if (
auto mypointer =
dynamic_cast<TGCDatabaseSLBToROD*
>(right.m_database.get())) {
30 m_database = std::make_unique<TGCDatabaseSLBToROD>(*mypointer);
◆ m_database
std::unique_ptr<TGCDatabase> MuonTGC_Cabling::TGCCableSSWToROD::m_database {nullptr} |
|
private |
◆ m_type
The documentation for this class was generated from the following files: