 |
Belle II Software
release-05-01-25
|
13 #include <framework/datastore/StoreArray.h>
14 #include <pxd/dataobjects/PXDRawHit.h>
15 #include <pxd/dataobjects/PXDDAQStatus.h>
16 #include <calibration/CalibrationCollectorModule.h>
32 class PXDRawHotPixelMaskCollectorModule :
public CalibrationCollectorModule {
59 short u = rawhit.getColumn();
60 bool goodU = (u == std::min(std::max(u,
short(0)),
short(249)));
61 short v = rawhit.getRow();
62 bool goodV = (v == std::min(std::max(v,
short(0)),
short(767)));
63 return (goodU && goodV);
int m_0cut
Minimum charge (ADU) for detecting a hit.
std::string m_storeRawHitsName
Name of the collection to use for PXDRawHits.
PXDRawHotPixelMaskCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
StoreArray< PXDRawHit > m_pxdRawHit
Required input for PXDRawHit.
void prepare() override final
Replacement for initialize(). Register calibration dataobjects here as well.
The PXD DAQ Status class.
bool goodHit(const PXDRawHit &rawhit) const
Utility function to check pixel coordinates.
void collect() override final
Replacement for event(). Fill you calibration data objects here.
Accessor to arrays stored in the data store.
StoreObjPtr< PXDDAQStatus > m_storeDaqStatus
Required input for PXD Daq Status.