Belle II Software  release-08-01-10
CDCDedxMeanPars Class Reference

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

#include <CDCDedxMeanPars.h>

Inheritance diagram for CDCDedxMeanPars:
Collaboration 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. More...
 
double getMeanPar (int par) const
 Return specific mean parameter. More...
 
void setVersion (short version)
 Set version number. More...
 
void setMeanPar (int par, double value)
 Set a parameter. More...
 

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.

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]; };
std::vector< double > m_meanpars
dE/dx mean parameters

◆ 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.

◆ setMeanPar()

void setMeanPar ( int  par,
double  value 
)
inline

Set a parameter.

Parameters
parparameter key
valueparameter value

Definition at line 69 of file CDCDedxMeanPars.h.

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxMeanPars.h.


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