#include <TGCConnectionInPP.h>
Definition at line 15 of file TGCConnectionInPP.h.
◆ TGCConnectionInPP() [1/2]
LVL1TGCTrigger::TGCConnectionInPP::TGCConnectionInPP |
( |
| ) |
|
◆ ~TGCConnectionInPP()
LVL1TGCTrigger::TGCConnectionInPP::~TGCConnectionInPP |
( |
| ) |
|
◆ TGCConnectionInPP() [2/2]
Definition at line 220 of file TGCConnectionInPP.cxx.
227 if(right.m_patchPanelIn[
i]) {
229 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_patchPanelIn[
i][iCh] = right.m_patchPanelIn[
i][iCh];
233 if(right.m_channelIn[
i]) {
235 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_channelIn[
i][iCh] = right.m_channelIn[
i][iCh];
239 if(right.m_connectorIn[
i]) {
241 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_connectorIn[
i][iCh] = right.m_connectorIn[
i][iCh];
245 if(right.m_oredPatchPanelIn[
i]) {
247 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredPatchPanelIn[
i][iCh] = right.m_oredPatchPanelIn[
i][iCh];
251 if(right.m_oredChannelIn[
i]) {
253 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredChannelIn[
i][iCh] = right.m_oredChannelIn[
i][iCh];
257 if(right.m_oredConnectorIn[
i]) {
259 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredConnectorIn[
i][iCh] = right.m_oredConnectorIn[
i][iCh];
◆ dumpConnection()
void LVL1TGCTrigger::TGCConnectionInPP::dumpConnection |
( |
int |
PPId = 0 | ) |
const |
◆ existOredSignal()
bool LVL1TGCTrigger::TGCConnectionInPP::existOredSignal |
( |
| ) |
const |
◆ getChannelIn()
int LVL1TGCTrigger::TGCConnectionInPP::getChannelIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ getConnectorIn()
int LVL1TGCTrigger::TGCConnectionInPP::getConnectorIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ getNumberOfChannel()
int LVL1TGCTrigger::TGCConnectionInPP::getNumberOfChannel |
( |
int |
i | ) |
const |
|
inline |
◆ getOredChannelIn()
int LVL1TGCTrigger::TGCConnectionInPP::getOredChannelIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ getOredConnectorIn()
int LVL1TGCTrigger::TGCConnectionInPP::getOredConnectorIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ getOredPPIn()
TGCPatchPanel * LVL1TGCTrigger::TGCConnectionInPP::getOredPPIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ getPPIn()
TGCPatchPanel * LVL1TGCTrigger::TGCConnectionInPP::getPPIn |
( |
int |
connectorOut, |
|
|
int |
chOut |
|
) |
| |
◆ operator=()
Definition at line 265 of file TGCConnectionInPP.cxx.
267 if(
this != &right ) {
274 if(right.m_patchPanelIn[
i]) {
276 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_patchPanelIn[
i][iCh] = right.m_patchPanelIn[
i][iCh];
281 if(right.m_channelIn[
i]) {
283 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_channelIn[
i][iCh] = right.m_channelIn[
i][iCh];
288 if(right.m_connectorIn[
i]) {
290 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_connectorIn[
i][iCh] = right.m_connectorIn[
i][iCh];
295 if(right.m_oredPatchPanelIn[
i]) {
297 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredPatchPanelIn[
i][iCh] = right.m_oredPatchPanelIn[
i][iCh];
302 if(right.m_oredChannelIn[
i]) {
304 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredChannelIn[
i][iCh] = right.m_oredChannelIn[
i][iCh];
309 if(right.m_oredConnectorIn[
i]) {
311 for(
int iCh=0; iCh<nPPOutCh; iCh++)
m_oredConnectorIn[
i][iCh] = right.m_oredConnectorIn[
i][iCh];
◆ readConnectionTable()
void LVL1TGCTrigger::TGCConnectionInPP::readConnectionTable |
( |
TGCPatchPanel * |
PP | ) |
|
Definition at line 18 of file TGCConnectionInPP.cxx.
50 int oPP,oCon,oCh,i1PP,i2PP,totalCh;
53 std::istringstream
line(buf);
54 line>>inLabel>>totalCh;
64 while(
file.getline(buf,
BufferSize)&&(isspace(buf[0])||isdigit(buf[0]))){
68 std::istringstream
line2(buf);
69 line2 >> oPP >> oCon >> oCh >> i1PP >> iCon >> iCh;
71 if((i1PP!=-1)&&(PP->getId()==oPP)){
72 if(PP->getId()==i1PP){
77 if(PP->getAdjacentPP(0)!=0){
78 if(PP->getAdjacentPP(0)->getId()==i1PP){
82 if(PP->getAdjacentPP(1)!=0){
83 if(PP->getAdjacentPP(1)->getId()==i1PP){
90 #ifdef TGCDEBUG_CONNECTION
91 std::cout <<
"TGCConnectionInPP: " <<
label <<
" PPIn= " << i1PP
94 <<
" PPOut= " << oPP <<
" " << oCon <<
" " << oCh;
98 line2 >> i2PP >> iCon >> iCh;
101 if((i2PP>0)||(iCon!=0)||(iCh!=0)){
110 #ifdef TGCDEBUG_CONNECTION
115 if(PP->getId()==i2PP){
118 if(PP->getAdjacentPP(0)!=0){
119 if(PP->getAdjacentPP(0)->getId()==i2PP){
123 if(PP->getAdjacentPP(1)!=0){
124 if(PP->getAdjacentPP(1)->getId()==i2PP){
131 #ifdef TGCDEBUG_CONNECTION
132 std::cout << std::endl;
◆ replacePatchPanelPointers()
Definition at line 354 of file TGCConnectionInPP.cxx.
361 if(oldPatchPanels.size()!=3)
return false;
366 for(
int iCh=0; iCh<nPPOutCh; iCh++) {
383 for(
int iCh=0; iCh<nPPOutCh; iCh++) {
◆ m_channelIn
◆ m_connectorIn
◆ m_nCh
◆ m_oredChannelIn
◆ m_oredConnectorIn
◆ m_oredPatchPanelIn
◆ m_patchPanelIn
The documentation for this class was generated from the following files: