11#include <calibration/DBObjCalibrationConstMapBase.h>
12#include <cdc/dataobjects/WireID.h>
113 return get(element, param);
118 set(element, param, value);
~CDCAlignment()
Destructor.
std::vector< std::pair< unsigned short, unsigned short > > listGlobalParams()
list stored global parameters TODO FIXME CDC not ready
static unsigned short getGlobalUniqueID()
Get global unique id.
static const baseType layerDPhi
Layer rotation in global X-Y plane (gamma) dPhi = foward - backward endplate.
double getGlobalParam(unsigned short element, unsigned short param) const
Get global parameter.
double getFwdWireShiftX(int ICLayer, int ILayer) const
Getter to X shift of fwd wire.
double getBwdWireShiftY(int ICLayer, int ILayer) const
Getter to Y shift of bwd wire.
static const baseType layerDy
Layer shift in global Y dY = foward - backward endplate.
static const baseType wireBwdZ
Wire Z position w.r.t. nominal on backward endplate.
ClassDef(CDCAlignment, 2)
Storage for CDC alignment constants (mainly now for Millepede)
double getWireTension(int ICLayer, int ILayer) const
Getter to wire tension.
double getFwdWireShiftZ(int ICLayer, int ILayer) const
Getter to Z shift of fwd wire.
double getBwdWireShiftZ(int ICLayer, int ILayer) const
Getter to Z shift of bwd wire.
static const baseType layerDx
Layer shift in global X dX = foward - backward endplate.
CDCAlignment()
Constructor.
static const baseType wireBwdY
Wire Y position w.r.t. nominal on backward endplate.
static const baseType wireFwdZ
Wire Z position w.r.t. nominal on forward endplate.
static const baseType wireFwdY
Wire Y position w.r.t. nominal on forward endplate.
void setGlobalParam(double value, unsigned short element, unsigned short param)
Set global parameter.
static const baseType wireFwdX
Wire X position w.r.t. nominal on forward endplate.
static const baseType wireBwdX
Wire X position w.r.t. nominal on backward endplate.
static const baseType layerY
Layer shift in global Y at backward endplate.
static const baseType layerX
Layer shift in global X at backward endplate.
double getFwdWireShiftY(int ICLayer, int ILayer) const
Getter to Y shift of fwd wire.
double getBwdWireShiftX(int ICLayer, int ILayer) const
Getter to X shift of bwd wire.
static const baseType layerPhi
Layer rotation in global X-Y plane (gamma) at backward endplate.
static const baseType wireTension
Wire tension w.r.t. nominal (=50. ?)
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.