Belle II Software development
ARICHAerogelRayleighScatteringFit.h
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#pragma once
10
11#include <TObject.h>
12#include <string>
13#include <vector>
14
15#include <TClass.h>
16
17namespace Belle2 {
26 class ARICHAerogelRayleighScatteringFit: public TObject {
27
28 public:
29
34
38 ARICHAerogelRayleighScatteringFit(float version, const std::string& serial, const std::string& comment,
39 const std::vector<float>& par) :
40 m_version(version), m_serial(serial), m_comment(comment), m_par(par)
41 {};
42
47
52 float getAerogelMeasurementVersion() const { return m_version; }
53
58 void setAerogelMeasurementVersion(float version) { m_version = version; }
59
64 std::string getAerogelSerialNumber() const { return m_serial; };
65
70 void setAerogelSerialNumber(const std::string& serial) { m_serial = serial; }
71
76 std::string getComment() const { return m_comment; }
77
82 void setComment(const std::string& comment) { m_comment = comment; }
83
88 const std::vector<float>& getFitParameters() const { return m_par; }
89
93 void printContent(bool printHeader = false);
94
95 private:
96
97 float m_version;
98 std::string m_serial;
99 std::string m_comment;
100 std::vector<float> m_par;
103 };
105} // end namespace Belle2
The Class for ARICH aerogel Rayleigh scattering fit parameters.
std::string m_comment
Optional comment (should be a single word)
std::string getAerogelSerialNumber() const
Get aerogel serial number.
ARICHAerogelRayleighScatteringFit(float version, const std::string &serial, const std::string &comment, const std::vector< float > &par)
Constructor.
ClassDef(ARICHAerogelRayleighScatteringFit, 1)
ClassDef.
void setAerogelMeasurementVersion(float version)
Set aerogel measurement version.
float getAerogelMeasurementVersion() const
Get aerogel measurement version.
void setAerogelSerialNumber(const std::string &serial)
Set aerogel serial number.
void printContent(bool printHeader=false)
Print the content of the class.
void setComment(const std::string &comment)
Set comment (should be a single word).
const std::vector< float > & getFitParameters() const
Get aerogel Rayleigh scattering fit parameters.
Abstract base class for different kinds of events.