ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleSLB.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONTGC_CABLING_TGCMODULESLB_HH
6#define MUONTGC_CABLING_TGCMODULESLB_HH
7
9
10namespace MuonTGC_Cabling {
11
12class TGCModuleSLB : public TGCModuleId {
13 public:
14 // Constructor & Destructor
16 TGCId::RegionType region, int sector, int id, int sbLoc = -1,
17 int slbAddr = -1);
18
19 virtual ~TGCModuleSLB() = default;
20
21 virtual bool isValid() const;
22
23 // special method for SLB
24 int getSBLoc() const { return m_sbLoc; }
25 int getSlbAddr() const { return m_slbAddr; }
26
27 private:
28 int m_sbLoc{0};
29 int m_slbAddr{0};
30};
31
32} // namespace MuonTGC_Cabling
33
34#endif
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:27
TGCModuleSLB(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id, int sbLoc=-1, int slbAddr=-1)
virtual bool isValid() const
virtual ~TGCModuleSLB()=default