ATLAS Offline Software
InDetTrkAlignDBTool.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 INDETALIGNDBTOOLS_INDETTRKALIGNDBTOOL_H
6 #define INDETALIGNDBTOOLS_INDETTRKALIGNDBTOOL_H
7 
10 
21 class TFile;
22 
23 namespace InDet
24 {
25 
26  class InDetTrkAlignDBTool : virtual public Trk::ITrkAlignDBTool, public AthAlgTool {
27 
28  public:
29 
31  InDetTrkAlignDBTool(const std::string & type, const std::string & name, const IInterface * parent);
32 
34  virtual ~InDetTrkAlignDBTool();
35 
37  virtual StatusCode initialize();
38 
40  virtual StatusCode finalize();
41 
43  void writeAlignPar();
44 
45  private:
46 
48  void updateDB();
49 
50  ToolHandle<Trk::ITrkAlignDBTool> m_siDBtool;
51  ToolHandle<Trk::ITrkAlignDBTool> m_trtDBtool;
52 
53  }; // end class
54 
55 } // end namespace
56 
57 #endif // INDETALIGNDBTOOLS_INDETTRKALIGNDBTOOL_H
InDet::InDetTrkAlignDBTool::updateDB
void updateDB()
updates alignment constants in the DB
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetTrkAlignDBTool
Definition: InDetTrkAlignDBTool.h:26
InDet::InDetTrkAlignDBTool::finalize
virtual StatusCode finalize()
finalize method
Definition: InDetTrkAlignDBTool.cxx:54
InDet::InDetTrkAlignDBTool::initialize
virtual StatusCode initialize()
initialize method
Definition: InDetTrkAlignDBTool.cxx:32
InDet::InDetTrkAlignDBTool::m_trtDBtool
ToolHandle< Trk::ITrkAlignDBTool > m_trtDBtool
Definition: InDetTrkAlignDBTool.h:51
ITrkAlignDBTool.h
InDet::InDetTrkAlignDBTool::~InDetTrkAlignDBTool
virtual ~InDetTrkAlignDBTool()
destructor
Definition: InDetTrkAlignDBTool.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::InDetTrkAlignDBTool::InDetTrkAlignDBTool
InDetTrkAlignDBTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: InDetTrkAlignDBTool.cxx:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDet::InDetTrkAlignDBTool::m_siDBtool
ToolHandle< Trk::ITrkAlignDBTool > m_siDBtool
Definition: InDetTrkAlignDBTool.h:50
Trk::ITrkAlignDBTool
Definition: ITrkAlignDBTool.h:34
AthAlgTool
Definition: AthAlgTool.h:26
InDet::InDetTrkAlignDBTool::writeAlignPar
void writeAlignPar()
Writes alignment parameters.
Definition: InDetTrkAlignDBTool.cxx:62