ATLAS Offline Software
IOVDbTestAmdbCorrection.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 /***************************************************************************
6  -----------------------------------------
7  ***************************************************************************
8  Test class for IOV DB
9  ***************************************************************************/
10 
11 //<doc><file> $Id: IOVDbTestAmdbCorrection.h,v 1.3 2006-03-26 17:26:30 schaffer Exp $
12 //<version> $Name: not supported by cvs2svn $
13 
14 #ifndef IOVDBTEST_AMDB_CORRECTION_H
15 #define IOVDBTEST_AMDB_CORRECTION_H
16 
17 #include "AthenaKernel/CLASS_DEF.h"
18 #include "CLHEP/Geometry/Point3D.h"
19 
21 
22  public:
24 
26 
27  const std::string& name() const; // test method
28 
29  HepGeom::Point3D<double> getTranslation() const;
30  HepGeom::Point3D<double> getRotation() const;
31 
32  void set(const HepGeom::Point3D<double>& trans, const HepGeom::Point3D<double>& rot, const std::string& name);
33 
34  private:
35  std::string m_name;
36  HepGeom::Point3D<double> m_translation;
37  HepGeom::Point3D<double> m_rotation;
38 };
39 
41 #endif //IOVDBTEST_AMDB_CORRECTION_H
IOVDbTestAmdbCorrection
Definition: IOVDbTestAmdbCorrection.h:20
IOVDbTestAmdbCorrection::~IOVDbTestAmdbCorrection
~IOVDbTestAmdbCorrection()
Definition: IOVDbTestAmdbCorrection.cxx:17
IOVDbTestAmdbCorrection::m_name
std::string m_name
Definition: IOVDbTestAmdbCorrection.h:39
IOVDbTestAmdbCorrection::set
void set(const HepGeom::Point3D< double > &trans, const HepGeom::Point3D< double > &rot, const std::string &name)
Definition: IOVDbTestAmdbCorrection.cxx:21
IOVDbTestAmdbCorrection::name
const std::string & name() const
Definition: IOVDbTestAmdbCorrection.cxx:29
IOVDbTestAmdbCorrection::getTranslation
HepGeom::Point3D< double > getTranslation() const
Definition: IOVDbTestAmdbCorrection.cxx:34
IOVDbTestAmdbCorrection::IOVDbTestAmdbCorrection
IOVDbTestAmdbCorrection()
Definition: IOVDbTestAmdbCorrection.cxx:13
IOVDbTestAmdbCorrection::m_translation
HepGeom::Point3D< double > m_translation
Definition: IOVDbTestAmdbCorrection.h:40
IOVDbTestAmdbCorrection::m_rotation
HepGeom::Point3D< double > m_rotation
Definition: IOVDbTestAmdbCorrection.h:41
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
IOVDbTestAmdbCorrection::getRotation
HepGeom::Point3D< double > getRotation() const
Definition: IOVDbTestAmdbCorrection.cxx:39
CLASS_DEF.h
macros to associate a CLID to a type