Belle II Software development
TrackSelector.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 <tracking/trackFindingCDC/findlets/base/Findlet.h>
11
12namespace Belle2 {
17 class RecoTrack;
18
22 class TrackSelector final : public TrackFindingCDC::Findlet<RecoTrack*> {
23 private:
26
27 public:
29 void apply(std::vector<RecoTrack*>&) override final;
30
32 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override final;
33
34 private:
36 unsigned int m_param_minNumberCDCHits = 20;
41 };
43}
The Module parameter list class.
Utility for the track selection - used in various calibration modules.
Definition: TrackSelector.h:27
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
unsigned int m_param_maximumNumberOfTracks
Maximal number of tracks in an event.
Definition: TrackSelector.h:38
void apply(std::vector< RecoTrack * > &) override final
Timing extraction for this findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override final
Expose the parameters for this module.
unsigned int m_param_minNumberCDCHits
Minimal number of CDC hits for a track.
Definition: TrackSelector.h:36
double m_param_minimumTrackPt
Minimal pt for a track.
Definition: TrackSelector.h:40
Abstract base class for different kinds of events.