ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleId.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONTGC_CABLING_TGCMODULEID_H
6#define MUONTGC_CABLING_TGCMODULEID_H
7
9
10namespace MuonTGC_Cabling {
11
12class TGCModuleId : public TGCId {
13 public:
25
26 // Constructor & Destructor
29 virtual ~TGCModuleId() = default;
31
33
34 virtual bool operator==(const TGCModuleId& moduleId) const;
35
36 virtual bool isValid() const { return true; }
37
38 int getReadoutSector() const { return m_sectorRO; }
39 void setReadoutSector(int sector) { m_sectorRO = sector; }
40 virtual void setSector(int v_sector);
41
42 private:
44 int m_sectorRO{-1};
45};
46
47} // namespace MuonTGC_Cabling
48
49#endif
TGCId(IdType vtype=IdType::NoIdType)
Definition TGCId.cxx:9
ModuleIdType getModuleIdType() const
Definition TGCModuleId.h:32
virtual bool isValid() const
Definition TGCModuleId.h:36
void setReadoutSector(int sector)
Definition TGCModuleId.h:39
virtual void setSector(int v_sector)
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:27
virtual bool operator==(const TGCModuleId &moduleId) const
virtual ~TGCModuleId()=default