ATLAS Offline Software
DblQ00Acut.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 /********************************************************
6  Class def for MuonGeoModel DblQ00/ACUT
7  *******************************************************/
8 
9  // author: S Spagnolo
10  // entered: 07/28/04
11  // comment: CUT OF STATION
12 
13 #ifndef DBLQ00_ACUT_H
14 #define DBLQ00_ACUT_H
15 #include <string>
16 #include <vector>
17 
18 
19 class IRDBAccessSvc;
20 
21 
22 namespace MuonGM {
23 class DblQ00Acut {
24 public:
25  DblQ00Acut() = default;
26  DblQ00Acut & operator=(const DblQ00Acut &right) = delete;
27  DblQ00Acut(const DblQ00Acut&) = delete;
28 
29  ~DblQ00Acut() = default;
30  DblQ00Acut(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
31 
32  // data members for DblQ00/ACUT fields
33  struct ACUT {
34  int version{0}; // VERSION
35  int i{0}; // INDEX
36  int icut{0}; // CUT-OUT INDEX
37  int n{0}; // NUMBER OF SUB-CUTS IN THE STATION
38  };
39 
40  const ACUT* data() const { return m_d.data(); };
41  unsigned int size() const { return m_nObj; };
42  const char* getName() const { return "ACUT"; };
43  const char* getDirName() const { return "DblQ00"; };
44  const char* getObjName() const { return "ACUT"; };
45 
46 private:
47  std::vector<ACUT> m_d;
48  unsigned int m_nObj{}; // > 1 if array; 0 if error in retrieve.
49 };
50 } // end of MuonGM namespace
51 
52 #endif // DBLQ00_ACUT_H
53 
MuonGM::DblQ00Acut::data
const ACUT * data() const
Definition: DblQ00Acut.h:40
MuonGM::DblQ00Acut
Definition: DblQ00Acut.h:23
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Acut::m_d
std::vector< ACUT > m_d
Definition: DblQ00Acut.h:44
MuonGM::DblQ00Acut::getObjName
const char * getObjName() const
Definition: DblQ00Acut.h:44
MuonGM::DblQ00Acut::operator=
DblQ00Acut & operator=(const DblQ00Acut &right)=delete
MuonGM::DblQ00Acut::m_nObj
unsigned int m_nObj
Definition: DblQ00Acut.h:48
MuonGM::DblQ00Acut::size
unsigned int size() const
Definition: DblQ00Acut.h:41
MuonGM::DblQ00Acut::ACUT::version
int version
Definition: DblQ00Acut.h:34
MuonGM::DblQ00Acut::ACUT::n
int n
Definition: DblQ00Acut.h:37
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
MuonGM::DblQ00Acut::~DblQ00Acut
~DblQ00Acut()=default
MuonGM::DblQ00Acut::ACUT
Definition: DblQ00Acut.h:33
MuonGM::DblQ00Acut::DblQ00Acut
DblQ00Acut()=default
MuonGM::DblQ00Acut::ACUT::i
int i
Definition: DblQ00Acut.h:35
MuonGM::DblQ00Acut::ACUT::icut
int icut
Definition: DblQ00Acut.h:36
MuonGM::DblQ00Acut::getDirName
const char * getDirName() const
Definition: DblQ00Acut.h:43
MuonGM::DblQ00Acut::getName
const char * getName() const
Definition: DblQ00Acut.h:42
MuonGM::DblQ00Acut::DblQ00Acut
DblQ00Acut(const DblQ00Acut &)=delete