Belle II Software development
CDCDedxHadronCor Class Reference

dE/dx hadron saturation parameterization constants More...

#include <CDCDedxHadronCor.h>

Inheritance 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.
 
double getHadronPar (int par) const
 Return specific hadron parameter.
 
void setVersion (short version)
 Set version number.
 
void setHadronPar (int par, double value)
 Set a parameter.
 

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.

Constructor & Destructor Documentation

◆ CDCDedxHadronCor() [1/2]

CDCDedxHadronCor ( )
inline

Default constructor.

Definition at line 30 of file CDCDedxHadronCor.h.

30: m_hadronpars() {};
std::vector< double > m_hadronpars
dE/dx hadron correction parameters

◆ CDCDedxHadronCor() [2/2]

CDCDedxHadronCor ( short  version,
const std::vector< double > &  hadronpars 
)
inline

Constructor.

Definition at line 35 of file CDCDedxHadronCor.h.

35: m_version(version), m_hadronpars(hadronpars) {};
short m_version
version number for hadron saturation parameterization

◆ ~CDCDedxHadronCor()

~CDCDedxHadronCor ( )
inline

Destructor.

Definition at line 40 of file CDCDedxHadronCor.h.

40{};

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]; };

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

53{return m_hadronpars; };

◆ getSize()

double getSize ( ) const
inline

Get the number of parameters.

Definition at line 44 of file CDCDedxHadronCor.h.

44{return m_hadronpars.size(); };

◆ getVersion()

short getVersion ( ) const
inline

Get the version for the hadron parameterization.

Definition at line 48 of file CDCDedxHadronCor.h.

48{return m_version; };

◆ setHadronPar()

void setHadronPar ( int  par,
double  value 
)
inline

Set a parameter.

Parameters
parparameter key
valueparameter value

Definition at line 69 of file CDCDedxHadronCor.h.

69{m_hadronpars[par] = value; };

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxHadronCor.h.

63{m_version = version; };

Member Data Documentation

◆ m_hadronpars

std::vector<double> m_hadronpars
private

dE/dx hadron correction parameters

Definition at line 73 of file CDCDedxHadronCor.h.

◆ m_version

short m_version { -1}
private

version number for hadron saturation parameterization

Definition at line 72 of file CDCDedxHadronCor.h.


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