![]() |
Belle II Software
release-05-02-19
|
Database object for energy-deposit to ADC-count conversion. More...
#include <CDCEDepToADCConversions.h>


Public Member Functions | |
| CDCEDepToADCConversions () | |
| Default constructor. | |
| void | setParamMode (unsigned short mode) |
| Set conversion parameterization mode. | |
| void | setGroupID (unsigned short mode) |
| Set group id (parameterized per group) id=0: superLayerID; =1: layerID; =1: wireID. | |
| void | setParams (unsigned short id, const std::vector< float > ¶ms) |
| Set the conv. More... | |
| unsigned short | getParamMode () const |
| Get mode of conversion parameterization. | |
| unsigned short | getGroupID () const |
| Get group id. | |
| unsigned short | getEntries () const |
| Get the no. More... | |
| std::map< unsigned short, std::vector< float > > | getParams () const |
| Get the whole list. | |
| const std::vector< float > & | getParams (unsigned short id) const |
| Get the conv. More... | |
| void | dump () const |
| Print all contents. | |
Private Member Functions | |
| ClassDef (CDCEDepToADCConversions, 2) | |
| ClassDef. | |
Private Attributes | |
| unsigned short | m_paramMode = 0 |
| Output the contents in text file format. More... | |
| unsigned short | m_groupID = 0 |
| Group id (parameterized per group) | |
| std::map< unsigned short, std::vector< float > > | m_cvs |
| cv list | |
Database object for energy-deposit to ADC-count conversion.
Definition at line 35 of file CDCEDepToADCConversions.h.
|
inline |
|
inline |
Get the conv.
parameters for the id
| id | layerID or wireID |
Definition at line 107 of file CDCEDepToADCConversions.h.
|
inline |
Set the conv.
paramseters in the list
| id | superLayerid(0-8), laerID(0-55) or wireID |
| params | parameters for conversion |
Definition at line 65 of file CDCEDepToADCConversions.h.
|
private |
Output the contents in text file format.
Mode for parameterization
Definition at line 163 of file CDCEDepToADCConversions.h.