Belle II Software  release-08-01-10
CDCTriggerNDFinderModule.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
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"
16 
17 namespace Belle2 {
25  public:
29  virtual ~CDCTriggerNDFinderModule();
30 
32  virtual void initialize() override;
33  virtual void beginRun() override;
34  virtual void event() override;
35  virtual void endRun() override;
36  virtual void terminate() override;
37 
38  private:
39 
43  std::string m_NDFinderTracksName;
46 
51 
56  int m_minhits;
65  int m_minpts;
70  double m_thresh;
73  double m_minassign;
75  bool m_diagonal;
79  bool m_verbose;
81  std::string m_axialFile;
83  std::string m_stereoFile;
84  };
86 }
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.
std::string m_axialFile
File name of the axial hit patterns.
int m_mincells
Clustering: minimum number of cells for a cluster.
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.
Base class for Modules.
Definition: Module.h:72
Class to represent the CDC NDFinder.
Definition: NDFinder.h:90
Abstract base class for different kinds of events.