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

VXD alignment (and maybe some calibration) parameters. More...

#include <VXDAlignment.h>

Inheritance diagram for VXDAlignment:
Collaboration diagram for VXDAlignment:

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

 VXDAlignment ()
 Constructor.
 
 ~VXDAlignment ()
 Destructor.
 
double getGlobalParam (unsigned short element, unsigned short param)
 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 ()
 TODO: list stored global parameters.
 
void readFromResult (std::vector< std::tuple< unsigned short, unsigned short, unsigned short, double >> &)
 Not used.
 
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 Member Functions

static unsigned short getGlobalUniqueID ()
 Get global unique id.
 

Static Public Attributes

static const baseType dU = 1
 Sensor/layer/ladder alignment in local u.
 
static const baseType dV = 2
 Sensor/layer/ladder alignment in local v.
 
static const baseType dW = 3
 Sensor/layer/ladder alignment in local w.
 
static const baseType dAlpha = 4
 Sensor/layer/ladder alignment in local alpha.
 
static const baseType dBeta = 5
 Sensor/layer/ladder alignment in local beta.
 
static const baseType dGamma = 6
 Sensor/layer/ladder alignment in local gamma.
 
static const baseType dLorentzAngle = 11
 Correction of common Lorentz shift w.r.t. nominal.
 
static const baseType dLayerLorentzAngle = 12
 Correction of Lorentz shift w.r.t. common per layer.
 

Private Member Functions

 ClassDef (VXDAlignment, 2)
 VXD allignment and calibration constants.
 

Private Attributes

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

Detailed Description

VXD alignment (and maybe some calibration) parameters.

Definition at line 19 of file VXDAlignment.h.


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