11#include <vxd/dataobjects/VxdID.h>
12#include <svd/dbobjects/SVDCalibrationsBase.h>
13#include <svd/dbobjects/SVDCalibrationsScalar.h>
14#include <svd/dbobjects/SVDPositionErrorFunction.h>
15#include <framework/database/DBObjPtr.h>
16#include <framework/logging/Logger.h>
38 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
39 B2DEBUG(20,
"SVDCoGOnlyPositionError: from now on we are using " <<
57 const bool& isU,
const unsigned short& strip,
67 strip).getPositionError(clSNR, clSize);
Class for accessing objects in the database.
base class for calibrations classes
This class defines the dbobject and the methods to access the SVD position error parameters and provi...
static std::string name
name of the SVDPositionErrorFunction payload
double getPositionError(const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &clSNR, const int &clSize, const float &pitch) const
Return the position error.
SVDCoGOnlyPositionError()
Constructor, no input argument is required.
SVDCalibrationsBase< SVDCalibrationsScalar< SVDPositionErrorFunction > > t_payload
typedef for the SVDPositionErrorFunction payload of all SVD sensors
TString getUniqueID()
returns the unique ID of the payload
DBObjPtr< t_payload > m_aDBObjPtr
SVDPositionErrorFunction payload.
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
Class to uniquely identify a any structure of the PXD and SVD.
baseType getSensorNumber() const
Get the sensor id.
baseType getLadderNumber() const
Get the ladder id.
baseType getLayerNumber() const
Get the layer id.
Abstract base class for different kinds of events.