ATLAS Offline Software
Loading...
Searching...
No Matches
TileOFC2DBAlg.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 TileCalibAlgs_TileOFC2DBAlg_h
6#define TileCalibAlgs_TileOFC2DBAlg_h
7
8/***************************************************************************
9 TileOFC2DBAlg
10 -----------------------------------------
11
12 This algorithm writes OFC for specified phase to sqlite file to
13 be stored afterwards in COOL DB.
14 It uses TileCondToolOfc to calculate OFCs.
15
16 2008-05-13 Andrei.Artamonov@cern.ch
17 ***************************************************************************/
18
19// Gaudi includes
20#include "GaudiKernel/ToolHandle.h"
21
22// Athena includes
26
27//=== IOVDbTest includes
29
30// Tile includes
33
35
36 public:
37 TileOFC2DBAlg(const std::string& name, ISvcLocator* pSvcLocator);
38
40
41 StatusCode initialize();
42 StatusCode execute();
43 StatusCode finalize();
44
45 private:
46 StatusCode registerCondObjects();
47 StatusCode printCondObjects();
48
49 //=== storegate
51 "EventInfo", "EventInfo", "EventInfo key"};
52
53 //=== properties
54 UnsignedIntegerProperty m_runIOVSince;
55 UnsignedIntegerProperty m_runIOVUntil;
56 UnsignedIntegerProperty m_lbnIOVSince;
57 UnsignedIntegerProperty m_lbnIOVUntil;
58 UnsignedIntegerProperty m_maxChan;
59 bool m_of2;
61 std::string m_runType;
62
63 //=== non-property members
65 ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
66 "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
67 ToolHandle<ITileCondToolOfc> m_tileCondToolOfc{this,
68 "TileCondToolOfc", "TileCondToolOfc", "Tile OFC tool"};
69
70 //=== store all folders to be registered
71 std::set<std::string> m_folders;
72
75 std::vector<std::string> m_modules;
76 std::vector<unsigned int> m_drawerIdxs;
78};
79
80#endif //TileCalibAlgs_TileOFC2DBAlg_h
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
std::string m_runType
std::set< std::string > m_folders
ToolHandle< ITileCondToolOfc > m_tileCondToolOfc
UnsignedIntegerProperty m_runIOVUntil
UnsignedIntegerProperty m_lbnIOVUntil
StatusCode finalize()
TileOFC2DBAlg(const std::string &name, ISvcLocator *pSvcLocator)
UnsignedIntegerProperty m_maxChan
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
StatusCode execute()
ToolHandle< TileCondToolTiming > m_tileToolTiming
StatusCode initialize()
ServiceHandle< IIOVRegistrationSvc > m_regSvc
UnsignedIntegerProperty m_runIOVSince
StatusCode registerCondObjects()
UnsignedIntegerProperty m_lbnIOVSince
std::vector< unsigned int > m_drawerIdxs
std::vector< std::string > m_modules
StatusCode printCondObjects()