![]() |
Belle II Software development
|
Database object for scale factors on alpha for CDC hit charge asymmetry. More...
#include <CDCAlphaScaleFactorForAsymmetry.h>
Public Types | |
enum | { c_nLayers = 56 , c_nAlphaBins = 150 } |
Constants. More... | |
Public Member Functions | |
CDCAlphaScaleFactorForAsymmetry () | |
Default constructor. | |
void | setScaleFactors (const std::array< std::array< float, c_nAlphaBins >, c_nLayers > &inputScales) |
Set the factors in the list. | |
unsigned short | getEntries () const |
Get the no. | |
std::array< std::array< float, c_nAlphaBins >, c_nLayers > | getScaleFactors () const |
Get the whole list. | |
std::array< float, c_nAlphaBins > | getScaleFactors (unsigned short iCLayer) const |
Get the factors for the iCLayer. | |
double | getScaleFactor (unsigned short iCLayer, double alpha) const |
Get the factor for one hit. | |
void | dump () const |
Print all contents. | |
Private Member Functions | |
ClassDef (CDCAlphaScaleFactorForAsymmetry, 1) | |
ClassDef. | |
Private Attributes | |
std::array< std::array< float, c_nAlphaBins >, c_nLayers > | m_Scales |
scale factors | |
double | c_AlphaBinWidth = 0.01 |
bin width on alpha | |
Database object for scale factors on alpha for CDC hit charge asymmetry.
Needed only for MC production.
Definition at line 25 of file CDCAlphaScaleFactorForAsymmetry.h.
anonymous enum |
Constants.
Enumerator | |
---|---|
c_nLayers | no. of layers |
c_nAlphaBins | no. of alpha angle bins per layer |
Definition at line 30 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
|
inline |
Print all contents.
Definition at line 97 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
Get the no.
of entries in the list
Definition at line 53 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
Get the factor for one hit.
iCLayer | layerID |
alpha | alpha value |
Definition at line 84 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
Get the whole list.
Definition at line 61 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
Get the factors for the iCLayer.
iCLayer | layerID |
Definition at line 71 of file CDCAlphaScaleFactorForAsymmetry.h.
|
inline |
Set the factors in the list.
inputScales | factors |
Definition at line 45 of file CDCAlphaScaleFactorForAsymmetry.h.
|
private |
bin width on alpha
Definition at line 115 of file CDCAlphaScaleFactorForAsymmetry.h.
|
private |
scale factors
Definition at line 114 of file CDCAlphaScaleFactorForAsymmetry.h.