Belle II Software development
CDCCosmicTrackMergeModule.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#pragma once
9
10#include <framework/core/Module.h>
11#include <framework/datastore/StoreArray.h>
12#include <tracking/dataobjects/RecoTrack.h>
13
14namespace Belle2 {
25 public:
28
30 void initialize() override;
31
33 void event() override;
34
35 private:
39 std::string m_param_MergedRecoTracksStoreArrayName = "__MergedRecoTracks";
43 double m_MinimumNumHitCut = 40;
48 };
49
50}
void initialize() override
Register the store arrays and store obj pointers.
void event() override
Do the selection.
CDCCosmicTrackMergerModule()
Create a new instance of the module.
std::string m_param_recoTracksStoreArrayName
StoreArray name from which to read the reco tracks.
std::string m_param_MergedRecoTracksStoreArrayName
StoreArray name where the merged reco track is written.
double m_MinimumNumHitCut
Minimum NDF required for each track (up and down).
StoreArray< RecoTrack > m_RecoTracks
Tracks.
bool m_param_deleteOtherRecoTracks
Flag to delete the not RecoTracks from the input StoreArray.
StoreArray< RecoTrack > m_MergedRecoTracks
Merged tracks.
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.