 |
Belle II Software
release-05-02-19
|
38 class DBObjCalibrationConstMapBase:
public TObject {
65 virtual double add(
baseType id,
baseType param,
double value,
bool subtractInsteadOfAdd =
false);
68 virtual void dump()
const;
virtual void set(baseType id, baseType param, double value)
Set parameter correction for given WireID and parameter number.
std::map< ElementParameter, double > ElementParameterMap
Map of (element, parameter) and its values.
std::pair< baseType, baseType > ElementParameter
(element, parameter)
Base for calibration or alignment parameters identified by two unsigned shorts Typically first is som...
virtual ~DBObjCalibrationConstMapBase()
Destructor.
const ElementParameterMap & getMap()
Get the underlying map of constants.
ElementParameterMap m_constants
Map of map of all calibration elements' constants.
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)
Abstract base class for different kinds of events.
int baseType
The underlying element type (also for param id)
DBObjCalibrationConstMapBase()
Constructor.
virtual void dump() const
Write all elements' parameters' values to standard output.
ClassDef(DBObjCalibrationConstMapBase, 1)
Storage for alignment and calibration constants.
virtual double get(baseType id, baseType param) const
Get parameter value for given element and parameter number.