8#include <svd/calibration/SVDCrossTalkStripsCalibrations.h>
9#include <vxd/geometry/GeoCache.h>
10#include <vxd/geometry/SensorInfoBase.h>
21 float m_uPitch = currentSensorInfo->
getUPitch(0);
23 float m_vPitch = currentSensorInfo->
getVPitch(0);
26 if (isU) currentPitch = m_uPitch;
27 else currentPitch = m_vPitch;
29 return isCrossTalkStrip(sensorID, isU, (
int)(clsPosition / currentPitch + 0.5));
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 ...
static std::string name
name of the SVDCrossTalkStripsCalibrations 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...
const SensorInfoBase & getSensorInfo(Belle2::VxdID id) const
Return a referecne to the SensorInfo of a given SensorID.
static GeoCache & getInstance()
Return a reference to the singleton instance.
Base class to provide Sensor Information for PXD and SVD.
double getUPitch(double v=0) const
Return the pitch of the sensor.
double getVPitch(double v=0) const
Return the pitch of the sensor.
Class to uniquely identify a any structure of the PXD and SVD.