ATLAS Offline Software
TGCCablingDbTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCONDTOOL_TGCCABLINGDBTOOL_H
6 #define MUONCONDTOOL_TGCCABLINGDBTOOL_H
7 
10 #include "GaudiKernel/IChronoStatSvc.h"
11 
12 class IIOVSvc;
13 class IChronoStatSvc;
14 
16 {
17  public:
19  TGCCablingDbTool(const std::string& type,
20  const std::string& name,
21  const IInterface* parent);
22 
24  // virtual StatusCode updateAddress(SG::TransientAddress* tad);
25  virtual StatusCode updateAddress(StoreID::type storeID,
27  const EventContext& ctx);
28 
30  virtual StatusCode initialize();
32  virtual StatusCode finalize();
34  virtual std::vector<std::string>* giveASD2PP_DIFF_12();
36  virtual std::string getFolderName() const;
43 
44  private:
45 
47  std::string m_DataLocation;
49  std::string m_Folder;
50 
52  std::vector<std::string>* m_ASD2PP_DIFF_12;
53 
57  std::string m_filename;
58 };
59 
60 #endif // MUONCONDTOOL_TGCCABLINGDBTOOL_H
TGCCablingDbTool::giveASD2PP_DIFF_12
virtual std::vector< std::string > * giveASD2PP_DIFF_12()
Method to provide database.
Definition: TGCCablingDbTool.cxx:73
TGCCablingDbTool::m_Folder
std::string m_Folder
Folder name.
Definition: TGCCablingDbTool.h:49
ITGCCablingDbTool
Definition: ITGCCablingDbTool.h:20
TGCCablingDbTool::m_readASD2PP_DIFF_12FromText
bool m_readASD2PP_DIFF_12FromText
Flag for readASD2PP_DIFF_12FromText()
Definition: TGCCablingDbTool.h:55
SG::TransientAddress
Definition: TransientAddress.h:32
TGCCablingDbTool::readASD2PP_DIFF_12FromText
virtual StatusCode readASD2PP_DIFF_12FromText()
Load parameters from text database.
Definition: TGCCablingDbTool.cxx:154
TGCCablingDbTool::getFolderName
virtual std::string getFolderName() const
Get the folder name.
Definition: TGCCablingDbTool.cxx:69
TGCCablingDbTool::loadParameters
virtual StatusCode loadParameters(IOVSVC_CALLBACK_ARGS)
Load parameters using IOV keys.
Definition: TGCCablingDbTool.cxx:85
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
TGCCablingDbTool
Definition: TGCCablingDbTool.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TGCCablingDbTool::updateAddress
virtual StatusCode updateAddress(StoreID::type storeID, SG::TransientAddress *tad, const EventContext &ctx)
Required by the IAddressProvider interface.
Definition: TGCCablingDbTool.cxx:39
TGCCablingDbTool::finalize
virtual StatusCode finalize()
Finalize.
Definition: TGCCablingDbTool.cxx:59
AthAlgTool.h
TGCCablingDbTool::TGCCablingDbTool
TGCCablingDbTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: TGCCablingDbTool.cxx:21
test_pyathena.parent
parent
Definition: test_pyathena.py:15
IIOVSvc
Abstract interface for IOVSvc. This is used (usually via StoreGateSvc regFcn and regHandle methods) t...
Definition: IIOVSvc.h:41
TGCCablingDbTool::initialize
virtual StatusCode initialize()
Initilize.
Definition: TGCCablingDbTool.cxx:54
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ITGCCablingDbTool.h
StoreID::type
type
Definition: StoreID.h:24
TGCCablingDbTool::loadASD2PP_DIFF_12
virtual StatusCode loadASD2PP_DIFF_12(IOVSVC_CALLBACK_ARGS)
Load parameters using the folder name.
Definition: TGCCablingDbTool.cxx:101
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TGCCablingDbTool::m_ASD2PP_DIFF_12
std::vector< std::string > * m_ASD2PP_DIFF_12
Database as strings.
Definition: TGCCablingDbTool.h:52
TGCCablingDbTool::m_DataLocation
std::string m_DataLocation
Data location.
Definition: TGCCablingDbTool.h:47
AthAlgTool
Definition: AthAlgTool.h:26
TGCCablingDbTool::m_filename
std::string m_filename
File name of the text database.
Definition: TGCCablingDbTool.h:57