ATLAS Offline Software
TGCConnectionASDToPP.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigT1TGC_TGCConnectionASDToPP_hh
6 #define TrigT1TGC_TGCConnectionASDToPP_hh
7 
9 #include <sstream>
10 
11 namespace LVL1TGCTrigger {
12 
14 public:
15  int getConnection(const int sideId, const int layer, const int chamber, const int line, int* pp, int* connector, int* channel) const;
16 
17  bool readData(TGCRegionType region, int type, TGCForwardBackwardType forward); // read database
18 
19  void dump() const; // print out connection table.
20 
25 
26 private:
28  int m_type;
30  // for ASD
31  int* m_layerId;
33  int* m_lineId;
34  // for PP
35  int* m_PPId;
38 
39  // Strip backwardLayer -> 0 1 2 3 4 5 6 7 8
40  static constexpr int s_forwardLayer[] = {2, 1, 0, 4, 3, 6, 5, 8, 7};
41 };
42 
43 } // end of namespace
44 
45 #endif
checkFileSG.line
line
Definition: checkFileSG.py:75
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
LVL1TGCTrigger::TGCConnectionASDToPP::m_lineId
int * m_lineId
Definition: TGCConnectionASDToPP.h:33
calibdata.chamber
chamber
Definition: calibdata.py:32
LVL1TGCTrigger::TGCConnectionASDToPP::dump
void dump() const
Definition: TGCConnectionASDToPP.cxx:40
LVL1TGCTrigger::TGCConnectionASDToPP::m_channelId
int * m_channelId
Definition: TGCConnectionASDToPP.h:37
LVL1TGCTrigger::TGCConnectionASDToPP::m_type
int m_type
Definition: TGCConnectionASDToPP.h:28
LVL1TGCTrigger::TGCConnectionASDToPP::m_forwardBackward
TGCForwardBackwardType m_forwardBackward
Definition: TGCConnectionASDToPP.h:29
LVL1TGCTrigger::TGCForwardBackwardType
TGCForwardBackwardType
Definition: TGCNumbering.h:59
LVL1TGCTrigger::TGCConnectionASDToPP::readData
bool readData(TGCRegionType region, int type, TGCForwardBackwardType forward)
Definition: TGCConnectionASDToPP.cxx:52
LVL1TGCTrigger::TGCConnectionASDToPP::m_connectorId
int * m_connectorId
Definition: TGCConnectionASDToPP.h:36
LVL1TGCTrigger::TGCConnectionASDToPP::m_chamberId
int * m_chamberId
Definition: TGCConnectionASDToPP.h:32
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
LVL1TGCTrigger::TGCConnectionASDToPP::~TGCConnectionASDToPP
~TGCConnectionASDToPP()
Definition: TGCConnectionASDToPP.cxx:227
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCConnectionASDToPP::s_forwardLayer
static constexpr int s_forwardLayer[]
Definition: TGCConnectionASDToPP.h:40
TGCNumbering.h
LVL1TGCTrigger::TGCConnectionASDToPP::m_layerId
int * m_layerId
Definition: TGCConnectionASDToPP.h:31
LVL1TGCTrigger::TGCConnectionASDToPP::TGCConnectionASDToPP
TGCConnectionASDToPP()
Definition: TGCConnectionASDToPP.cxx:219
LVL1TGCTrigger::TGCRegionType
TGCRegionType
Definition: TGCNumbering.h:49
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1TGCTrigger::TGCConnectionASDToPP::m_PPId
int * m_PPId
Definition: TGCConnectionASDToPP.h:35
LVL1TGCTrigger::TGCConnectionASDToPP::m_totalNumberOfChannel
int m_totalNumberOfChannel
Definition: TGCConnectionASDToPP.h:27
LVL1TGCTrigger::TGCConnectionASDToPP
Definition: TGCConnectionASDToPP.h:13
LVL1TGCTrigger::TGCConnectionASDToPP::operator=
TGCConnectionASDToPP & operator=(const TGCConnectionASDToPP &right)
Definition: TGCConnectionASDToPP.cxx:184
LVL1TGCTrigger::TGCConnectionASDToPP::getConnection
int getConnection(const int sideId, const int layer, const int chamber, const int line, int *pp, int *connector, int *channel) const
Definition: TGCConnectionASDToPP.cxx:20