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

Database object for correcting a simple threshold model in MC. More...

#include <CDCCorrToThresholds.h>

Inheritance diagram for CDCCorrToThresholds:
Collaboration diagram for CDCCorrToThresholds:

Public Member Functions

 CDCCorrToThresholds ()
 Default constructor.
 
void setParam (unsigned short id, double param)
 Set the paramseter in the array. More...
 
unsigned short getEntries () const
 Get the no. More...
 
std::array< float, c_maxNSenseLayers > getParams () const
 Get the whole array.
 
float getParam (unsigned short id) const
 Get the parameter for the id. More...
 
void dump () const
 Print all contents.
 
void outputToFile (std::string fileName) const
 Output the contents in text file format.
 

Private Member Functions

 ClassDef (CDCCorrToThresholds, 2)
 ClassDef.
 

Private Attributes

std::array< float, c_maxNSenseLayers > m_crs
 cr array
 

Detailed Description

Database object for correcting a simple threshold model in MC.

Definition at line 27 of file CDCCorrToThresholds.h.

Member Function Documentation

◆ getEntries()

unsigned short getEntries ( ) const
inline

Get the no.

of entries in the array

Definition at line 48 of file CDCCorrToThresholds.h.

49  {
50  return m_crs.size();
51  }
std::array< float, c_maxNSenseLayers > m_crs
cr array

◆ getParam()

float getParam ( unsigned short  id) const
inline

Get the parameter for the id.

Parameters
idlayerID
Returns
parameter for the id

Definition at line 66 of file CDCCorrToThresholds.h.

◆ setParam()

void setParam ( unsigned short  id,
double  param 
)
inline

Set the paramseter in the array.

Parameters
idlayerID(0-55)
paramparameter for correction

Definition at line 40 of file CDCCorrToThresholds.h.


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