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

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

#include <CDCDedxSigmaPars.h>

Inheritance diagram for CDCDedxSigmaPars:
Collaboration diagram for CDCDedxSigmaPars:

Public Member Functions

 CDCDedxSigmaPars ()
 Default constructor.
 
 CDCDedxSigmaPars (short version, const std::vector< double > &sigmapars)
 Constructor.
 
 ~CDCDedxSigmaPars ()
 Destructor.
 
double getSize () const
 Get the number of parameters.
 
int getVersion () const
 Get the version for the sigma parameterization.
 
std::vector< double > getSigmaPars () const
 Return vector of sigma parameters. More...
 
double getSigmaPar (int par) const
 Return specific sigma parameters. More...
 
void setVersion (short version)
 Set version number. More...
 
void setSigmaPar (int par, double value)
 Set sigma parameter. More...
 

Private Member Functions

 ClassDef (CDCDedxSigmaPars, 2)
 ClassDef.
 

Private Attributes

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

Detailed Description

dE/dx sigma (versus beta-gamma) parameterization constants

Definition at line 24 of file CDCDedxSigmaPars.h.

Member Function Documentation

◆ getSigmaPar()

double getSigmaPar ( int  par) const
inline

Return specific sigma parameters.

Returns
specific sigma parameters

Definition at line 58 of file CDCDedxSigmaPars.h.

58 {return m_sigmapars[par]; };
std::vector< double > m_sigmapars
dE/dx resolution parameters

◆ getSigmaPars()

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

Return vector of sigma parameters.

Returns
vector of sigma parameters

Definition at line 53 of file CDCDedxSigmaPars.h.

◆ setSigmaPar()

void setSigmaPar ( int  par,
double  value 
)
inline

Set sigma parameter.

Parameters
parparameter value
valueparameter key

Definition at line 69 of file CDCDedxSigmaPars.h.

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxSigmaPars.h.


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