ATLAS Offline Software
MuCTPiGeometry.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 TrigConf_MuCTPiGeometry
6 #define TrigConf_MuCTPiGeometry
7 
8 
9 //need type_traits for vector member
11 
13 #include <string>
14 #include <vector>
15 #include <iosfwd>
16 
17 
19  public:
21  virtual ~MuCTPiGeometry() = default;
22 
23  // getters
24  const std::vector<MioctGeometry>& octants() {return m_Octants; };
25  const L1MuonPtEncoding & ptEncoding() const { return m_ptEncoding; }
26 
27  // setters
28  void addOctant( const MioctGeometry& octant) {m_Octants.push_back(octant);};
30 
31 
32  virtual void print(const std::string& indent="", unsigned int detail=1) const;
33  virtual void writeXML(std::ostream & xmlfile, int indentLevel=0, int indentWidth=4) const;
34 
35 private:
36  std::vector<MioctGeometry> m_Octants;
38 
39 };
40 
41 
42 #endif
43 
MuCTPiGeometry::addOctant
void addOctant(const MioctGeometry &octant)
Definition: MuCTPiGeometry.h:28
MioctGeometry.h
MuCTPiGeometry::ptEncoding
const L1MuonPtEncoding & ptEncoding() const
Definition: MuCTPiGeometry.h:25
MuCTPiGeometry::m_ptEncoding
L1MuonPtEncoding m_ptEncoding
Definition: MuCTPiGeometry.h:37
MuCTPiGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=4) const
Definition: MuCTPiGeometry.cxx:27
MuCTPiGeometry::~MuCTPiGeometry
virtual ~MuCTPiGeometry()=default
MuCTPiGeometry
Definition: MuCTPiGeometry.h:18
MuCTPiGeometry::m_Octants
std::vector< MioctGeometry > m_Octants
Definition: MuCTPiGeometry.h:36
MuCTPiGeometry::octants
const std::vector< MioctGeometry > & octants()
Definition: MuCTPiGeometry.h:24
detail
Definition: extract_histogram_tag.cxx:14
MuCTPiGeometry::MuCTPiGeometry
MuCTPiGeometry()
Definition: MuCTPiGeometry.cxx:14
L1MuonPtEncoding
Definition: L1MuonPtEncoding.h:10
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:36
MuCTPiGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition: MuCTPiGeometry.cxx:19
L1MuonPtEncoding.h
MioctGeometry
Definition: MioctGeometry.h:14
MuCTPiGeometry::setPtEncoding
void setPtEncoding(const L1MuonPtEncoding &ptEncoding)
Definition: MuCTPiGeometry.h:29