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

dE/dx hadron saturation parameterization constants More...

#include <CDCDedxHadronCor.h>

Inheritance diagram for CDCDedxHadronCor:
Collaboration diagram for CDCDedxHadronCor:

Public Member Functions

 CDCDedxHadronCor ()
 Default constructor.
 
 CDCDedxHadronCor (short version, const std::vector< double > &hadronpars)
 Constructor.
 
 ~CDCDedxHadronCor ()
 Destructor.
 
double getSize () const
 Get the number of parameters.
 
short getVersion () const
 Get the version for the hadron parameterization.
 
std::vector< double > getHadronPars () const
 Return vector of hadron parameters. More...
 
double getHadronPar (int par) const
 Return specific hadron parameter. More...
 
void setVersion (short version)
 Set version number. More...
 
void setHadronPar (int par, double value)
 Set a parameter. More...
 

Private Member Functions

 ClassDef (CDCDedxHadronCor, 2)
 ClassDef.
 

Private Attributes

short m_version { -1}
 version number for hadron saturation parameterization
 
std::vector< double > m_hadronpars
 dE/dx hadron correction parameters
 

Detailed Description

dE/dx hadron saturation parameterization constants

Definition at line 24 of file CDCDedxHadronCor.h.

Member Function Documentation

◆ getHadronPar()

double getHadronPar ( int  par) const
inline

Return specific hadron parameter.

Returns
hadron parameter

Definition at line 58 of file CDCDedxHadronCor.h.

58 {return m_hadronpars[par]; };
std::vector< double > m_hadronpars
dE/dx hadron correction parameters

◆ getHadronPars()

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

Return vector of hadron parameters.

Returns
vector of hadron parameters

Definition at line 53 of file CDCDedxHadronCor.h.

◆ setHadronPar()

void setHadronPar ( int  par,
double  value 
)
inline

Set a parameter.

Parameters
parparameter key
valueparameter value

Definition at line 69 of file CDCDedxHadronCor.h.

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxHadronCor.h.


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