11#include <framework/datastore/StoreArray.h>
12#include <pxd/dataobjects/PXDRawHit.h>
13#include <pxd/dataobjects/PXDDAQStatus.h>
14#include <calibration/CalibrationCollectorModule.h>
57 bool goodU = (u == std::min(std::max(u,
short(0)),
short(249)));
59 bool goodV = (v == std::min(std::max(v,
short(0)),
short(767)));
60 return (goodU && goodV);
Calibration collector module base class.
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
short getColumn() const
Get u cell id of hit position.
short getRow() const
Get v cell id of hit position.
Calibration Collector Module for PXD hot pixel masking from PXDRawHits.
PXDRawHotPixelMaskCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
void prepare() override final
Prepare.
int m_0cut
Minimum charge (ADU) for detecting a hit.
StoreArray< PXDRawHit > m_pxdRawHit
Required input for PXDRawHit.
StoreObjPtr< PXDDAQStatus > m_storeDaqStatus
Required input for PXD Daq Status.
std::string m_storeRawHitsName
Name of the collection to use for PXDRawHits.
void collect() override final
Collect.
bool goodHit(const PXDRawHit &rawhit) const
Utility function to check pixel coordinates.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.