ATLAS Offline Software
SCT_DataBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SCT_GeoModel_SCT_DataBase_H
6 #define SCT_GeoModel_SCT_DataBase_H
7 
10 #include <string>
11 
13 class IRDBRecord;
14 
15 
17 {
18 
19 
20 public:
21 
23 
25 
29 
31  const IRDBRecord* conditions() const;
32 
33  const IRDBRecord* brlSensor() const;
34  const IRDBRecord* brlModule() const;
35 
36  const IRDBRecord* brlSki() const;
37  const IRDBRecord* brlSkiZ(int i) const;
38  int brlSkiZSize() const;
39  const IRDBRecord* brlLayer(int i) const;
40  const IRDBRecord* brlServices() const;
41  const IRDBRecord* brlServPerLayer(int i) const;
42  const IRDBRecord* brlThermalShield() const;
43  const IRDBRecord* brlGeneral() const;
44  const IRDBRecord* brlFSI() const;
45  int brlFSISize() const;
46  const IRDBRecord* brlFSILocation(int i) const;
47 
48  const IRDBRecord* fwdSensor(int i) const;
49  const IRDBRecord* fwdHybrid() const;
50  const IRDBRecord* fwdSpine(int i) const;
51  const IRDBRecord* fwdModule(int i) const;
52  int fwdModuleSize() const;
54  const IRDBRecord* fwdModuleConnector() const;
55 
56  const IRDBRecord* fwdRing(int i) const;
57  int fwdRingSize() const;
58  const IRDBRecord* fwdWheel(int i) const;
59  const IRDBRecord* fwdWheelRingMap(int i) const;
60  int fwdWheelRingMapSize() const;
61  const IRDBRecord* fwdDiscSupport() const;
62  const IRDBRecord* fwdPatchPanelLoc(int i) const;
63  int fwdPatchPanelLocSize() const;
64  const IRDBRecord* fwdPatchPanel(int i) const;
65  int fwdPatchPanelSize() const;
66  const IRDBRecord* fwdPPConnector() const;
67  int fwdPPConnectorSize() const;
68  const IRDBRecord* fwdPPCooling() const;
69  int fwdPPCoolingSize() const;
70  const IRDBRecord* fwdCoolingBlock(int i) const;
71  const IRDBRecord* fwdRingServices(int i) const;
72  const IRDBRecord* fwdServices() const;
73  const IRDBRecord* fwdFSILocation(int i) const;
74  int fwdFSILocationSize() const;
75  const IRDBRecord* fwdFSIType(int i) const;
76  int fwdFSITypeSize() const;
77  const IRDBRecord* fwdFSI(int i) const;
78  int fwdFSISize() const;
79  const IRDBRecord* fwdThermalShield(int i) const;
80  int fwdThermalShieldSize() const;
81  const IRDBRecord* fwdGeneral() const;
83  const IRDBRecord* fwdOptoHarness(int i) const;
85  const IRDBRecord* fwdDiscFixation() const;
86  const IRDBRecord* fwdCylServ(int i) const;
87  int fwdCylServSize() const;
88  const IRDBRecord* fwdCylServLoc(int i) const;
89  int fwdCylServLocSize() const;
90 
91  // Return the SCT version tag.
92  const std::string & versionTag() const;
93 
94  MsgStream& msg (MSG::Level lvl) const;
95 
96 private:
97 
100 
101 private:
102 
104 
105  std::string m_sctVersionTag;
106 
111 
148 
149 
150 };
151 
152 #endif //SCT_GeoModel_SCT_DataBase_H
SCT_DataBase::fwdGeneral
const IRDBRecord * fwdGeneral() const
Definition: SCT_DataBase.cxx:251
SCT_DataBase::fwdDiscFixation
const IRDBRecord * fwdDiscFixation() const
Definition: SCT_DataBase.cxx:254
SCT_DataBase::fwdFSIType
const IRDBRecord * fwdFSIType(int i) const
Definition: SCT_DataBase.cxx:245
SCT_DataBase::m_fwdPatchPanelLoc
IRDBRecordset_ptr m_fwdPatchPanelLoc
Definition: SCT_DataBase.h:132
SCT_DataBase::fwdHybrid
const IRDBRecord * fwdHybrid() const
Definition: SCT_DataBase.cxx:219
SCT_DataBase::fwdCylServLoc
const IRDBRecord * fwdCylServLoc(int i) const
Definition: SCT_DataBase.cxx:258
SCT_DataBase::m_fwdFSILocation
IRDBRecordset_ptr m_fwdFSILocation
Definition: SCT_DataBase.h:139
SCT_DataBase::m_fwdPPCooling
IRDBRecordset_ptr m_fwdPPCooling
Definition: SCT_DataBase.h:135
SCT_DataBase::m_fwdPatchPanel
IRDBRecordset_ptr m_fwdPatchPanel
Definition: SCT_DataBase.h:133
SCT_DataBase::brlSki
const IRDBRecord * brlSki() const
Definition: SCT_DataBase.cxx:206
SCT_DataBase::fwdPatchPanel
const IRDBRecord * fwdPatchPanel(int i) const
Definition: SCT_DataBase.cxx:234
SCT_DataBase::m_brlThermalShield
IRDBRecordset_ptr m_brlThermalShield
Definition: SCT_DataBase.h:119
SCT_DataBase::m_fwdThermalShield
IRDBRecordset_ptr m_fwdThermalShield
Definition: SCT_DataBase.h:142
SCT_DataBase::m_fwdWheel
IRDBRecordset_ptr m_fwdWheel
Definition: SCT_DataBase.h:129
SCT_DataBase::m_brlServPerLayer
IRDBRecordset_ptr m_brlServPerLayer
Definition: SCT_DataBase.h:118
SCT_DataBase::fwdFSI
const IRDBRecord * fwdFSI(int i) const
Definition: SCT_DataBase.cxx:247
SCT_DataBase::m_scalingTable
IRDBRecordset_ptr m_scalingTable
Definition: SCT_DataBase.h:108
SCT_DataBase::fwdPPConnectorSize
int fwdPPConnectorSize() const
Definition: SCT_DataBase.cxx:237
SCT_GeoModelAthenaComps.h
SCT_DataBase::m_brlLayer
IRDBRecordset_ptr m_brlLayer
Definition: SCT_DataBase.h:116
SCT_DataBase::fwdModule
const IRDBRecord * fwdModule(int i) const
Definition: SCT_DataBase.cxx:221
SCT_DataBase::conditionsTable
IRDBRecordset_ptr conditionsTable() const
Definition: SCT_DataBase.cxx:200
SCT_DataBase::fwdPPCoolingSize
int fwdPPCoolingSize() const
Definition: SCT_DataBase.cxx:239
SCT_DataBase::brlServices
const IRDBRecord * brlServices() const
Definition: SCT_DataBase.cxx:210
SCT_DataBase::fwdWheel
const IRDBRecord * fwdWheel(int i) const
Definition: SCT_DataBase.cxx:228
SCT_DataBase::m_fwdSpine
IRDBRecordset_ptr m_fwdSpine
Definition: SCT_DataBase.h:125
SCT_DataBase::fwdCylServ
const IRDBRecord * fwdCylServ(int i) const
Definition: SCT_DataBase.cxx:256
SCT_DataBase::m_fwdHybrid
IRDBRecordset_ptr m_fwdHybrid
Definition: SCT_DataBase.h:124
SCT_DataBase::m_fwdWheelRingMap
IRDBRecordset_ptr m_fwdWheelRingMap
Definition: SCT_DataBase.h:130
SCT_DataBase::fwdDiscSupport
const IRDBRecord * fwdDiscSupport() const
Definition: SCT_DataBase.cxx:231
SCT_DataBase::m_brlModule
IRDBRecordset_ptr m_brlModule
Definition: SCT_DataBase.h:113
SCT_DataBase::fwdSpine
const IRDBRecord * fwdSpine(int i) const
Definition: SCT_DataBase.cxx:220
SCT_DataBase::brlThermalShield
const IRDBRecord * brlThermalShield() const
Definition: SCT_DataBase.cxx:212
SCT_DataBase::fwdWheelRingMapSize
int fwdWheelRingMapSize() const
Definition: SCT_DataBase.cxx:230
SCT_DataBase::m_fwdFSI
IRDBRecordset_ptr m_fwdFSI
Definition: SCT_DataBase.h:141
SCT_DataBase::fwdRing
const IRDBRecord * fwdRing(int i) const
Definition: SCT_DataBase.cxx:226
SCT_DataBase::fwdCoolingBlock
const IRDBRecord * fwdCoolingBlock(int i) const
Definition: SCT_DataBase.cxx:240
SCT_DataBase::m_fwdRing
IRDBRecordset_ptr m_fwdRing
Definition: SCT_DataBase.h:128
SCT_DataBase::brlSkiZSize
int brlSkiZSize() const
Definition: SCT_DataBase.cxx:208
SCT_DataBase::m_fwdModuleConnector
IRDBRecordset_ptr m_fwdModuleConnector
Definition: SCT_DataBase.h:127
SCT_DataBase::m_brlFSI
IRDBRecordset_ptr m_brlFSI
Definition: SCT_DataBase.h:121
SCT_DataBase::fwdPatchPanelSize
int fwdPatchPanelSize() const
Definition: SCT_DataBase.cxx:235
SCT_DataBase::fwdSensor
const IRDBRecord * fwdSensor(int i) const
Definition: SCT_DataBase.cxx:218
SCT_DataBase::m_fwdCylServ
IRDBRecordset_ptr m_fwdCylServ
Definition: SCT_DataBase.h:146
SCT_DataBase::m_fwdGeneral
IRDBRecordset_ptr m_fwdGeneral
Definition: SCT_DataBase.h:143
SCT_DataBase::m_brlSensor
IRDBRecordset_ptr m_brlSensor
Definition: SCT_DataBase.h:112
SCT_DataBase::fwdRingServices
const IRDBRecord * fwdRingServices(int i) const
Definition: SCT_DataBase.cxx:241
SCT_DataBase::msg
MsgStream & msg(MSG::Level lvl) const
Definition: SCT_DataBase.cxx:265
SCT_DataBase::brlGeneral
const IRDBRecord * brlGeneral() const
Definition: SCT_DataBase.cxx:213
SCT_DataBase::fwdFSILocationSize
int fwdFSILocationSize() const
Definition: SCT_DataBase.cxx:244
SCT_DataBase::m_sctVersionTag
std::string m_sctVersionTag
Definition: SCT_DataBase.h:105
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
SCT_DataBase::brlFSISize
int brlFSISize() const
Definition: SCT_DataBase.cxx:215
SCT_DataBase::m_conditions
IRDBRecordset_ptr m_conditions
Definition: SCT_DataBase.h:110
SCT_DataBase::brlServPerLayer
const IRDBRecord * brlServPerLayer(int i) const
Definition: SCT_DataBase.cxx:211
SCT_DataBase::brlSensor
const IRDBRecord * brlSensor() const
Definition: SCT_DataBase.cxx:203
SCT_DataBase::fwdPatchPanelLocSize
int fwdPatchPanelLocSize() const
Definition: SCT_DataBase.cxx:233
SCT_DataBase::fwdModuleConnectorTable
IRDBRecordset_ptr fwdModuleConnectorTable() const
Definition: SCT_DataBase.cxx:223
SCT_DataBase::fwdModuleSize
int fwdModuleSize() const
Definition: SCT_DataBase.cxx:222
lumiFormat.i
int i
Definition: lumiFormat.py:85
SCT_DataBase::fwdOptoHarness
const IRDBRecord * fwdOptoHarness(int i) const
Definition: SCT_DataBase.cxx:253
SCT_DataBase::m_topLevel
IRDBRecordset_ptr m_topLevel
Definition: SCT_DataBase.h:109
SCT_DataBase::m_fwdModule
IRDBRecordset_ptr m_fwdModule
Definition: SCT_DataBase.h:126
SCT_DataBase
Definition: SCT_DataBase.h:17
SCT_DataBase::fwdPatchPanelLoc
const IRDBRecord * fwdPatchPanelLoc(int i) const
Definition: SCT_DataBase.cxx:232
SCT_DataBase::fwdThermalShield
const IRDBRecord * fwdThermalShield(int i) const
Definition: SCT_DataBase.cxx:249
SCT_DataBase::topLevelTable
IRDBRecordset_ptr topLevelTable() const
Definition: SCT_DataBase.cxx:198
SCT_DataBase::SCT_DataBase
SCT_DataBase(const SCT_DataBase &)
SCT_DataBase::m_fwdDiscFixation
IRDBRecordset_ptr m_fwdDiscFixation
Definition: SCT_DataBase.h:145
SCT_DataBase::scalingTable
IRDBRecordset_ptr scalingTable() const
Definition: SCT_DataBase.cxx:195
SCT_DataBase::m_fwdSensor
IRDBRecordset_ptr m_fwdSensor
Definition: SCT_DataBase.h:123
SCT_DataBase::fwdModuleConnector
const IRDBRecord * fwdModuleConnector() const
Definition: SCT_DataBase.cxx:224
SCT_DataBase::brlFSILocation
const IRDBRecord * brlFSILocation(int i) const
Definition: SCT_DataBase.cxx:216
SCT_DataBase::SCT_DataBase
SCT_DataBase(SCT_GeoModelAthenaComps *athenaComps)
Definition: SCT_DataBase.cxx:18
SCT_DataBase::fwdCylServLocSize
int fwdCylServLocSize() const
Definition: SCT_DataBase.cxx:259
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition: IRDBAccessSvc.h:25
SCT_DataBase::fwdThermalShieldSize
int fwdThermalShieldSize() const
Definition: SCT_DataBase.cxx:250
SCT_DataBase::versionTag
const std::string & versionTag() const
Definition: SCT_DataBase.cxx:261
SCT_DataBase::athenaComps
SCT_GeoModelAthenaComps * athenaComps()
Definition: SCT_DataBase.cxx:191
SCT_DataBase::m_fwdRingServices
IRDBRecordset_ptr m_fwdRingServices
Definition: SCT_DataBase.h:137
SCT_DataBase::m_brlFSILocation
IRDBRecordset_ptr m_brlFSILocation
Definition: SCT_DataBase.h:122
SCT_DataBase::m_fwdFSIType
IRDBRecordset_ptr m_fwdFSIType
Definition: SCT_DataBase.h:140
SCT_DataBase::brlModule
const IRDBRecord * brlModule() const
Definition: SCT_DataBase.cxx:204
SCT_DataBase::m_fwdCylServLoc
IRDBRecordset_ptr m_fwdCylServLoc
Definition: SCT_DataBase.h:147
SCT_DataBase::m_fwdCoolingBlock
IRDBRecordset_ptr m_fwdCoolingBlock
Definition: SCT_DataBase.h:136
SCT_DataBase::fwdServices
const IRDBRecord * fwdServices() const
Definition: SCT_DataBase.cxx:242
SCT_DataBase::fwdPPConnector
const IRDBRecord * fwdPPConnector() const
Definition: SCT_DataBase.cxx:236
SCT_DataBase::m_brlGeneral
IRDBRecordset_ptr m_brlGeneral
Definition: SCT_DataBase.h:120
SCT_DataBase::m_fwdOptoHarness
IRDBRecordset_ptr m_fwdOptoHarness
Definition: SCT_DataBase.h:144
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition: SCT_GeoModelAthenaComps.h:14
SCT_DataBase::fwdOptoHarnessTable
IRDBRecordset_ptr fwdOptoHarnessTable() const
Definition: SCT_DataBase.cxx:252
SCT_DataBase::m_brlServices
IRDBRecordset_ptr m_brlServices
Definition: SCT_DataBase.h:117
IRDBRecord
IRDBRecord is one record in the IRDBRecordset object.
Definition: IRDBRecord.h:27
SCT_DataBase::m_fwdDiscSupport
IRDBRecordset_ptr m_fwdDiscSupport
Definition: SCT_DataBase.h:131
SCT_DataBase::fwdFSISize
int fwdFSISize() const
Definition: SCT_DataBase.cxx:248
SCT_DataBase::m_fwdServices
IRDBRecordset_ptr m_fwdServices
Definition: SCT_DataBase.h:138
SCT_DataBase::fwdPPCooling
const IRDBRecord * fwdPPCooling() const
Definition: SCT_DataBase.cxx:238
SCT_DataBase::fwdFSILocation
const IRDBRecord * fwdFSILocation(int i) const
Definition: SCT_DataBase.cxx:243
SCT_DataBase::brlSkiZ
const IRDBRecord * brlSkiZ(int i) const
Definition: SCT_DataBase.cxx:207
SCT_DataBase::brlFSI
const IRDBRecord * brlFSI() const
Definition: SCT_DataBase.cxx:214
SCT_DataBase::brlLayer
const IRDBRecord * brlLayer(int i) const
Definition: SCT_DataBase.cxx:209
SCT_DataBase::fwdDiscFixationTable
IRDBRecordset_ptr fwdDiscFixationTable() const
Definition: SCT_DataBase.cxx:255
SCT_DataBase::fwdRingSize
int fwdRingSize() const
Definition: SCT_DataBase.cxx:227
SCT_DataBase::fwdFSITypeSize
int fwdFSITypeSize() const
Definition: SCT_DataBase.cxx:246
SCT_DataBase::fwdCylServSize
int fwdCylServSize() const
Definition: SCT_DataBase.cxx:257
checker_macros.h
Define macros for attributes used to control the static checker.
SCT_DataBase::m_weightTable
IRDBRecordset_ptr m_weightTable
Definition: SCT_DataBase.h:107
SCT_DataBase::weightTable
IRDBRecordset_ptr weightTable() const
Definition: SCT_DataBase.cxx:193
SCT_DataBase::m_fwdPPConnector
IRDBRecordset_ptr m_fwdPPConnector
Definition: SCT_DataBase.h:134
SCT_DataBase::operator=
SCT_DataBase & operator=(const SCT_DataBase &)
SCT_DataBase::m_brlSki
IRDBRecordset_ptr m_brlSki
Definition: SCT_DataBase.h:114
SCT_DataBase::m_brlSkiZ
IRDBRecordset_ptr m_brlSkiZ
Definition: SCT_DataBase.h:115
SCT_DataBase::conditions
const IRDBRecord * conditions() const
Definition: SCT_DataBase.cxx:201
SCT_DataBase::fwdWheelRingMap
const IRDBRecord * fwdWheelRingMap(int i) const
Definition: SCT_DataBase.cxx:229
SCT_DataBase::m_athenaComps
SCT_GeoModelAthenaComps * m_athenaComps
Definition: SCT_DataBase.h:103