Belle II Software development
CDCDedxMeanPars Class Reference

dE/dx mean (curve versus beta-gamma) parameterization constants More...

#include <CDCDedxMeanPars.h>

Inheritance diagram for CDCDedxMeanPars:

Public Member Functions

 CDCDedxMeanPars ()
 Default constructor.
 
 CDCDedxMeanPars (short version, const std::vector< double > &meanpars)
 Constructor.
 
 ~CDCDedxMeanPars ()
 Destructor.
 
double getSize () const
 Get the number of parameters.
 
short getVersion () const
 Get the version for the mean parameterization.
 
std::vector< double > getMeanPars () const
 Return vector of mean parameters.
 
double getMeanPar (int par) const
 Return specific mean parameter.
 
void setVersion (short version)
 Set version number.
 
void setMeanPar (int par, double value)
 Set a parameter.
 

Private Member Functions

 ClassDef (CDCDedxMeanPars, 2)
 ClassDef.
 

Private Attributes

short m_version { -1}
 version number for mean parameterization
 
std::vector< double > m_meanpars
 dE/dx mean parameters
 

Detailed Description

dE/dx mean (curve versus beta-gamma) parameterization constants

Definition at line 24 of file CDCDedxMeanPars.h.

Constructor & Destructor Documentation

◆ CDCDedxMeanPars() [1/2]

CDCDedxMeanPars ( )
inline

Default constructor.

Definition at line 30 of file CDCDedxMeanPars.h.

30: m_meanpars() {};
std::vector< double > m_meanpars
dE/dx mean parameters

◆ CDCDedxMeanPars() [2/2]

CDCDedxMeanPars ( short  version,
const std::vector< double > &  meanpars 
)
inline

Constructor.

Definition at line 35 of file CDCDedxMeanPars.h.

35: m_version(version), m_meanpars(meanpars) {};
short m_version
version number for mean parameterization

◆ ~CDCDedxMeanPars()

~CDCDedxMeanPars ( )
inline

Destructor.

Definition at line 40 of file CDCDedxMeanPars.h.

40{};

Member Function Documentation

◆ getMeanPar()

double getMeanPar ( int  par) const
inline

Return specific mean parameter.

Returns
mean parameter

Definition at line 58 of file CDCDedxMeanPars.h.

58{return m_meanpars[par]; };

◆ getMeanPars()

std::vector< double > getMeanPars ( ) const
inline

Return vector of mean parameters.

Returns
vector of mean parameters

Definition at line 53 of file CDCDedxMeanPars.h.

53{return m_meanpars; };

◆ getSize()

double getSize ( ) const
inline

Get the number of parameters.

Definition at line 44 of file CDCDedxMeanPars.h.

44{return m_meanpars.size(); };

◆ getVersion()

short getVersion ( ) const
inline

Get the version for the mean parameterization.

Definition at line 48 of file CDCDedxMeanPars.h.

48{return m_version; };

◆ setMeanPar()

void setMeanPar ( int  par,
double  value 
)
inline

Set a parameter.

Parameters
parparameter key
valueparameter value

Definition at line 69 of file CDCDedxMeanPars.h.

69{m_meanpars[par] = value; };

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxMeanPars.h.

63{m_version = version; };

Member Data Documentation

◆ m_meanpars

std::vector<double> m_meanpars
private

dE/dx mean parameters

Definition at line 73 of file CDCDedxMeanPars.h.

◆ m_version

short m_version { -1}
private

version number for mean parameterization

Definition at line 72 of file CDCDedxMeanPars.h.


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