Belle II Software development
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 <string>
12#include "framework/core/Module.h"
13#include "framework/datastore/StoreArray.h"
14#include "trg/cdc/dataobjects/CDCTriggerTrack.h"
15#include "trg/cdc/dataobjects/CDCTrigger3DFinderInfo.h"
16#include "trg/cdc/dataobjects/CDCTriggerSegmentHit.h"
17#include "trg/cdc/NDFinder.h"
18#include "trg/cdc/Clusterizend.h"
19
20namespace Belle2 {
25
27 class CDCTriggerNDFinderModule : public Module {
28 public:
29 // Constructor
30 CDCTriggerNDFinderModule();
31 // Destructor
32 virtual ~CDCTriggerNDFinderModule();
33
34 // Module functions
35 virtual void initialize() override;
36 virtual void beginRun() override;
37 virtual void event() override;
38 virtual void endRun() override;
39 virtual void terminate() override;
40
41 private:
50
57
61 unsigned short m_minSuperAxial;
63 unsigned short m_minSuperStereo;
65 unsigned short m_iterations;
67 unsigned short m_omegaTrim;
69 unsigned short m_phiTrim;
73 std::string m_axialFile;
75 std::string m_stereoFile;
76 };
77
78}
virtual void initialize() override
Initialize the Module.
virtual void event() override
This method is the core of the module.
std::string m_ndFinderTrackToHitArrayName
Name for NDFinder Track To Hit Array.
virtual void endRun() override
This method is called if the current run ends.
unsigned short m_minSuperStereo
Minimum number of stereo super layers for the cluster to be considered as a track.
NDFinder m_NDFinder
Instance of the 3D Track Finder.
virtual void terminate() override
This method is called at the end of the event processing.
unsigned short m_phiTrim
Clustering with 3d volume: Max deletion in phi (number of cells in each direction from max)
std::string m_ndFinderTracksName
Name for NDFinder tracks.
unsigned short m_iterations
Clustering with 3d volume: Number of global maximum searches per Hough space quadrant.
std::string m_axialFile
File name of the axial hit patterns.
std::string m_ndFinderInfosName
Name for the NDFinder Cluster Data.
bool m_storeAdditionalReadout
Switch for writing the full Hough space and the cluster information to the 3DFinderInfo class.
virtual void beginRun() override
Called when entering a new run.
StoreArray< CDCTrigger3DFinderInfo > m_ndFinderInfos
StoreArray for NDFinder Cluster Data.
StoreArray< CDCTriggerTrack > m_ndFinderTracks
StoreArray for 2D finder tracks from unpacker.
unsigned short m_minSuperAxial
Minimum number of axial super layers for the cluster to be considered as a track.
std::string m_stereoFile
File name of the stereo hit patterns.
StoreArray< CDCTriggerSegmentHit > m_trackSegmentHits
StoreArray for TS hits.
unsigned short m_omegaTrim
Clustering with 3d volume: Max deletion in omega (number of cells in each direction from max)
std::string m_trackSegmentHitsName
Name for TS hits.
Module()
Constructor.
Definition Module.cc:30
Class to represent the CDC NDFinder.
Definition NDFinder.h:99
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.