ATLAS Offline Software
Loading...
Searching...
No Matches
TGCConnectionASDToPP.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigT1TGC_TGCConnectionASDToPP_hh
6#define TrigT1TGC_TGCConnectionASDToPP_hh
7
9
10namespace LVL1TGCTrigger {
11
13public:
14 int getConnection(const int sideId, const int layer, const int chamber, const int line, int* pp, int* connector, int* channel) const;
15
16 bool readData(TGCRegionType region, int type, TGCForwardBackwardType forward); // read database
17
18 void dump() const; // print out connection table.
19
24
25private:
27 int m_type;
29 // for ASD
33 // for PP
34 int* m_PPId;
37
38 // Strip backwardLayer -> 0 1 2 3 4 5 6 7 8
39 static constexpr int s_forwardLayer[] = {2, 1, 0, 4, 3, 6, 5, 8, 7};
40};
41
42} // end of namespace
43
44#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)