11 #include "framework/core/Module.h"
12 #include "framework/datastore/StoreArray.h"
13 #include "trg/cdc/dataobjects/CDCTriggerTrack.h"
14 #include "trg/cdc/dataobjects/CDCTriggerSegmentHit.h"
15 #include "trg/cdc/NDFinder.h"
34 virtual void event()
override;
35 virtual void endRun()
override;
CDC Trigger NDFinder Module.
int m_minhits_axial
Cluster pruning: Minimum number of axial hits related to a cluster for the cluster to be considered a...
double m_minassign
Hit to cluster assignment: Minimum relative weight contribution to the largest cluster.
std::string m_NDFinderTracksName
Name for NDFinder tracks.
virtual void initialize() override
Module functions.
virtual void event() override
This method is the core of the module.
double m_thresh
Track estimation: Minimum weight of a cluster member cell relative to the peak weight of the cluster ...
std::string m_NDFinderTrackToHitArrayName
Name for NDFinder Track To Hit Array.
int m_minpts
Clustering: Minimum number of neighbor cells with minweight for a cell to be considered a core cell.
int m_minweight
Clustering: Minimum weight of a cell in Hough space for the cell to be considered as a cluster member...
virtual void endRun() override
This method is called if the current run ends.
NDFinder m_NDFinder
Instance of the 3D Track Finder.
virtual void terminate() override
This method is called at the end of the event processing.
CDCTriggerNDFinderModule()
Constructor.
std::string m_axialFile
File name of the axial hit patterns.
int m_mincells
Clustering: minimum number of cells for a cluster.
virtual ~CDCTriggerNDFinderModule()
Destructor.
virtual void beginRun() override
Called when entering a new run.
bool m_diagonal
Clustering: consider diagonal neighbors.
std::string m_TrackSegmentHitsName
Name for TS hits.
StoreArray< CDCTriggerSegmentHit > m_TrackSegmentHits
StoreArray for TS hits.
StoreArray< CDCTriggerTrack > m_NDFinderTracks
StoreArray for 2D finder tracks from unpacker.
std::string m_stereoFile
File name of the stereo hit patterns.
int m_minhits
Cluster pruning: Minimum number of hits related to a cluster for the cluster to be considered as a tr...
bool m_verbose
Print Hough planes and verbose output.
Class to represent the CDC NDFinder.
Abstract base class for different kinds of events.