11#include <framework/core/Module.h>
12#include <framework/datastore/SelectSubset.h>
13#include <pxd/dataobjects/PXDCluster.h>
41 void event()
override final;
The module produce a StoreArray of PXDCluster with specific properties.
double m_maxCharge
maximum charge, excluding value
int m_maxSize
maximum size, excluding value
void initialize() override final
Initialize the Module.
bool CheckCuts(const PXDCluster &thePXDCluster)
the actual check for cluster properties
SelectSubset< PXDCluster > m_selectorOUT
selector of the subset of PXDClusters NOT contained in the ROIs
int m_minSize
minimum size, including value
void event() override final
This method is the core of the module.
void filterClusters()
all the actual work is done here
std::string m_PXDClustersName
The name of the StoreArray of PXDClusters to be filtered.
bool m_CreateInside
if set, create list of inside cuts
double m_minCharge
minimum charge, including value
SelectSubset< PXDCluster > m_selectorIN
selector of the subset of PXDClusters contained in the ROIs
PXDClusterPropFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_PXDClustersOutsideCutsName
The name of the StoreArray of Filtered PXDClusters outside cuts.
bool m_CreateOutside
if set, create list of outside cuts
std::string m_PXDClustersInsideCutsName
The name of the StoreArray of Filtered PXDClusters inside cuts.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Abstract base class for different kinds of events.