Belle II Software development
TrackInspector.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#include <vector>
12
13namespace Belle2 {
18 namespace TrackFindingCDC {
19 class CDCTrack;
20
25 class TrackInspector : public Findlet<CDCTrack&> {
26
27 private:
30
31 public:
33 std::string getDescription() final;
34
36 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
37
39 void apply(std::vector<CDCTrack>& tracks) final;
40
42 void removeIncompleteTracks(std::vector<CDCTrack>& tracks);
43
44 private:
46 bool m_param_debugDraw = false;
47 };
48 }
50}
51
The Module parameter list class.
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Findlet for inspecting and printing out CDCtracks on a R-z plane for debug purposes.
void apply(std::vector< CDCTrack > &tracks) final
Print the tracks.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Access parameters.
void removeIncompleteTracks(std::vector< CDCTrack > &tracks)
Remove tracks with no stereo hits.
bool m_param_debugDraw
Flag to draw the CDCTrack (true) or not (false)
Abstract base class for different kinds of events.
STL namespace.