ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace LVL1TGCTrigger {
12
14public:
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
26private:
28 int m_type;
30 // for ASD
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
TGCConnectionASDToPP & operator=(const TGCConnectionASDToPP &right)
int getConnection(const int sideId, const int layer, const int chamber, const int line, int *pp, int *connector, int *channel) const
bool readData(TGCRegionType region, int type, TGCForwardBackwardType forward)