ATLAS Offline Software
Loading...
Searching...
No Matches
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
19class IRDBAccessSvc;
20
21
22namespace MuonGM {
24public:
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
46private:
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
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::vector< ACUT > m_d
Definition DblQ00Acut.h:47
const char * getName() const
Definition DblQ00Acut.h:42
const ACUT * data() const
Definition DblQ00Acut.h:40
DblQ00Acut & operator=(const DblQ00Acut &right)=delete
DblQ00Acut()=default
const char * getDirName() const
Definition DblQ00Acut.h:43
unsigned int m_nObj
Definition DblQ00Acut.h:48
DblQ00Acut(const DblQ00Acut &)=delete
const char * getObjName() const
Definition DblQ00Acut.h:44
~DblQ00Acut()=default
unsigned int size() const
Definition DblQ00Acut.h:41
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27