ATLAS Offline Software
ALFA_RDBAccess.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 ALFA_RDBAccess_h
6 #define ALFA_RDBAccess_h
7 
8 #include "GaudiKernel/Algorithm.h"
10 #include "CLHEP/Units/SystemOfUnits.h"
14 
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/GaudiException.h"
17 #include "GaudiKernel/Bootstrap.h"
18 #include "GaudiKernel/ISvcLocator.h"
19 
22 
23 #include <list>
24 #include <string>
25 
26 //using namespace std;
27 
28 typedef struct _FIBERDATA
29 {
30  int nPotID;
31  int nLayerID;
32  int nFiberID;
33 
34  double fSlope;
35  double fOffset;
36  double fZPos;
38 
40 {
41  public:
44 
45  private:
46 // bool ReadFiberGeometry(string element, string tag, string node);
47  bool ReadFiberGeometry(IRDBAccessSvc* iAccessSvc, const std::string& element, const std::string& tag, const std::string& node);
48 
49  public:
50  bool ReadGeometry(const eRPotName eRPName, eFiberType eFType,
51  const std::string& element,
52  const std::string& tag,
53  const std::string& node);
54 
55  private:
57 
58  public:
59  std::list<FIBERDATA> m_ListFiberData;
60  std::list<FIBERDATA> m_ListODFiberData;
61 };
62 
63 #endif
eFiberType
eFiberType
Definition: ALFA_GeometryReader.h:25
_FIBERDATA::fZPos
double fZPos
Definition: ALFA_RDBAccess.h:36
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
FIBERDATA
struct _FIBERDATA FIBERDATA
_FIBERDATA::nPotID
int nPotID
Definition: ALFA_RDBAccess.h:30
ALFA_RDBAccess::~ALFA_RDBAccess
~ALFA_RDBAccess()
Definition: ALFA_RDBAccess.cxx:13
ALFA_RDBAccess::ReadGeometry
bool ReadGeometry(const eRPotName eRPName, eFiberType eFType, const std::string &element, const std::string &tag, const std::string &node)
Definition: ALFA_RDBAccess.cxx:17
eRPotName
eRPotName
Definition: ALFA_GeometryReader.h:27
_FIBERDATA::nFiberID
int nFiberID
Definition: ALFA_RDBAccess.h:32
ALFA_RDBAccess::m_ListODFiberData
std::list< FIBERDATA > m_ListODFiberData
Definition: ALFA_RDBAccess.h:60
ALFA_RDBAccess::m_ListFiberData
std::list< FIBERDATA > m_ListFiberData
Definition: ALFA_RDBAccess.h:59
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
ALFA_RDBAccess::ReadFiberGeometry
bool ReadFiberGeometry(IRDBAccessSvc *iAccessSvc, const std::string &element, const std::string &tag, const std::string &node)
Definition: ALFA_RDBAccess.cxx:42
_FIBERDATA::fSlope
double fSlope
Definition: ALFA_RDBAccess.h:34
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition: IRDBAccessSvc.h:25
ALFA_RDBAccess::ALFA_RDBAccess
ALFA_RDBAccess()
Definition: ALFA_RDBAccess.cxx:9
_FIBERDATA
Definition: ALFA_RDBAccess.h:29
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
ALFA_RDBAccess::m_fiberGeometry
IRDBRecordset_ptr m_fiberGeometry
Definition: ALFA_RDBAccess.h:56
IOVSvcDefs.h
defines and typedefs for IOVSvc
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
ALFA_RDBAccess
Definition: ALFA_RDBAccess.h:40
_FIBERDATA::fOffset
double fOffset
Definition: ALFA_RDBAccess.h:35
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
IGeoModelSvc.h
_FIBERDATA::nLayerID
int nLayerID
Definition: ALFA_RDBAccess.h:31
node
Definition: memory_hooks-stdcmalloc.h:74
PFIBERDATA
struct _FIBERDATA * PFIBERDATA