![]() |
Belle II Software
release-08-02-04
|
CDC alignment and calibration constants. More...
#include <CDCCalibration.h>


Public Types | |
| typedef int | baseType |
| The underlying element type (also for param id) | |
| typedef std::pair< baseType, baseType > | ElementParameter |
| (element, parameter) | |
| typedef std::map< ElementParameter, double > | ElementParameterMap |
| Map of (element, parameter) and its values. | |
Public Member Functions | |
| CDCCalibration () | |
| Constructor. | |
| double | getLayerShiftX (int ICLayer) |
| Direct getter to X shift of layer. | |
| double | getLayerShiftY (int ICLayer) |
| Direct getter to Y shift of layer. | |
| ~CDCCalibration () | |
| Destructor. | |
| double | getGlobalParam (unsigned short element, unsigned short param) |
| Get global parameter. | |
| void | setGlobalParam (double value, unsigned short element, unsigned short param) |
| Set global parameter. | |
| std::vector< std::pair< unsigned short, unsigned short > > | listGlobalParams () |
| TODO: list stored global parameters. | |
| void | readFromResult (std::vector< std::tuple< unsigned short, unsigned short, unsigned short, double >> &) |
| Not used. | |
| const ElementParameterMap & | getMap () |
| Get the underlying map of constants. | |
| virtual double | get (baseType id, baseType param) const |
| Get parameter value for given element and parameter number. | |
| virtual void | set (baseType id, baseType param, double value) |
| Set parameter correction for given WireID and parameter number. | |
| virtual double | add (baseType id, baseType param, double value, bool subtractInsteadOfAdd=false) |
| Add correction to already stored (or to 0. if not set yet) constant value (optionaly with minus sign) | |
| virtual void | dump () const |
| Write all elements' parameters' values to standard output. | |
Static Public Member Functions | |
| static unsigned short | getGlobalUniqueID () |
| Get global unique id. | |
Static Public Attributes | |
| static const baseType | WireNone = 511 |
| Last bit for wire (actually over 100 unused - but useful for us) | |
| static const baseType | ICLayerNone = 63 |
| Last bit for continous layer (unused) | |
| static const baseType | Wire4Layers = 400 |
| layer = (ICLayer, 400) | |
| static const baseType | Wire4SuperLayers = 405 |
| SuperLayer = (SuperLayer, 0, 405) | |
| static const baseType | Wire4EndPartOuter = 410 |
| Outer conical end part = (63, 405) | |
| static const baseType | Wire4EndPartMiddle = 411 |
| Middle conical end part = (63, 411) | |
| static const baseType | Wire4EndPartInner = 412 |
| Inner conical end part = (63, 412) | |
| static const baseType | wireBwdX = 0 |
| Wire X position w.r.t. nominal on backward endplate. | |
| static const baseType | wireBwdY = 1 |
| Wire Y position w.r.t. nominal on backward endplate. | |
| static const baseType | wireBwdZ = 2 |
| Wire Z position w.r.t. nominal on backward endplate. | |
| static const baseType | wireFwdDx = 4 |
| Wire X position on forward enplate taking wireBwdX as new nominal. | |
| static const baseType | wireFwdDy = 5 |
| Wire Y position on forward enplate taking wireBwdY as new nominal. | |
| static const baseType | wireFwdDz = 6 |
| Wire Z position on forward enplate taking wireBwdZ as new nominal. | |
| static const baseType | layerX = 0 |
| Layer X position w.r.t. geometry. | |
| static const baseType | layerY = 1 |
| Layer Y position w.r.t. geometry. | |
| static const baseType | wireT0 = 11 |
| Wire T0 correction w.r.t. common board T0. | |
| static const baseType | boardT0 = 13 |
| Board common T0 correction. | |
| static const baseType | wireTension = 21 |
| Wire tension w.r.t. nominal (=50. ?) | |
| static const baseType | xTlayerP0 = 31 |
| Layer dependent constant (order 0) correction to x-t relation. | |
| static const baseType | endPlateBwdPhi = 46 |
| Backward endplate rotation w.r.t. nominal (geometry) | |
| static const baseType | endPlateFwdDphi = 47 |
| Forward enplate rotation taking endPlateBwdPhi as new nominal. | |
Private Member Functions | |
| ClassDef (CDCCalibration, 2) | |
| Storage for CDC alignment and calibration constants (mainly now for Millepede) | |
Private Attributes | |
| ElementParameterMap | m_constants |
| Map of map of all calibration elements' constants. | |
CDC alignment and calibration constants.
Definition at line 21 of file CDCCalibration.h.