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