ATLAS Offline Software
TGCConnectionInPP.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Table of connection between input channel and output channel of PatchPanel
6 #ifndef TGCConnectionInPP_hh
7 #define TGCConnectionInPP_hh
8 
10 #include <iostream>
11 #include <vector>
12 
13 namespace LVL1TGCTrigger {
14 
16 public:
17  int getChannelIn(int connectorOut, int chOut);
18  int getConnectorIn(int connectorOut, int chOut);
19  TGCPatchPanel* getPPIn(int connectorOut, int chOut);
20 
21  int getOredChannelIn(int connectorOut, int chOut);
22  int getOredConnectorIn(int connectorOut, int chOut);
23  TGCPatchPanel* getOredPPIn(int connectorOut, int chOut);
24  int getNumberOfChannel(int i)const{return m_nCh[i];};
25 
26  // test whether there are ored channels.
27  bool existOredSignal() const;
29  // print out connection table.
30  void dumpConnection(int PPId=0) const;
31  bool replacePatchPanelPointers(TGCPatchPanel* newPatchPanel,
32  const std::vector<const TGCPatchPanel*>& oldPatchPanels);
33 
38 
39 private:
44 
48 };
49 
50 } // end of namespace
51 
52 #endif // TGCConnectionInPP_hh
LVL1TGCTrigger::TGCConnectionInPP::getConnectorIn
int getConnectorIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:323
LVL1TGCTrigger::TGCConnectionInPP::TGCConnectionInPP
TGCConnectionInPP()
Definition: TGCConnectionInPP.cxx:187
LVL1TGCTrigger::TGCConnectionInPP
Definition: TGCConnectionInPP.h:15
LVL1TGCTrigger::TGCConnectionInPP::dumpConnection
void dumpConnection(int PPId=0) const
Definition: TGCConnectionInPP.cxx:151
LVL1TGCTrigger::TGCConnectionInPP::getOredChannelIn
int getOredChannelIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:336
LVL1TGCTrigger::TGCConnectionInPP::m_oredChannelIn
int * m_oredChannelIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:46
LVL1TGCTrigger::TGCConnectionInPP::getOredPPIn
TGCPatchPanel * getOredPPIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:346
LVL1TGCTrigger::TGCConnectionInPP::getNumberOfChannel
int getNumberOfChannel(int i) const
Definition: TGCConnectionInPP.h:24
LVL1TGCTrigger::TGCConnectionInPP::getChannelIn
int getChannelIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:318
LVL1TGCTrigger::TGCConnectionInPP::m_nCh
int m_nCh[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:40
LVL1TGCTrigger::TGCConnectionInPP::m_channelIn
int * m_channelIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:42
LVL1TGCTrigger::TGCConnectionInPP::existOredSignal
bool existOredSignal() const
Definition: TGCConnectionInPP.cxx:143
LVL1TGCTrigger::TGCConnectionInPP::replacePatchPanelPointers
bool replacePatchPanelPointers(TGCPatchPanel *newPatchPanel, const std::vector< const TGCPatchPanel * > &oldPatchPanels)
Definition: TGCConnectionInPP.cxx:354
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1TGCTrigger::TGCConnectionInPP::~TGCConnectionInPP
~TGCConnectionInPP()
Definition: TGCConnectionInPP.cxx:200
LVL1TGCTrigger::TGCConnectionInPP::readConnectionTable
void readConnectionTable(TGCPatchPanel *PP)
Definition: TGCConnectionInPP.cxx:18
LVL1TGCTrigger::TGCConnectionInPP::m_patchPanelIn
TGCPatchPanel ** m_patchPanelIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:41
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCConnectionInPP::m_oredConnectorIn
int * m_oredConnectorIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:47
LVL1TGCTrigger::TGCConnectionInPP::operator=
TGCConnectionInPP & operator=(const TGCConnectionInPP &right)
Definition: TGCConnectionInPP.cxx:265
LVL1TGCTrigger::TGCPatchPanel
Definition: TGCPatchPanel.h:38
LVL1TGCTrigger::TGCConnectionInPP::m_oredPatchPanelIn
TGCPatchPanel ** m_oredPatchPanelIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:45
LVL1TGCTrigger::TGCConnectionInPP::getOredConnectorIn
int getOredConnectorIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:341
LVL1TGCTrigger::NumberOfPPOutputConnector
const int NumberOfPPOutputConnector
Definition: TGCPatchPanel.h:32
LVL1TGCTrigger::TGCConnectionInPP::m_connectorIn
int * m_connectorIn[NumberOfPPOutputConnector]
Definition: TGCConnectionInPP.h:43
TGCPatchPanel.h
LVL1TGCTrigger::TGCConnectionInPP::getPPIn
TGCPatchPanel * getPPIn(int connectorOut, int chOut)
Definition: TGCConnectionInPP.cxx:328