11#include <calibration/CalibrationCollectorModule.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <vxd/geometry/GeoCache.h>
14#include <pxd/geometry/SensorInfo.h>
15#include <pxd/utilities/PXDPerformanceStructs.h>
16#include <pxd/utilities/PXDUtilities.h>
17#include <pxd/reconstruction/PXDGainCalibrator.h>
18#include <pxd/dbobjects/PXDGainMapPar.h>
19#include <pxd/reconstruction/PXDPixelMasker.h>
90 float posU(0.), posV(0.);
95 auto localPoint = Info.
pointToLocal(ROOT::Math::XYZVector(tPoint.x, tPoint.y, tPoint.z),
true);
96 posU = localPoint.X();
97 posV = localPoint.Y();
106 throw std::out_of_range(
"uBin or vBin is outside of valid range.");
Calibration collector module base class.
The payload class for PXD gain corrections.
unsigned short getBinV(VxdID id, unsigned int vid) const
Get gain correction bin along sensor v side.
unsigned short getBinU(VxdID id, unsigned int uid, unsigned int vid) const
Get gain correction bin along sensor u side.
static PXDGainCalibrator & getInstance()
Main (and only) way to access the PXDGainCalibrator.
Specific implementation of SensorInfo for PXD Sensors which provides additional pixel specific inform...
Type-safe access to single objects in the data store.
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.
const GeoTools * getGeoTools()
Return a raw pointer to a GeoTools object.
ROOT::Math::XYZVector pointToLocal(const ROOT::Math::XYZVector &global, bool reco=false) const
Convert a point from global to local coordinates.
int getVCellID(double v, bool clamp=false) const
Return the corresponding pixel/strip ID of a given v coordinate.
int getUCellID(double u, double v=0, bool clamp=false) const
Return the corresponding pixel/strip ID of a given u coordinate.
Class to uniquely identify a any structure of the PXD and SVD.
VxdID getVxdIDFromPXDModuleID(const unsigned short &id)
Helper function to get VxdID from DHE id like module iid.
bool isCloseToBorder(int u, int v, int checkDistance)
Helper function to check if a pixel is close to the border.
bool isDefectivePixelClose(int u, int v, int checkDistance, const VxdID &moduleID)
Helper function to check if a defective (hot/dead) pixel is close.
Abstract base class for different kinds of events.
float posV
Local position along z.
float posU
Local position in r-phi.
unsigned short pxdID
Human readable id: layer * 1000 + ladder * 10 + sensor.
Struct to hold variables from a track which contains a vector of data type like TrackCluster.
Struct to hold variables for track clusters.
Cluster_t cluster
Cluster associated to the track.
TrackPoint_t intersection
The track-module intersection.