Belle II Software development
TOPGeoPMTArrayDisplacement.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <top/dbobjects/TOPGeoPMTArrayDisplacement.h>
10#include <iostream>
11
12using namespace std;
13
14namespace Belle2 {
20 void TOPGeoPMTArrayDisplacement::print(const std::string& title) const
21 {
22 TOPGeoBase::print(title);
23 cout << " translation vector: (" << getX() << ", " << getY() << ")"
24 << " " << s_unitName << endl;
25 cout << " rotation angle: " << m_alpha << endl;
26 }
27
29} // end Belle2 namespace
double getX() const
Returns translation in x.
double getY() const
Returns translation in y.
void print(const std::string &title="PMT array displacement parameters") const override
Print the content of the class.
virtual void print(const std::string &title) const
Print the content of the class.
Definition: TOPGeoBase.cc:28
static std::string s_unitName
conversion unit name
Definition: TOPGeoBase.h:87
Abstract base class for different kinds of events.
STL namespace.