 |
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 SVD3SampleELSTimeCalibrations {
35 static std::string
name;
36 typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDCoGCalibrationFunction > >
42 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
43 B2INFO(
"SVD3SampleELSTimeCalibrations: 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.
baseType getLadderNumber() const
Get the ladder id.
TString getUniqueID()
returns the unique ID of the payload
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
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 ...
Class for accessing objects in the database.
SVD3SampleELSTimeCalibrations()
Constructor, no input argument is required.
Abstract base class for different kinds of events.
DBObjPtr< t_payload > m_aDBObjPtr
SVDCoGCalibrationFunction payload.
static std::string name
name of the SVD3SampleELSTimeCalibration 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.