ATLAS Offline Software
Loading...
Searching...
No Matches
LArAlignDbAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARALIGNMENTALGS_LARALIGNDBALG_H
6#define LARALIGNMENTALGS_LARALIGNDBALG_H
7
9#include "GaudiKernel/ToolHandle.h"
10#include "GaudiKernel/ServiceHandle.h"
13
15
19
21{
22 public:
23 LArAlignDbAlg(const std::string& name, ISvcLocator* pSvcLocator);
25
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute() override;
28 virtual StatusCode finalize() override;
29
30 private:
31
32 StatusCode createCondObjects();
33 StatusCode printCondObjects();
34 StatusCode streamOutCondObjects();
35 StatusCode registerCondObjects();
36
37 StatusCode registerIOV(const CLID& clid);
38
39 BooleanProperty m_writeCondObjs{this, "WriteCondObjs", false};
40 BooleanProperty m_regIOV{this, "RegisterIOV", false};
41 StringProperty m_streamName{this, "StreamName", "CondStream1"};
42 StringProperty m_inpFile{this, "InpFile", "LArAlign.inp"};
43 StringProperty m_outpFile{this, "OutpFile", "LArAlign-TEST.pool.root"};
44 StringProperty m_outpTag{this, "TagName", "LARAlign-TEST"};
45
47 ToolHandle<IAthenaOutputStreamTool> m_streamer;
48};
49
50#endif // LARALIGNDBALG_LARALIGNDBALG_H
uint32_t CLID
The Class ID type.
Interface to an output stream tool.
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This is an interface to a service used to register conditions objects in the Interval of Validity (IO...
virtual StatusCode execute() override
StringProperty m_inpFile
BooleanProperty m_regIOV
StringProperty m_streamName
ServiceHandle< IIOVRegistrationSvc > m_regSvc
StatusCode registerCondObjects()
StatusCode registerIOV(const CLID &clid)
StringProperty m_outpTag
StringProperty m_outpFile
virtual StatusCode initialize() override
virtual StatusCode finalize() override
LArAlignDbAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IAthenaOutputStreamTool > m_streamer
StatusCode printCondObjects()
StatusCode createCondObjects()
BooleanProperty m_writeCondObjs
StatusCode streamOutCondObjects()