![]() |
Belle II Software
release-08-00-10
|
CDC alignment constants. More...
#include <CDCAlignment.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 | |
CDCAlignment () | |
Constructor. | |
double | getBwdWireShiftX (int ICLayer, int ILayer) const |
Getter to X shift of bwd wire. | |
double | getBwdWireShiftY (int ICLayer, int ILayer) const |
Getter to Y shift of bwd wire. | |
double | getBwdWireShiftZ (int ICLayer, int ILayer) const |
Getter to Z shift of bwd wire. | |
double | getFwdWireShiftX (int ICLayer, int ILayer) const |
Getter to X shift of fwd wire. | |
double | getFwdWireShiftY (int ICLayer, int ILayer) const |
Getter to Y shift of fwd wire. | |
double | getFwdWireShiftZ (int ICLayer, int ILayer) const |
Getter to Z shift of fwd wire. | |
double | getWireTension (int ICLayer, int ILayer) const |
Getter to wire tension. | |
~CDCAlignment () | |
Destructor. | |
double | getGlobalParam (unsigned short element, unsigned short param) const |
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 () |
list stored global parameters TODO FIXME CDC not ready | |
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 | 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 | wireFwdX = 4 |
Wire X position w.r.t. nominal on forward endplate. | |
static const baseType | wireFwdY = 5 |
Wire Y position w.r.t. nominal on forward endplate. | |
static const baseType | wireFwdZ = 6 |
Wire Z position w.r.t. nominal on forward endplate. | |
static const baseType | wireTension = 21 |
Wire tension w.r.t. nominal (=50. ?) | |
static const baseType | layerX = 1 |
Layer shift in global X at backward endplate. | |
static const baseType | layerY = 2 |
Layer shift in global Y at backward endplate. | |
static const baseType | layerPhi = 6 |
Layer rotation in global X-Y plane (gamma) at backward endplate. | |
static const baseType | layerDx = 11 |
Layer shift in global X dX = foward - backward endplate. | |
static const baseType | layerDy = 12 |
Layer shift in global Y dY = foward - backward endplate. | |
static const baseType | layerDPhi = 16 |
Layer rotation in global X-Y plane (gamma) dPhi = foward - backward endplate. | |
Private Member Functions | |
ClassDef (CDCAlignment, 2) | |
Storage for CDC alignment constants (mainly now for Millepede) | |
Private Attributes | |
ElementParameterMap | m_constants |
Map of map of all calibration elements' constants. | |
CDC alignment constants.
Definition at line 24 of file CDCAlignment.h.