 |
Belle II Software
release-05-01-25
|
13 #include <vxd/dataobjects/VxdID.h>
14 #include <svd/dbobjects/SVDCalibrationsBase.h>
15 #include <svd/dbobjects/SVDCalibrationsVector.h>
16 #include <framework/database/DBObjPtr.h>
32 class SVDPedestalCalibrations {
34 static std::string
name;
35 typedef SVDCalibrationsBase< SVDCalibrationsVector< float > >
41 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
42 B2INFO(
"SVDPedestalCalibrations: from now on we are using " <<
57 inline float getPedestal(
const VxdID& sensorID,
const bool& isU ,
const unsigned short& strip)
const
Class to uniquely identify a any structure of the PXD and SVD.
DBObjPtr< t_payload > m_aDBObjPtr
SVDPedestalCalibrations payload.
TString getUniqueID()
returns the unique ID of the payload
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
baseType getLadderNumber() const
Get the ladder id.
SVDPedestalCalibrations()
Constructor, no input argument is required.
Abstract base class for different kinds of events.
float getPedestal(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This is the method for getting the pedestal.
SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload
typedef of the SVDPedestalCalibrations payload of all SVD strips
static std::string name
name of the SVDPedestalCalibrations payload
baseType getSensorNumber() const
Get the sensor id.
baseType getLayerNumber() const
Get the layer id.