9#include <tracking/modules/trackFilter/ParallelTrackFilterModule.h>
10#include <mdst/dataobjects/TrackFitResult.h>
11#include <mdst/dataobjects/HitPatternVXD.h>
12#include <mdst/dataobjects/HitPatternCDC.h>
13#include <framework/datastore/StoreArray.h>
29 setDescription(
"Generates a new StoreArray from the input StoreArray which contains only tracks that meet the specified criteria.");
55 B2DEBUG(22,
"ParallelTrackFilterModule " +
getName() +
" parameters:"
63 B2WARNING(
"Missing input tracks array, " +
getName() +
" is skipped"
static const ChargedStable pion
charged pion particle
Hit pattern of CDC hits within a track.
unsigned short getNHits() const
Get the total Number of CDC hits in the fit.
Hit pattern of the VXD within a track.
unsigned short getNPXDHits() const
Get total number of hits in the PXD.
unsigned short getNSVDHits() const
Get total number of hits in the SVD.
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
const std::string & getName() const
Returns the name of the module.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
double m_maxD0
d0 maximum value
std::string m_outputOUTArrayName
StoreArray with the NOT selected output tracks.
SelectSubset< Track > m_selectedTracks
selected tracks
std::string m_outputINArrayName
StoreArray with the selected output tracks.
int m_minNumHitsCDC
minimum value of CDC hits
int m_minNumHitsPXD
minimum value of PXD hits
virtual void initialize() override
init the module
double m_minD0
d0 minimum value
virtual void event() override
processes the event
bool isSelected(const Track *track)
determine if the track satisfies the selection criteria
double m_maxZ0
z0 maximum value
double m_minPval
minimum P-value of the track fit
SelectSubset< Track > m_notSelectedTracks
not selected tracks
double m_minPCM
minimum value of the center of mass momentum
double m_minPT
minimum value of the transverse momentum
int m_minNumHitsSVD
minimum value of SVD hits
double m_minZ0
z0 minimum value
std::string m_inputArrayName
StoreArray with the input tracks.
ParallelTrackFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
bool isOptional(const std::string &name="")
Tell the DataStore about an optional input.
Accessor to arrays stored in the data store.
Values of the result of a track fit with a given particle hypothesis.
double getPValue() const
Getter for Chi2 Probability of the track fit.
double getD0() const
Getter for d0.
double getZ0() const
Getter for z0.
ROOT::Math::XYZVector getMomentum() const
Getter for vector of momentum at closest approach of track in r/phi projection.
HitPatternCDC getHitPatternCDC() const
Getter for the hit pattern in the CDC;.
HitPatternVXD getHitPatternVXD() const
Getter for the hit pattern in the VXD;.
Class that bundles various TrackFitResults.
Class to store variables with their name which were sent to the logging service.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.