ATLAS Offline Software
TGCRPhiCoincidenceMatrix.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TGCRPhiCoincidenceMatrix_hh
6 #define TGCRPhiCoincidenceMatrix_hh
7 
8 
9 #include <memory>
10 
11 namespace LVL1TGC {
12 class BigWheelCoincidenceLUT;
13 }
14 
15 namespace LVL1TGCTrigger {
16 
17 class TGCSectorLogic;
18 class TGCRPhiCoincidenceOut;
19 class TGCArguments;
20 
22  public:
23  void setSSCId(int SSCIdIn){ m_SSCId=SSCIdIn;};
24  void setSideId(int sideIdIn){ m_sideId=sideIdIn;};
25  void setCoincidenceLUT(std::shared_ptr<const LVL1TGC::BigWheelCoincidenceLUT> lut);
26  void inputR(int rIn, int dRIn, int ptRIn);
27  void inputPhi(int phiIn, int dPhiIn, int ptPhiIn);
28  void clear();
30 
32  virtual ~TGCRPhiCoincidenceMatrix();
33 
36 
37  const TGCArguments* tgcArgs() const { return m_tgcArgs; }
38 
39  private:
40  enum {MaxNPhiHit = 2};
41 
43 
45  std::shared_ptr<const LVL1TGC::BigWheelCoincidenceLUT> m_lut;
46 
47  int m_nPhiHit;
48  int m_SSCId;
49  int m_r;
50  int m_dR;
51  int m_ptR;
55  int m_sideId;
56 
58 };
59 
60 } // LVL1TGCTrigger namespace
61 
62 #endif // TGCRPhiCoincidenceMatrix_hh
63 
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_sideId
int m_sideId
Definition: TGCRPhiCoincidenceMatrix.h:55
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::inputR
void inputR(int rIn, int dRIn, int ptRIn)
Definition: TGCRPhiCoincidenceMatrix.cxx:19
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_SSCId
int m_SSCId
Definition: TGCRPhiCoincidenceMatrix.h:48
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_ptPhi
int m_ptPhi[MaxNPhiHit]
Definition: TGCRPhiCoincidenceMatrix.h:54
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix
Definition: TGCRPhiCoincidenceMatrix.h:21
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_ptR
int m_ptR
Definition: TGCRPhiCoincidenceMatrix.h:51
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_matrixOut
TGCRPhiCoincidenceOut * m_matrixOut
Definition: TGCRPhiCoincidenceMatrix.h:44
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_sectorLogic
const TGCSectorLogic * m_sectorLogic
Definition: TGCRPhiCoincidenceMatrix.h:42
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_nPhiHit
int m_nPhiHit
Definition: TGCRPhiCoincidenceMatrix.h:47
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_phi
int m_phi[MaxNPhiHit]
Definition: TGCRPhiCoincidenceMatrix.h:52
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_dPhi
int m_dPhi[MaxNPhiHit]
Definition: TGCRPhiCoincidenceMatrix.h:53
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::tgcArgs
const TGCArguments * tgcArgs() const
Definition: TGCRPhiCoincidenceMatrix.h:37
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_r
int m_r
Definition: TGCRPhiCoincidenceMatrix.h:49
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_dR
int m_dR
Definition: TGCRPhiCoincidenceMatrix.h:50
ITkPixEncoding::lut
constexpr auto lut(Generator &&f)
Definition: ITkPixQCoreEncodingLUT.h:19
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::doCoincidence
TGCRPhiCoincidenceOut * doCoincidence()
Definition: TGCRPhiCoincidenceMatrix.cxx:60
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::operator=
TGCRPhiCoincidenceMatrix & operator=(const TGCRPhiCoincidenceMatrix &right)
Definition: TGCRPhiCoincidenceMatrix.cxx:148
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_lut
std::shared_ptr< const LVL1TGC::BigWheelCoincidenceLUT > m_lut
Definition: TGCRPhiCoincidenceMatrix.h:45
LVL1TGC
Definition: BigWheelCoincidenceLUT.cxx:20
LVL1TGCTrigger::TGCRPhiCoincidenceOut
Definition: TGCRPhiCoincidenceOut.h:11
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::~TGCRPhiCoincidenceMatrix
virtual ~TGCRPhiCoincidenceMatrix()
Definition: TGCRPhiCoincidenceMatrix.cxx:143
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::clear
void clear()
Definition: TGCRPhiCoincidenceMatrix.cxx:49
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::setSideId
void setSideId(int sideIdIn)
Definition: TGCRPhiCoincidenceMatrix.h:24
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::inputPhi
void inputPhi(int phiIn, int dPhiIn, int ptPhiIn)
Definition: TGCRPhiCoincidenceMatrix.cxx:31
LVL1TGCTrigger::TGCArguments
Definition: TGCArguments.h:12
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::TGCRPhiCoincidenceMatrix
TGCRPhiCoincidenceMatrix(const TGCRPhiCoincidenceMatrix &right)=default
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::m_tgcArgs
const TGCArguments * m_tgcArgs
Definition: TGCRPhiCoincidenceMatrix.h:57
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::setCoincidenceLUT
void setCoincidenceLUT(std::shared_ptr< const LVL1TGC::BigWheelCoincidenceLUT > lut)
Definition: TGCRPhiCoincidenceMatrix.cxx:127
LVL1TGCTrigger::TGCSectorLogic
Definition: TGCSectorLogic.h:41
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::MaxNPhiHit
@ MaxNPhiHit
Definition: TGCRPhiCoincidenceMatrix.h:40
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::TGCRPhiCoincidenceMatrix
TGCRPhiCoincidenceMatrix(const TGCArguments *, const TGCSectorLogic *sL=0)
Definition: TGCRPhiCoincidenceMatrix.cxx:131
LVL1TGCTrigger::TGCRPhiCoincidenceMatrix::setSSCId
void setSSCId(int SSCIdIn)
Definition: TGCRPhiCoincidenceMatrix.h:23