 |
Belle II Software
release-05-02-19
|
14 #include <vxd/dataobjects/VxdID.h>
15 #include <svd/dbobjects/SVDCalibrationsBase.h>
16 #include <svd/dbobjects/SVDCalibrationsVector.h>
17 #include <framework/database/DBObjPtr.h>
33 class SVDOccupancyCalibrations {
35 static std::string
name;
36 typedef SVDCalibrationsBase< SVDCalibrationsVector< float > >
t_payload;
46 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
47 B2INFO(
"SVDOccupancyCalibrations: from now on we are using " <<
62 inline float getOccupancy(
const VxdID& sensorID,
const bool& isU ,
const unsigned short& strip)
const
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
SVDOccupancyCalibrations()
Constructor, no input argument is required.
DBObjPtr< t_payload > m_aDBObjPtr
payload of the occupancy
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.
Abstract base class for different kinds of events.
baseType getSensorNumber() const
Get the sensor id.
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload
typedef of the Occupancy payload of all SVD strips
baseType getLayerNumber() const
Get the layer id.
static std::string name
name of the ccupancy payload