Belle II Software development
ARICHAerogelRayleighScatteringFit Class Reference

The Class for ARICH aerogel Rayleigh scattering fit parameters. More...

#include <ARICHAerogelRayleighScatteringFit.h>

Inheritance diagram for ARICHAerogelRayleighScatteringFit:

Public Member Functions

 ARICHAerogelRayleighScatteringFit ()
 Default constructor.
 
 ARICHAerogelRayleighScatteringFit (float version, const std::string &serial, const std::string &comment, const std::vector< float > &par)
 Constructor.
 
 ~ARICHAerogelRayleighScatteringFit ()
 Destructor.
 
float getAerogelMeasurementVersion () const
 Get aerogel measurement version.
 
void setAerogelMeasurementVersion (float version)
 Set aerogel measurement version.
 
std::string getAerogelSerialNumber () const
 Get aerogel serial number.
 
void setAerogelSerialNumber (const std::string &serial)
 Set aerogel serial number.
 
std::string getComment () const
 Get comment.
 
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.
 
void printContent (bool printHeader=false)
 Print the content of the class.
 

Private Member Functions

 ClassDef (ARICHAerogelRayleighScatteringFit, 1)
 ClassDef.
 

Private Attributes

float m_version
 Aerogel data version.
 
std::string m_serial
 Aerogel Serial number.
 
std::string m_comment
 Optional comment (should be a single word)
 
std::vector< float > m_par
 Parameters value.
 

Detailed Description

The Class for ARICH aerogel Rayleigh scattering fit parameters.

Definition at line 26 of file ARICHAerogelRayleighScatteringFit.h.

Constructor & Destructor Documentation

◆ ARICHAerogelRayleighScatteringFit() [1/2]

Default constructor.

Definition at line 33 of file ARICHAerogelRayleighScatteringFit.h.

33: m_version(0.0), m_serial(""), m_comment(""), m_par() {};
std::string m_comment
Optional comment (should be a single word)

◆ ARICHAerogelRayleighScatteringFit() [2/2]

ARICHAerogelRayleighScatteringFit ( float  version,
const std::string &  serial,
const std::string &  comment,
const std::vector< float > &  par 
)
inline

Constructor.

Definition at line 38 of file ARICHAerogelRayleighScatteringFit.h.

39 :
40 m_version(version), m_serial(serial), m_comment(comment), m_par(par)
41 {};

◆ ~ARICHAerogelRayleighScatteringFit()

Destructor.

Definition at line 46 of file ARICHAerogelRayleighScatteringFit.h.

46{};

Member Function Documentation

◆ getAerogelMeasurementVersion()

float getAerogelMeasurementVersion ( ) const
inline

Get aerogel measurement version.

Returns
Aerogel measurement version.

Definition at line 52 of file ARICHAerogelRayleighScatteringFit.h.

52{ return m_version; }

◆ getAerogelSerialNumber()

std::string getAerogelSerialNumber ( ) const
inline

Get aerogel serial number.

Returns
Aerogel serial number.

Definition at line 64 of file ARICHAerogelRayleighScatteringFit.h.

64{ return m_serial; };

◆ getComment()

std::string getComment ( ) const
inline

Get comment.

Returns
Comment.

Definition at line 76 of file ARICHAerogelRayleighScatteringFit.h.

76{ return m_comment; }

◆ getFitParameters()

const std::vector< float > & getFitParameters ( ) const
inline

Get aerogel Rayleigh scattering fit parameters.

Returns
Aerogel Rayleigh scattering fit parameters.

Definition at line 88 of file ARICHAerogelRayleighScatteringFit.h.

88{ return m_par; }

◆ printContent()

void printContent ( bool  printHeader = false)

Print the content of the class.

Definition at line 16 of file ARICHAerogelRayleighScatteringFit.cc.

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.
const std::vector< float > & getFitParameters() const
Get aerogel Rayleigh scattering fit parameters.

◆ setAerogelMeasurementVersion()

void setAerogelMeasurementVersion ( float  version)
inline

Set aerogel measurement version.

Parameters
[in]versionAerogel measurement version.

Definition at line 58 of file ARICHAerogelRayleighScatteringFit.h.

58{ m_version = version; }

◆ setAerogelSerialNumber()

void setAerogelSerialNumber ( const std::string &  serial)
inline

Set aerogel serial number.

Parameters
[in]serialAerogel serial number.

Definition at line 70 of file ARICHAerogelRayleighScatteringFit.h.

70{ m_serial = serial; }

◆ setComment()

void setComment ( const std::string &  comment)
inline

Set comment (should be a single word).

Parameters
[in]commentComment.

Definition at line 82 of file ARICHAerogelRayleighScatteringFit.h.

82{ m_comment = comment; }

Member Data Documentation

◆ m_comment

std::string m_comment
private

Optional comment (should be a single word)

Definition at line 99 of file ARICHAerogelRayleighScatteringFit.h.

◆ m_par

std::vector<float> m_par
private

Parameters value.

Definition at line 100 of file ARICHAerogelRayleighScatteringFit.h.

◆ m_serial

std::string m_serial
private

Aerogel Serial number.

Definition at line 98 of file ARICHAerogelRayleighScatteringFit.h.

◆ m_version

float m_version
private

Aerogel data version.

Definition at line 97 of file ARICHAerogelRayleighScatteringFit.h.


The documentation for this class was generated from the following files: