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

CDC layers alignment constants. More...

#include <CDCLayerAlignment.h>

Inheritance diagram for CDCLayerAlignment:
Collaboration diagram for CDCLayerAlignment:

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

 CDCLayerAlignment ()
 Constructor.
 
 ~CDCLayerAlignment ()
 Destructor.
 
double getGlobalParam (unsigned short element, unsigned short param)
 Get global parameter FIXME does nothing because CDC is not ready.
 
void setGlobalParam (double value, unsigned short element, unsigned short param)
 Set global parameter FIXME does nothing because CDC is not ready.
 
std::vector< std::pair< unsigned short, unsigned short > > listGlobalParams ()
 list stored global parameters TODO FIXME CDC not ready
 
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 layerX = 1
 Layer shift in global X at backward endplate.
 
static const baseType layerY = 2
 Layer shift in global Y at backward endplate.
 
static const baseType layerPhi = 6
 Layer rotation in global X-Y plane (gamma) at backward endplate.
 
static const baseType layerDx = 11
 Layer shift in global X dX = foward - backward endplate.
 
static const baseType layerDy = 12
 Layer shift in global Y dY = foward - backward endplate.
 
static const baseType layerDPhi = 16
 Layer rotation in global X-Y plane (gamma) dPhi = foward - backward endplate.
 

Private Member Functions

 ClassDef (CDCLayerAlignment, 1)
 Storage for CDC alignment constants (mainly now for Millepede)
 

Private Attributes

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

Detailed Description

CDC layers alignment constants.

Definition at line 19 of file CDCLayerAlignment.h.


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