Belle II Software  release-05-01-25
TrackInspector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Dmitrii Neverov *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <vector>
14 
15 namespace Belle2 {
20  namespace TrackFindingCDC {
21  class CDCTrack;
22 
27  class TrackInspector : public Findlet<CDCTrack&> {
28 
29  private:
31  using Super = Findlet<CDCTrack&>;
32 
33  public:
35  std::string getDescription() final;
36 
38  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
39 
41  void apply(std::vector<CDCTrack>& tracks) final;
42 
44  void removeIncompleteTracks(std::vector<CDCTrack>& tracks);
45 
46  private:
48  bool m_param_debugDraw = false;
49  };
50  }
52 }
53 
Belle2::TrackFindingCDC::TrackInspector::removeIncompleteTracks
void removeIncompleteTracks(std::vector< CDCTrack > &tracks)
Remove tracks with no stereo hits.
Definition: TrackInspector.cc:93
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::TrackInspector::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: TrackInspector.cc:26
Belle2::TrackFindingCDC::TrackInspector::m_param_debugDraw
bool m_param_debugDraw
Flag to draw the CDCTrack (true) or not (false)
Definition: TrackInspector.h:56
Belle2::TrackFindingCDC::TrackInspector::Super
Findlet< CDCTrack & > Super
Type of the base class.
Definition: TrackInspector.h:39
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TrackInspector::apply
void apply(std::vector< CDCTrack > &tracks) final
Print the tracks.
Definition: TrackInspector.cc:39
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::TrackInspector::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Access parameters.
Definition: TrackInspector.cc:31