Belle II Software development
CDCDedxSigmaPars Class Reference

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

#include <CDCDedxSigmaPars.h>

Inheritance 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.
 
double getSigmaPar (int par) const
 Return specific sigma parameters.
 
void setVersion (short version)
 Set version number.
 
void setSigmaPar (int par, double value)
 Set sigma parameter.
 

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.

Constructor & Destructor Documentation

◆ CDCDedxSigmaPars() [1/2]

CDCDedxSigmaPars ( )
inline

Default constructor.

Definition at line 30 of file CDCDedxSigmaPars.h.

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

◆ CDCDedxSigmaPars() [2/2]

CDCDedxSigmaPars ( short  version,
const std::vector< double > &  sigmapars 
)
inline

Constructor.

Definition at line 35 of file CDCDedxSigmaPars.h.

35: m_version(version), m_sigmapars(sigmapars) {};
short m_version
version number for sigma parameterization

◆ ~CDCDedxSigmaPars()

~CDCDedxSigmaPars ( )
inline

Destructor.

Definition at line 40 of file CDCDedxSigmaPars.h.

40{};

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

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

53{return m_sigmapars; };

◆ getSize()

double getSize ( ) const
inline

Get the number of parameters.

Definition at line 44 of file CDCDedxSigmaPars.h.

44{return m_sigmapars.size(); };

◆ getVersion()

int getVersion ( ) const
inline

Get the version for the sigma parameterization.

Definition at line 48 of file CDCDedxSigmaPars.h.

48{return m_version; };

◆ setSigmaPar()

void setSigmaPar ( int  par,
double  value 
)
inline

Set sigma parameter.

Parameters
parparameter value
valueparameter key

Definition at line 69 of file CDCDedxSigmaPars.h.

69{m_sigmapars[par] = value; };

◆ setVersion()

void setVersion ( short  version)
inline

Set version number.

Parameters
version

Definition at line 63 of file CDCDedxSigmaPars.h.

63{m_version = version; };

Member Data Documentation

◆ m_sigmapars

std::vector<double> m_sigmapars
private

dE/dx resolution parameters

Definition at line 73 of file CDCDedxSigmaPars.h.

◆ m_version

short m_version { -1}
private

version number for sigma parameterization

Definition at line 72 of file CDCDedxSigmaPars.h.


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