Belle II Software
release-08-01-10
|
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; =2: 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. | |
void | outputToFile (std::string fileName) const |
Output the contents in text file format. | |
Private Member Functions | |
ClassDef (CDCEDepToADCConversions, 3) | |
ClassDef. | |
Private Attributes | |
unsigned short | m_paramMode = 0 |
Mode for parameterization. | |
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 25 of file CDCEDepToADCConversions.h.
|
inline |
Get the no.
of entries in the list
Definition at line 79 of file CDCEDepToADCConversions.h.
|
inline |
Get the conv.
parameters for the id
id | layerID or wireID |
Definition at line 97 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 55 of file CDCEDepToADCConversions.h.