![]() |
Belle II Software release-09-00-03
|
Database object for space resolutions. More...
#include <CDCSpaceResols.h>


Public Types | |
| enum | { c_nSLayers = 56 , c_maxNAlphaBins = 18 , c_maxNThetaBins = 7 , c_maxNSigmaParams = 9 } |
| Constants. More... | |
Public Member Functions | |
| CDCSpaceResols () | |
| Default constructor. | |
| void | setAlphaBin (const array3 &alpha) |
| Set alpha-angle bin (rad) | |
| void | setThetaBin (const array3 &theta) |
| Set theta-angle bin (rad) | |
| void | setSigmaParamMode (unsigned short mode) |
| Set sigma parameterization mode. | |
| void | setMaxSpaceResol (float sigma) |
| Set max. | |
| void | setSigmaParams (const SigmaID sigmaID, const std::vector< float > ¶ms) |
| Set sigma parameters for the specified id. | |
| void | setSigmaParams (unsigned short iCLayer, unsigned short iLR, unsigned short iAlpha, unsigned short iTheta, const std::vector< float > ¶ms) |
| Set sigma parameters for the specified id. | |
| void | addSigmaParams (const SigmaID sigmaID, const std::vector< float > &delta) |
| Update parameters for the specified id. | |
| void | addSigmaParams (unsigned short iCLayer, unsigned short iLR, unsigned short iAlpha, unsigned short iTheta, const std::vector< float > &delta) |
| Update parameters for the specified id. | |
| unsigned short | getNoOfAlphaBins () const |
| Get no. | |
| unsigned short | getNoOfThetaBins () const |
| Get no. | |
| const array3 & | getAlphaBin (unsigned short i) const |
| Get i-th alpha-angle bin info. | |
| float | getAlphaPoint (unsigned short i) const |
| Get i-th alpha-angle point (rad) | |
| const array3 & | getThetaBin (unsigned short i) const |
| Get i-th theta-angle bin info. | |
| float | getThetaPoint (unsigned short i) const |
| Get i-th theta-angle point (rad) | |
| unsigned short | getSigmaParamMode () const |
| Get parameterization mode. | |
| float | getMaxSpaceResol () const |
| Get max. | |
| SigmaID | getSigmaID (unsigned short iCLayer, unsigned short iLR, unsigned short iAlpha, unsigned short iTheta) const |
| Get id. | |
| SigmaID | getSigmaID (unsigned short iCLayer, unsigned short iLR, float alpha, float theta) const |
| Get id. | |
| const std::vector< float > & | getSigmaParams (const SigmaID sigmaID) const |
| Get sigma parameters for the specified id. | |
| const std::vector< float > & | getSigmaParams (unsigned short iCLayer, unsigned short iLR, unsigned short iAlpha, unsigned short iTheta) const |
| Get sigma parameters for the specified id. | |
| void | dump () const |
| Print all contents. | |
| void | outputToFile (std::string fileName) const |
| Output the contents in text file format. | |
Static Public Member Functions | |
| static bool | comp (const array3 &lhs, const array3 &rhs) |
| Static function for sorting. | |
Private Types | |
| typedef std::array< float, 3 > | array3 |
| angle bin info. | |
| typedef unsigned short | SigmaID |
| id. | |
Private Member Functions | |
| ClassDef (CDCSpaceResols, 2) | |
| ClassDef. | |
Private Attributes | |
| unsigned short | m_sigmaParamMode |
| Mode for sigma parameterization. | |
| unsigned short | m_nSigmaParams |
| no. | |
| float | m_maxSpaceResol = 0.07 |
| max. | |
| std::vector< array3 > | m_alphaBins |
| alpha bins for sigma (rad) | |
| std::vector< array3 > | m_thetaBins |
| theta bins for sigma (rad) | |
| std::map< SigmaID, std::vector< float > > | m_sigmas |
| Sigma coefficients for each layer, Left/Right, entrance angle and polar angle. | |
Database object for space resolutions.
Definition at line 26 of file CDCSpaceResols.h.
|
private |
angle bin info.
Definition at line 28 of file CDCSpaceResols.h.
|
private |
| anonymous enum |
Constants.
| Enumerator | |
|---|---|
| c_nSLayers | no. of layers |
| c_maxNAlphaBins | max. no. of alpha angle bins |
| c_maxNThetaBins | max. no. of theta angle bins |
| c_maxNSigmaParams | max. no. of params. for sigma |
Definition at line 35 of file CDCSpaceResols.h.
|
inline |
Default constructor.
Definition at line 44 of file CDCSpaceResols.h.
|
inline |
Update parameters for the specified id.
(=bin)
Definition at line 127 of file CDCSpaceResols.h.
|
inline |
Update parameters for the specified id.
(=bin)
Definition at line 143 of file CDCSpaceResols.h.
Static function for sorting.
Definition at line 77 of file CDCSpaceResols.h.
|
inline |
Print all contents.
Definition at line 307 of file CDCSpaceResols.h.
|
inline |
|
inline |
Get i-th alpha-angle point (rad)
Definition at line 178 of file CDCSpaceResols.h.
|
inline |
|
inline |
|
inline |
|
inline |
Get id.
(=bin id.)
Definition at line 231 of file CDCSpaceResols.h.
|
inline |
Get id.
(=bin id.) bit#00 - 05: used for layer no. bit#06 - 06: used for left/right bit#07 - 11: used for alpha angle bin bit#12 - 15: used for theta angle bin
Definition at line 222 of file CDCSpaceResols.h.
|
inline |
Get parameterization mode.
Definition at line 202 of file CDCSpaceResols.h.
|
inline |
|
inline |
Get sigma parameters for the specified id.
(=bin)
Definition at line 296 of file CDCSpaceResols.h.
|
inline |
|
inline |
Get i-th theta-angle point (rad)
Definition at line 194 of file CDCSpaceResols.h.
|
inline |
Output the contents in text file format.
Definition at line 351 of file CDCSpaceResols.h.
|
inline |
Set alpha-angle bin (rad)
Definition at line 50 of file CDCSpaceResols.h.
|
inline |
|
inline |
Set sigma parameterization mode.
Definition at line 85 of file CDCSpaceResols.h.
|
inline |
Set sigma parameters for the specified id.
(=bin)
Definition at line 101 of file CDCSpaceResols.h.
|
inline |
Set sigma parameters for the specified id.
(=bin)
Definition at line 117 of file CDCSpaceResols.h.
|
inline |
Set theta-angle bin (rad)
Definition at line 64 of file CDCSpaceResols.h.
|
private |
alpha bins for sigma (rad)
Definition at line 402 of file CDCSpaceResols.h.
|
private |
|
private |
|
private |
Mode for sigma parameterization.
Definition at line 399 of file CDCSpaceResols.h.
|
private |
Sigma coefficients for each layer, Left/Right, entrance angle and polar angle.
Definition at line 405 of file CDCSpaceResols.h.
|
private |
theta bins for sigma (rad)
Definition at line 403 of file CDCSpaceResols.h.