ATLAS Offline Software
IIOVRegistrationSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
16 #ifndef REGISTRATIONSERVICES_IIOVREGISTRATIONSVC_H
17 # define REGISTRATIONSERVICES_IIOVREGISTRATIONSVC_H
18 
19 //<<<<<< INCLUDES >>>>>>
20 
21 // Gaudi
22 #include "GaudiKernel/IAlgTool.h"
23 
24 #include <stdint.h>
25 
26 class IOVTime;
27 
28 //<<<<<< CLASS DECLARATIONS >>>>>>
29 
50 class IIOVRegistrationSvc : virtual public IInterface
51 {
52 
53 public:
54 
57 
61  virtual StatusCode registerIOV(const std::string& typeName) const = 0;
62 
67  virtual StatusCode registerIOV( const std::string& typeName, const std::string& tag ) const = 0;
68 
73  virtual StatusCode registerIOV( const std::string& typeName, const std::string& key,
74  const std::string& tag ) const = 0;
75 
78  virtual StatusCode registerIOV( const std::string& typeName,
79  const std::string& tag,
80  unsigned int beginRun,
81  unsigned int endRun,
82  unsigned int beginLB,
83  unsigned int endLB ) const = 0;
84 
87  virtual StatusCode registerIOV( const std::string& typeName,
88  const std::string& tag,
89  uint64_t beginTime,
90  uint64_t endTime ) const = 0;
91 
94  virtual StatusCode registerIOV( const std::string& typeName,
95  const std::string& key,
96  const std::string& tag,
97  unsigned int beginRun,
98  unsigned int endRun,
99  unsigned int beginLB,
100  unsigned int endLB ) const = 0;
101 
104  virtual StatusCode registerIOV( const std::string& typeName,
105  const std::string& key,
106  const std::string& tag,
107  uint64_t beginTime,
108  uint64_t endTime ) const = 0;
109 
112  virtual StatusCode registerIOV( const std::string& typeName,
113  const std::string& key,
114  const std::string& folder,
115  const std::string& tag,
116  unsigned int beginRun,
117  unsigned int endRun,
118  unsigned int beginLB,
119  unsigned int endLB ) const = 0;
120 
123  virtual StatusCode registerIOV( const std::string& typeName,
124  const std::string& key,
125  const std::string& folder,
126  const std::string& tag,
127  uint64_t beginTime,
128  uint64_t endTime ) const = 0;
129 };
130 
131 #endif // REGISTRATIONSERVICES_IIOVREGISTRATIONSVC_H
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const =0
Register IOV DB for an object given its typeName, tag and run/LB numbers interval.
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &key, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const =0
Register IOV DB for an object given its typeName, key, tag and run/LB numbers interval.
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &key, const std::string &tag) const =0
Register IOV DB for an object given its typeName and its key run/LB numbers interval or times interva...
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &key, const std::string &folder, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const =0
Register IOV DB for an object given its typeName, key, folder, tag and run/LB numbers interval.
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName) const =0
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval and tag ...
IIOVRegistrationSvc::DeclareInterfaceID
DeclareInterfaceID(IIOVRegistrationSvc, 1, 0)
Declare interface ID.
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &tag) const =0
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval taken fr...
IOVTime
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
Definition: IOVTime.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
IIOVRegistrationSvc
This is an interface to a service used to register conditions objects in the Interval of Validity (IO...
Definition: IIOVRegistrationSvc.h:51
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &tag, uint64_t beginTime, uint64_t endTime) const =0
Register IOV DB for an object given its typeName, tag and times interval.
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &key, const std::string &folder, const std::string &tag, uint64_t beginTime, uint64_t endTime) const =0
Register IOV DB for an object given its typeName, key, folder, tag and times interval.
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
ReadCalibFromCool.typeName
typeName
Definition: ReadCalibFromCool.py:477
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
lumiFormat.endTime
endTime
Definition: lumiFormat.py:100
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
IIOVRegistrationSvc::registerIOV
virtual StatusCode registerIOV(const std::string &typeName, const std::string &key, const std::string &tag, uint64_t beginTime, uint64_t endTime) const =0
Register IOV DB for an object given its typeName, key, tag and times interval.