ATLAS Offline Software
IIOVDbMetaDataTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
17 #ifndef IOVDBMETADATATOOL_IIOVDBMETADATATOOL_H
18 # define IOVDBMETADATATOOL_IIOVDBMETADATATOOL_H
19 
20 // Gaudi
22 #include <string>
23 
24 //<<<<<< CLASS DECLARATIONS >>>>>>
27 
42 class IIOVDbMetaDataTool : virtual public IMetaDataTool,
43  virtual public ILockableTool
44 {
45 
46 public:
47 
49  static const InterfaceID& interfaceID() {
50  static const InterfaceID IID_IIOVDbMetaDataTool("IIOVDbMetadataTool", 1 , 0);
51  return IID_IIOVDbMetaDataTool; }
52 
54  virtual StatusCode registerFolder(const std::string& folderName,
55  const std::string& folderDescription) const = 0;
56 
59  virtual StatusCode registerFolder(const std::string& folderName) const = 0;
60 
63  virtual StatusCode addPayload (const std::string& folderName,
64  CondAttrListCollection* payload) const = 0;
65 
72  virtual StatusCode processInputFileMetaData(const std::string& fileName) = 0;
73 
74  virtual IOVMetaDataContainer* findMetaDataContainer(const std::string& folderName) const = 0;
75 };
76 
77 
78 #endif // IOVDBMETADATATOOL_IIOVDBMETADATATOOL_H
IOVMetaDataContainer
This class is a container for conditions data. It is intended to be used to store conditions data fro...
Definition: IOVMetaDataContainer.h:37
IIOVDbMetaDataTool::interfaceID
static const InterfaceID & interfaceID()
Retrieve interface ID.
Definition: IIOVDbMetaDataTool.h:49
IIOVDbMetaDataTool::registerFolder
virtual StatusCode registerFolder(const std::string &folderName, const std::string &folderDescription) const =0
Register folder in the IOV Db MetaData.
IMetaDataTool.h
This file contains the class definition for the IMetaDataTool class.
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
IIOVDbMetaDataTool::registerFolder
virtual StatusCode registerFolder(const std::string &folderName) const =0
Register folder in the IOV Db MetaData without folder description - uses default folder description f...
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ILockableTool
Provide an interface for locking and unlocking a tool externally.
Definition: ILockableTool.h:25
IIOVDbMetaDataTool
This is an interface to a tool used to manage the IOV Meta Data for a given object in the MetaData St...
Definition: IIOVDbMetaDataTool.h:44
IIOVDbMetaDataTool::addPayload
virtual StatusCode addPayload(const std::string &folderName, CondAttrListCollection *payload) const =0
Add an IOV and Payload for a particular folder - replaces payloads if there is an IOV overlap.
IIOVDbMetaDataTool::processInputFileMetaData
virtual StatusCode processInputFileMetaData(const std::string &fileName)=0
Explicit call to process IOV meta data from the input meta data store, transferring it to the main me...
CaloCellTimeCorrFiller.folderName
string folderName
Definition: CaloCellTimeCorrFiller.py:20
IIOVDbMetaDataTool::findMetaDataContainer
virtual IOVMetaDataContainer * findMetaDataContainer(const std::string &folderName) const =0
PixelModuleFeMask_create_db.payload
string payload
Definition: PixelModuleFeMask_create_db.py:69
IMetaDataTool
This class provides the interface for MetaDataTools.
Definition: IMetaDataTool.h:21