Belle II Software development
ARICHAerogelRayleighScatteringFit.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 <arich/dbobjects/ARICHAerogelRayleighScatteringFit.h>
10#include <iostream>
11#include <iomanip>
12
13using namespace Belle2;
14using namespace std;
15
17{
18 if (printHeader) {
19 cout << setw(10) << "version"
20 << setw(10) << "serial"
21 << setw(10) << "comment"
22 << setw(15) << "p0"
23 << setw(15) << "p1"
24 << setw(15) << "p2"
25 << setw(15) << "p3"
26 << setw(15) << "p4"
27 << setw(15) << "p5"
28 << setw(15) << "p6" << endl;
29 }
30 cout << setw(10) << getAerogelMeasurementVersion()
31 << setw(10) << getAerogelSerialNumber()
32 << setw(10) << getComment();
33 for (unsigned i = 0; i < getFitParameters().size(); i++)
34 cout << setw(15) << getFitParameters().at(i);
35 cout << endl;
36}
std::string getAerogelSerialNumber() const
Get aerogel serial number.
float getAerogelMeasurementVersion() const
Get aerogel measurement version.
void printContent(bool printHeader=false)
Print the content of the class.
const std::vector< float > & getFitParameters() const
Get aerogel Rayleigh scattering fit parameters.
Abstract base class for different kinds of events.
STL namespace.