ATLAS Offline Software
Loading...
Searching...
No Matches
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
8namespace 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; }
29 void setModuleID(int module) { m_moduleID = module; }
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
TileModuleHit getHit56() const
Definition TGCTMDBOut.h:37
void setHit6(const TileModuleHit hit)
Definition TGCTMDBOut.h:31
TGCTMDBOut & operator=(const TGCTMDBOut &right)=default
void setHit56(const TileModuleHit hit)
Definition TGCTMDBOut.h:30
virtual ~TGCTMDBOut()=default
void print() const
int getSide() const
Definition TGCTMDBOut.h:35
void setModuleID(int module)
Definition TGCTMDBOut.h:29
void setSide(int side)
Definition TGCTMDBOut.h:28
bool operator!=(const TGCTMDBOut &right) const =delete
TileModuleHit getHit6() const
Definition TGCTMDBOut.h:38
bool operator==(const TGCTMDBOut &right) const =delete
int getModuleID() const
Definition TGCTMDBOut.h:36
TileModuleHit m_hit_56
Definition TGCTMDBOut.h:46
TGCTMDBOut(const TGCTMDBOut &right)=default
TileModuleHit m_hit_6
Definition TGCTMDBOut.h:47