Belle II Software development
BaseCandidateReceiver.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/eventdata/tracks/CDCTrack.h>
11#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
12
13#include <vector>
14
15namespace Belle2 {
20 namespace TrackFindingCDC {
21
26
27 public:
29 explicit BaseCandidateReceiver(std::vector<const CDCWireHit*> allAxialWireHits);
31 virtual ~BaseCandidateReceiver();
33 virtual void operator()(const std::vector<const CDCWireHit*>& inputWireHits, void* qt);
35 const std::vector<CDCTrack>& getTracks() const;
36
37 protected:
39 std::vector<const CDCWireHit*> m_allAxialWireHits;
40
42 std::vector<CDCTrack> m_tracks;
43 };
44 }
46}
Base class that receives candidates found by quadtree.
virtual void operator()(const std::vector< const CDCWireHit * > &inputWireHits, void *qt)
Main entry point for the post processing call from the QuadTreeProcessor.
const std::vector< CDCTrack > & getTracks() const
Get the collected tracks.
std::vector< const CDCWireHit * > m_allAxialWireHits
Pool of all axial hits from which the road search may select additional hits.
std::vector< CDCTrack > m_tracks
Collected tracks.
Abstract base class for different kinds of events.