ATLAS Offline Software
TGCTMDBOut.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigT1TGC_TGCTMDBOut_H
6 #define TrigT1TGC_TGCTMDBOut_H
7 
8 namespace LVL1TGC {
9 
11 {
12  public:
14 
15  TGCTMDBOut();
16  TGCTMDBOut(const int side, const int module,
17  const TileModuleHit hit56=TM_NOHIT,
18  const TileModuleHit hit6=TM_NOHIT);
19  virtual ~TGCTMDBOut() = default;
20 
21  TGCTMDBOut(const TGCTMDBOut& right) = default;
22  TGCTMDBOut& operator = (const TGCTMDBOut& right) = default;
23 
24  bool operator == (const TGCTMDBOut& right) const = delete;
25  bool operator != (const TGCTMDBOut& right) const = delete;
26 
27  // set functons
28  void setSide(int side) { m_sideID = side; }
30  void setHit56(const TileModuleHit hit) { m_hit_56 = hit; }
31  void setHit6(const TileModuleHit hit) { m_hit_6 = hit; }
33 
34  // get functions
35  int getSide() const { return m_sideID; }
36  int getModuleID() const { return m_moduleID; }
37  TileModuleHit getHit56() const { return m_hit_56; }
38  TileModuleHit getHit6() const { return m_hit_6; }
39 
40  // methods
41  void print() const;
42 
43  protected:
44  int m_sideID; // 0:A-side 1:C-side
45  int m_moduleID; // 0..63
46  TileModuleHit m_hit_56; // 0: No Hit, 1: Low, 2: High, 3: NA
47  TileModuleHit m_hit_6; // 0: No Hit, 1: Low, 2: High, 3: NA
48 
49 };
50 
51 
52 } // end of namespace
53 
54 #endif
LVL1TGC::TGCTMDBOut::m_hit_56
TileModuleHit m_hit_56
Definition: TGCTMDBOut.h:46
LVL1TGC::TGCTMDBOut::~TGCTMDBOut
virtual ~TGCTMDBOut()=default
LVL1TGC::TGCTMDBOut::operator=
TGCTMDBOut & operator=(const TGCTMDBOut &right)=default
LVL1TGC::TGCTMDBOut::operator==
bool operator==(const TGCTMDBOut &right) const =delete
LVL1TGC::TGCTMDBOut
Definition: TGCTMDBOut.h:11
LVL1TGC::TGCTMDBOut::m_hit_6
TileModuleHit m_hit_6
Definition: TGCTMDBOut.h:47
LVL1TGC::TGCTMDBOut::m_sideID
int m_sideID
Definition: TGCTMDBOut.h:44
LVL1TGC::TGCTMDBOut::getSide
int getSide() const
Definition: TGCTMDBOut.h:35
LVL1TGC::TGCTMDBOut::TGCTMDBOut
TGCTMDBOut()
Definition: TGCTMDBOut.cxx:11
TRT::Hit::side
@ side
Definition: HitInfo.h:83
python.PyAthena.module
module
Definition: PyAthena.py:131
LVL1TGC::TGCTMDBOut::TGCTMDBOut
TGCTMDBOut(const TGCTMDBOut &right)=default
LVL1TGC::TGCTMDBOut::TM_NOHIT
@ TM_NOHIT
Definition: TGCTMDBOut.h:13
LVL1TGC::TGCTMDBOut::TM_HIGH
@ TM_HIGH
Definition: TGCTMDBOut.h:13
LVL1TGC::TGCTMDBOut::setSide
void setSide(int side)
Definition: TGCTMDBOut.h:28
LVL1TGC
Definition: BigWheelCoincidenceLUT.cxx:20
LVL1TGC::TGCTMDBOut::TM_NA
@ TM_NA
Definition: TGCTMDBOut.h:13
LVL1TGC::TGCTMDBOut::getHit56
TileModuleHit getHit56() const
Definition: TGCTMDBOut.h:37
LVL1TGC::TGCTMDBOut::getHit6
TileModuleHit getHit6() const
Definition: TGCTMDBOut.h:38
LVL1TGC::TGCTMDBOut::setHit56
void setHit56(const TileModuleHit hit)
Definition: TGCTMDBOut.h:30
LVL1TGC::TGCTMDBOut::operator!=
bool operator!=(const TGCTMDBOut &right) const =delete
LVL1TGC::TGCTMDBOut::setModuleID
void setModuleID(int module)
Definition: TGCTMDBOut.h:29
LVL1TGC::TGCTMDBOut::getModuleID
int getModuleID() const
Definition: TGCTMDBOut.h:36
LVL1TGC::TGCTMDBOut::TM_LOW
@ TM_LOW
Definition: TGCTMDBOut.h:13
LVL1TGC::TGCTMDBOut::m_moduleID
int m_moduleID
Definition: TGCTMDBOut.h:45
LVL1TGC::TGCTMDBOut::print
void print() const
Definition: TGCTMDBOut.cxx:21
LVL1TGC::TGCTMDBOut::TileModuleHit
TileModuleHit
Definition: TGCTMDBOut.h:13
LVL1TGC::TGCTMDBOut::setHit6
void setHit6(const TileModuleHit hit)
Definition: TGCTMDBOut.h:31
LVL1TGC::TGCTMDBOut::clear
void clear()
Definition: TGCTMDBOut.h:32