 |
Belle II Software
release-05-01-25
|
13 #include <calibration/DBObjCalibrationConstMapBase.h>
14 #include <cdc/dataobjects/WireID.h>
22 class CDCCalibration:
public DBObjCalibrationConstMapBase {
97 double getGlobalParam(
unsigned short element,
unsigned short param) {
return get(element, param);}
99 void setGlobalParam(
double value,
unsigned short element,
unsigned short param) {
set(element, param, value);}
101 std::vector<std::pair<unsigned short, unsigned short>>
listGlobalParams() {
return {};}
103 void readFromResult(std::vector<std::tuple<unsigned short, unsigned short, unsigned short, double>>&) {}
static const baseType wireT0
Wire T0 correction w.r.t. common board T0.
static const baseType Wire4EndPartInner
Inner conical end part = (63, 412)
Class to identify a wire inside the CDC.
~CDCCalibration()
Destructor.
virtual void set(baseType id, baseType param, double value)
Set parameter correction for given WireID and parameter number.
static const baseType boardT0
Board common T0 correction.
static const baseType wireBwdX
Wire X position w.r.t. nominal on backward endplate.
static const baseType wireBwdZ
Wire Z position w.r.t. nominal on backward endplate.
static const baseType WireNone
Last bit for wire (actually over 100 unused - but useful for us)
static const baseType wireBwdY
Wire Y position w.r.t. nominal on backward endplate.
CDC alignment and calibration constants.
double getLayerShiftY(int ICLayer)
Direct getter to Y shift of layer.
static const baseType wireFwdDx
Wire X position on forward enplate taking wireBwdX as new nominal.
Base for calibration or alignment parameters identified by two unsigned shorts Typically first is som...
static const baseType Wire4Layers
layer = (ICLayer, 400)
static const baseType Wire4SuperLayers
SuperLayer = (SuperLayer, 0, 405)
static const baseType ICLayerNone
Last bit for continous layer (unused)
static const baseType endPlateBwdPhi
Backward endplate rotation w.r.t. nominal (geometry)
static const baseType wireFwdDz
Wire Z position on forward enplate taking wireBwdZ as new nominal.
double getGlobalParam(unsigned short element, unsigned short param)
Get global parameter.
static const baseType wireTension
Wire tension w.r.t. nominal (=50. ?)
std::vector< std::pair< unsigned short, unsigned short > > listGlobalParams()
TODO: list stored global parameters.
Abstract base class for different kinds of events.
double getLayerShiftX(int ICLayer)
Direct getter to X shift of layer.
int baseType
The underlying element type (also for param id)
CDCCalibration()
Constructor.
static unsigned short getGlobalUniqueID()
Get global unique id.
static const baseType Wire4EndPartMiddle
Middle conical end part = (63, 411)
static const baseType endPlateFwdDphi
Forward enplate rotation taking endPlateBwdPhi as new nominal.
static const baseType wireFwdDy
Wire Y position on forward enplate taking wireBwdY as new nominal.
void readFromResult(std::vector< std::tuple< unsigned short, unsigned short, unsigned short, double >> &)
Not used.
static const baseType layerX
Layer X position w.r.t. geometry.
void setGlobalParam(double value, unsigned short element, unsigned short param)
Set global parameter.
ClassDef(CDCCalibration, 2)
Storage for CDC alignment and calibration constants (mainly now for Millepede)
static const baseType Wire4EndPartOuter
Outer conical end part = (63, 405)
virtual double get(baseType id, baseType param) const
Get parameter value for given element and parameter number.
static const baseType xTlayerP0
Layer dependent constant (order 0) correction to x-t relation.
static const baseType layerY
Layer Y position w.r.t. geometry.