11#include <vxd/dataobjects/VxdID.h>
12#include <svd/dbobjects/SVDCalibrationsBase.h>
13#include <svd/dbobjects/SVDCalibrationsScalar.h>
14#include <framework/database/DBObjPtr.h>
35 m_aDBObjPtr.addCallback([
this](
const std::string&) ->
void
36 { B2DEBUG(20,
"SVDMCClusterTimeFudgeFactor: from now on we are using " << this->
m_aDBObjPtr->get_uniqueID()); });
49 const bool& isU)
const
Class for accessing objects in the database.
base class for calibrations classes
This class defines the dbobject and the methods to access the SVD time fudge factors for MC reconstru...
double getFudgeFactor(const Belle2::VxdID &sensorID, const bool &isU) const
Return the MC fudge factor.
SVDCalibrationsBase< SVDCalibrationsScalar< float > > t_payload
typedef for the SVDMCClusterTimeFudgeFactor payload of all SVD sensors
DBObjPtr< t_payload > m_aDBObjPtr
SVDMCClusterTimeFudgeFactor payload.
static std::string name
name of the SVDMCClusterTimeFudgeFactor payload
SVDMCClusterTimeFudgeFactor()
Constructor, no input argument is required.
TString getUniqueID()
returns the unique ID of the 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.