11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13#include <pxd/dataobjects/PXDRawHit.h>
40 virtual void event()
override;
49 bool goodU = (u == std::min(std::max(u,
short(0)),
short(249)));
51 bool goodV = (v == std::min(std::max(v,
short(0)),
short(767)));
52 return (goodU && goodV);
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.
The PXDRawHitMasking module.
int m_0cut
Minimum charge for a digit to carry.
bool m_trimOutOfRange
Discard out-of-range hits.
StoreArray< PXDRawHit > m_pxdRawHit
Required input for PXDRawHit.
virtual void initialize() override
Initialize the module.
virtual void event() override
do the filtering
PXDRawHitMaskingModule()
Constructor defining the parameters.
std::string m_storeRawHitsNameOut
Name of the collection to use for Output PXDRawHits.
std::string m_storeRawHitsName
Name of the collection to use for PXDRawHits.
bool goodHit(const PXDRawHit &rawhit) const
Utility function to check pixel coordinates.
StoreArray< PXDRawHit > m_pxdRawHitOut
Required output for PXDRawHit.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.