ATLAS Offline Software
TgcChamber.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TGCRAWDATAMONITORING_TGCCHAMBER_H
5 #define TGCRAWDATAMONITORING_TGCCHAMBER_H
6 #include "TgcBase.h"
7 #include <string>
8 namespace TGC {
9 
10  class TgcChamber {
11  public:
12  TgcChamber() = default;
13 
14  void initChamber(const std::string& chamber_name);
15  void initChamber(TGCSIDE side,int sec,int m, int phi, int eta);
16  void initChamber(TGCSIDE side,int stationEta ,int stationPhi, int stationName);
17  void initChamber(int stationEta ,int stationPhi, int stationName);
18 
19  const std::string& cham_name() const;
20  const TGCSIDE& iSide() const;
21  const TGCDETECTOR& DetId() const;
22  const int& iSec() const;
23  const int& iM() const;
24  const int& iPhi() const;
25  const int& iEta() const;
26  const int& StationName() const;
27  const int& StationEta() const;
28  const int& StationPhi() const;
29 
30  private:
31  std::string m_cham_name;
34  int m_iSec{};
35  int m_iM{};
36  int m_iPhi{};
37  int m_iEta{};
39  int m_stationEta{};
40  int m_stationPhi{};
41  };
42 
43  inline const std::string& TgcChamber::cham_name() const {return m_cham_name;}
44  inline const TGCSIDE& TgcChamber::iSide() const {return m_iSide;}
45  inline const TGCDETECTOR& TgcChamber::DetId() const {return m_detId;}
46  inline const int& TgcChamber::iSec() const {return m_iSec;}
47  inline const int& TgcChamber::iM() const {return m_iM;}
48  inline const int& TgcChamber::iPhi() const {return m_iPhi;}
49  inline const int& TgcChamber::iEta() const {return m_iEta;}
50  inline const int& TgcChamber::StationName() const {return m_stationName;}
51  inline const int& TgcChamber::StationEta() const {return m_stationEta;}
52  inline const int& TgcChamber::StationPhi() const {return m_stationPhi;}
53 
54 }
55 #endif
TgcBase.h
TGC::TgcChamber::initChamber
void initChamber(const std::string &chamber_name)
Definition: TgcChamber.cxx:8
TGC::TgcChamber::m_stationName
int m_stationName
Definition: TgcChamber.h:38
TGC::TgcChamber::DetId
const TGCDETECTOR & DetId() const
Definition: TgcChamber.h:45
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
TGC::TgcChamber::cham_name
const std::string & cham_name() const
Definition: TgcChamber.h:43
TGC::TgcChamber::iSec
const int & iSec() const
Definition: TgcChamber.h:46
TGC::TgcChamber::StationName
const int & StationName() const
Definition: TgcChamber.h:50
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
TGC::TgcChamber::m_iPhi
int m_iPhi
Definition: TgcChamber.h:36
TGC::TGCDETECTOR
TGCDETECTOR
Definition: TgcBase.h:8
TGC::TgcChamber::m_stationEta
int m_stationEta
Definition: TgcChamber.h:39
createDCubeDigitHistograms_withSel.chamber_name
chamber_name
Definition: createDCubeDigitHistograms_withSel.py:109
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TGC::TgcChamber::m_stationPhi
int m_stationPhi
Definition: TgcChamber.h:40
TGC
Definition: TgcBase.h:6
TGC::TgcChamber::m_iM
int m_iM
Definition: TgcChamber.h:35
TGC::TgcChamber::m_detId
TGCDETECTOR m_detId
Definition: TgcChamber.h:33
TGC::TgcChamber::m_cham_name
std::string m_cham_name
Definition: TgcChamber.h:31
TGC::TgcChamber
Definition: TgcChamber.h:10
TGC::TgcChamber::m_iEta
int m_iEta
Definition: TgcChamber.h:37
TGC::TGCSIDE
TGCSIDE
Definition: TgcBase.h:10
TGC::TgcChamber::iPhi
const int & iPhi() const
Definition: TgcChamber.h:48
TGC::TgcChamber::TgcChamber
TgcChamber()=default
TGC::TgcChamber::StationEta
const int & StationEta() const
Definition: TgcChamber.h:51
TGC::TgcChamber::iM
const int & iM() const
Definition: TgcChamber.h:47
TGC::TgcChamber::m_iSide
TGCSIDE m_iSide
Definition: TgcChamber.h:32
TGC::TgcChamber::m_iSec
int m_iSec
Definition: TgcChamber.h:34
TGC::TgcChamber::StationPhi
const int & StationPhi() const
Definition: TgcChamber.h:52
TGC::TgcChamber::iSide
const TGCSIDE & iSide() const
Definition: TgcChamber.h:44
TGC::TgcChamber::iEta
const int & iEta() const
Definition: TgcChamber.h:49