11#include <framework/datastore/StoreArray.h>
12#include <pxd/dataobjects/PXDRawHit.h>
13#include <calibration/CalibrationCollectorModule.h>
58 bool goodU = (u == std::min(std::max(u,
short(0)),
short(249)));
60 bool goodV = (v == std::min(std::max(v,
short(0)),
short(767)));
61 return (goodU && goodV);
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
The PXD DAQ Status 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.
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.