ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace LVL1TGCTrigger {
14
16public:
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
39private:
44
48};
49
50} // end of namespace
51
52#endif // TGCConnectionInPP_hh
int * m_oredConnectorIn[NumberOfPPOutputConnector]
int getConnectorIn(int connectorOut, int chOut)
int m_nCh[NumberOfPPOutputConnector]
int * m_oredChannelIn[NumberOfPPOutputConnector]
TGCPatchPanel ** m_patchPanelIn[NumberOfPPOutputConnector]
TGCPatchPanel ** m_oredPatchPanelIn[NumberOfPPOutputConnector]
int * m_channelIn[NumberOfPPOutputConnector]
void readConnectionTable(TGCPatchPanel *PP)
int getOredChannelIn(int connectorOut, int chOut)
int getOredConnectorIn(int connectorOut, int chOut)
TGCPatchPanel * getPPIn(int connectorOut, int chOut)
TGCConnectionInPP & operator=(const TGCConnectionInPP &right)
bool replacePatchPanelPointers(TGCPatchPanel *newPatchPanel, const std::vector< const TGCPatchPanel * > &oldPatchPanels)
TGCPatchPanel * getOredPPIn(int connectorOut, int chOut)
int getChannelIn(int connectorOut, int chOut)
int * m_connectorIn[NumberOfPPOutputConnector]
const int NumberOfPPOutputConnector