Belle II Software  release-08-01-10
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 
13 using namespace Belle2;
14 using 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 }
void printContent(bool printHeader=false)
Print the content of the class.
Abstract base class for different kinds of events.