 |
Belle II Software
release-05-02-19
|
13 #include <vxd/dataobjects/VxdID.h>
14 #include <svd/dbobjects/SVDCalibrationsBase.h>
15 #include <svd/dbobjects/SVDCalibrationsScalar.h>
16 #include <svd/dbobjects/SVDCoGCalibrationFunction.h>
17 #include <framework/database/DBObjPtr.h>
18 #include <framework/logging/Logger.h>
33 class SVD3SampleCoGTimeCalibrations {
35 static std::string
name;
36 typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDCoGCalibrationFunction > >
42 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
43 B2INFO(
"SVD3SampleCoGTimeCalibrations: from now on we are using " <<
62 const bool& isU,
const unsigned short& strip,
63 const double& raw_time,
71 strip).calibratedValue(raw_time, bin);
Class to uniquely identify a any structure of the PXD and SVD.
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
baseType getLadderNumber() const
Get the ladder id.
TString getUniqueID()
returns the unique ID of the payload
SVD3SampleCoGTimeCalibrations()
Constructor, no input argument is required.
Class for accessing objects in the database.
double getCorrectedTime(const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &raw_time, const int &bin) const
Return the charge (number of electrons/holes) collected on a specific strip, given the number of ADC ...
DBObjPtr< t_payload > m_aDBObjPtr
SVDCoGCalibrationFunction payload.
Abstract base class for different kinds of events.
static std::string name
name of the SVD3SampleCoGTimeCalibration wrapper
baseType getSensorNumber() const
Get the sensor id.
SVDCalibrationsBase< SVDCalibrationsScalar< SVDCoGCalibrationFunction > > t_payload
typedef for the SVDCoGCalibrationFunction payload of all SVD sensors
baseType getLayerNumber() const
Get the layer id.