ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22#include <list>
23#include <string>
24
25//using namespace std;
26
27typedef struct _FIBERDATA
28{
29 int nPotID;
32
33 double fSlope;
34 double fOffset;
35 double fZPos;
37
39{
40 public:
43
44 private:
45// bool ReadFiberGeometry(string element, string tag, string node);
46 bool ReadFiberGeometry(IRDBAccessSvc* iAccessSvc, const std::string& element, const std::string& tag, const std::string& node);
47
48 public:
49 bool ReadGeometry(const eRPotName eRPName, eFiberType eFType,
50 const std::string& element,
51 const std::string& tag,
52 const std::string& node);
53
54 private:
56
57 public:
58 std::list<FIBERDATA> m_ListFiberData;
59 std::list<FIBERDATA> m_ListODFiberData;
60};
61
62#endif
struct _FIBERDATA FIBERDATA
struct _FIBERDATA * PFIBERDATA
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
bool ReadGeometry(const eRPotName eRPName, eFiberType eFType, const std::string &element, const std::string &tag, const std::string &node)
bool ReadFiberGeometry(IRDBAccessSvc *iAccessSvc, const std::string &element, const std::string &tag, const std::string &node)
std::list< FIBERDATA > m_ListFiberData
IRDBRecordset_ptr m_fiberGeometry
std::list< FIBERDATA > m_ListODFiberData
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition node.h:24
singleton-like access to IMessageSvc via open function and helper