 |
Belle II Software
release-05-01-25
|
14 #include <vxd/dataobjects/VxdID.h>
15 #include <svd/dbobjects/SVDCalibrationsBase.h>
16 #include <svd/dbobjects/SVDCalibrationsBitmap.h>
17 #include <framework/database/DBObjPtr.h>
35 class SVDCrossTalkStripsCalibrations {
37 static std::string
name;
38 typedef SVDCalibrationsBase< SVDCalibrationsBitmap >
44 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
45 B2INFO(
"SVDCrossTalkStripsCalibrations: from now on we are using " <<
62 inline bool isCrossTalkStrip(
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.
DBObjPtr< t_payload > m_aDBObjPtr
SVDCrossTalkStripsCalibrations payload.
TString getUniqueID()
returns the unique ID of the payload
bool isCrossTalkStrip(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This is the method for getting the comprehensive list of strips flagged as "cross talk" by the SVDCro...
static std::string name
name of the SVDCrossTalkStripsCalibrations payload
Abstract base class for different kinds of events.
baseType getSensorNumber() const
Get the sensor id.
SVDCalibrationsBase< SVDCalibrationsBitmap > t_payload
typedef of the SVDCrossTalkStripsCalibrations payload for all SVD strips
bool isInCrossTalkRegion(const VxdID &sensorID, const bool &isU, const float &clsPosition)
This is the method for checking if a given region is affected by Cross Talk, according to the bitmap ...
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
baseType getLayerNumber() const
Get the layer id.
SVDCrossTalkStripsCalibrations()
Constructor, no input argument is required.