Belle II Software  release-08-01-10
CDCMisalignment Class Reference

CDC misalignment constants. More...

#include <CDCMisalignment.h>

Inheritance diagram for CDCMisalignment:
Collaboration diagram for CDCMisalignment:

Public Types

typedef int baseType
 The underlying element type (also for param id)
 
typedef std::pair< baseType, baseTypeElementParameter
 (element, parameter)
 
typedef std::map< ElementParameter, double > ElementParameterMap
 Map of (element, parameter) and its values.
 

Public Member Functions

 CDCMisalignment ()
 Constructor.
 
double getBwdWireShiftX (int ICLayer, int ILayer)
 Getter to X shift of bwd wire.
 
double getBwdWireShiftY (int ICLayer, int ILayer)
 Getter to Y shift of bwd wire.
 
double getBwdWireShiftZ (int ICLayer, int ILayer)
 Getter to Z shift of bwd wire.
 
double getFwdWireShiftX (int ICLayer, int ILayer)
 Getter to X shift of fwd wire.
 
double getFwdWireShiftY (int ICLayer, int ILayer)
 Getter to Y shift of fwd wire.
 
double getFwdWireShiftZ (int ICLayer, int ILayer)
 Getter to Z shift of fwd wire.
 
double getWireTension (int ICLayer, int ILayer)
 Getter to wire tension.
 
double getLayerShiftX (int ICLayer)
 Direct getter to X shift of layer.
 
double getLayerShiftY (int ICLayer)
 Direct getter to Y shift of layer.
 
 ~CDCMisalignment ()
 Destructor.
 
const ElementParameterMapgetMap ()
 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 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 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 layerX = 0
 Layer X position w.r.t. geometry.
 
static const baseType layerY = 1
 Layer Y position w.r.t. geometry.
 
static const baseType wireTension = 21
 Wire tension w.r.t. nominal (=50. ?)
 
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 (CDCMisalignment, 1)
 Storage for CDC misalignment constants (mainly now for Millepede)
 

Private Attributes

ElementParameterMap m_constants
 Map of map of all calibration elements' constants.
 

Detailed Description

CDC misalignment constants.

Definition at line 25 of file CDCMisalignment.h.


The documentation for this class was generated from the following file: