ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1TGC
TrigT1TGC
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
9
#include "
TrigT1TGC/TGCPatchPanel.h
"
10
#include <iostream>
11
#include <vector>
12
13
namespace
LVL1TGCTrigger
{
14
15
class
TGCConnectionInPP
{
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
;
28
void
readConnectionTable
(
TGCPatchPanel
* PP);
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
34
TGCConnectionInPP
();
35
~TGCConnectionInPP
();
36
TGCConnectionInPP
(
const
TGCConnectionInPP
& right);
37
TGCConnectionInPP
&
operator=
(
const
TGCConnectionInPP
& right);
38
39
private
:
40
int
m_nCh
[
NumberOfPPOutputConnector
];
41
TGCPatchPanel
**
m_patchPanelIn
[
NumberOfPPOutputConnector
];
42
int
*
m_channelIn
[
NumberOfPPOutputConnector
];
43
int
*
m_connectorIn
[
NumberOfPPOutputConnector
];
44
45
TGCPatchPanel
**
m_oredPatchPanelIn
[
NumberOfPPOutputConnector
];
46
int
*
m_oredChannelIn
[
NumberOfPPOutputConnector
];
47
int
*
m_oredConnectorIn
[
NumberOfPPOutputConnector
];
48
};
49
50
}
// end of namespace
51
52
#endif
// TGCConnectionInPP_hh
TGCPatchPanel.h
LVL1TGCTrigger::TGCConnectionInPP
Definition
TGCConnectionInPP.h:15
LVL1TGCTrigger::TGCConnectionInPP::m_oredConnectorIn
int * m_oredConnectorIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:47
LVL1TGCTrigger::TGCConnectionInPP::getNumberOfChannel
int getNumberOfChannel(int i) const
Definition
TGCConnectionInPP.h:24
LVL1TGCTrigger::TGCConnectionInPP::getConnectorIn
int getConnectorIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:328
LVL1TGCTrigger::TGCConnectionInPP::TGCConnectionInPP
TGCConnectionInPP()
Definition
TGCConnectionInPP.cxx:192
LVL1TGCTrigger::TGCConnectionInPP::~TGCConnectionInPP
~TGCConnectionInPP()
Definition
TGCConnectionInPP.cxx:205
LVL1TGCTrigger::TGCConnectionInPP::m_nCh
int m_nCh[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:40
LVL1TGCTrigger::TGCConnectionInPP::m_oredChannelIn
int * m_oredChannelIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:46
LVL1TGCTrigger::TGCConnectionInPP::m_patchPanelIn
TGCPatchPanel ** m_patchPanelIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:41
LVL1TGCTrigger::TGCConnectionInPP::dumpConnection
void dumpConnection(int PPId=0) const
Definition
TGCConnectionInPP.cxx:156
LVL1TGCTrigger::TGCConnectionInPP::m_oredPatchPanelIn
TGCPatchPanel ** m_oredPatchPanelIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:45
LVL1TGCTrigger::TGCConnectionInPP::m_channelIn
int * m_channelIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:42
LVL1TGCTrigger::TGCConnectionInPP::readConnectionTable
void readConnectionTable(TGCPatchPanel *PP)
Definition
TGCConnectionInPP.cxx:18
LVL1TGCTrigger::TGCConnectionInPP::getOredChannelIn
int getOredChannelIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:341
LVL1TGCTrigger::TGCConnectionInPP::getOredConnectorIn
int getOredConnectorIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:346
LVL1TGCTrigger::TGCConnectionInPP::getPPIn
TGCPatchPanel * getPPIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:333
LVL1TGCTrigger::TGCConnectionInPP::operator=
TGCConnectionInPP & operator=(const TGCConnectionInPP &right)
Definition
TGCConnectionInPP.cxx:270
LVL1TGCTrigger::TGCConnectionInPP::replacePatchPanelPointers
bool replacePatchPanelPointers(TGCPatchPanel *newPatchPanel, const std::vector< const TGCPatchPanel * > &oldPatchPanels)
Definition
TGCConnectionInPP.cxx:359
LVL1TGCTrigger::TGCConnectionInPP::getOredPPIn
TGCPatchPanel * getOredPPIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:351
LVL1TGCTrigger::TGCConnectionInPP::existOredSignal
bool existOredSignal() const
Definition
TGCConnectionInPP.cxx:148
LVL1TGCTrigger::TGCConnectionInPP::getChannelIn
int getChannelIn(int connectorOut, int chOut)
Definition
TGCConnectionInPP.cxx:323
LVL1TGCTrigger::TGCConnectionInPP::m_connectorIn
int * m_connectorIn[NumberOfPPOutputConnector]
Definition
TGCConnectionInPP.h:43
LVL1TGCTrigger::TGCPatchPanel
Definition
TGCPatchPanel.h:38
LVL1TGCTrigger
Definition
LVL1TGCTrigger.cxx:48
LVL1TGCTrigger::NumberOfPPOutputConnector
const int NumberOfPPOutputConnector
Definition
TGCPatchPanel.h:32
Generated on
for ATLAS Offline Software by
1.17.0