11#include <vxd/dataobjects/VxdID.h>
12#include <svd/dbobjects/SVDCalibrationsBase.h>
13#include <svd/dbobjects/SVDCalibrationsVector.h>
14#include <framework/database/DBObjPtr.h>
43 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
44 B2DEBUG(20,
"SVDOccupancyCalibrations: from now on we are using " <<
58 inline float getOccupancy(
const VxdID& sensorID,
const bool& isU,
const unsigned short& strip)
const
Class for accessing objects in the database.
base class for calibrations classes
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload
typedef of the Occupancy payload of all SVD strips
float getOccupancy(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This is the method for getting the occupancy, or the deviation from the average, still to be decided.
static std::string name
name of the ccupancy payload
SVDOccupancyCalibrations()
Constructor, no input argument is required.
TString getUniqueID()
returns the unique ID of the payload
DBObjPtr< t_payload > m_aDBObjPtr
payload of the occupancy
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.