Belle II Software development
MonopoleAxialTrackFinderLegendre.cc
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#include <tracking/trackFindingCDC/findlets/combined/MonopoleAxialTrackFinderLegendre.h>
9
10#include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
11#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
12
13using namespace Belle2;
14using namespace TrackFindingCDC;
15
17{
19}
20
22{
23 return "Performs the pattern recognition in the CDC with the legendre looking for straight tracks";
24}
25
27 const std::string& prefix)
28{
30}
31
32void MonopoleAxialTrackFinderLegendre::apply(const std::vector<CDCWireHit>& wireHits,
33 std::vector<CDCTrack>& tracks)
34{
35 B2DEBUG(25, "********** CDCTrackingModule ************");
36
37 // Acquire the axial hits
38 std::vector<const CDCWireHit*> axialWireHits;
39 axialWireHits.reserve(wireHits.size());
40 for (const CDCWireHit& wireHit : wireHits) {
41 wireHit->unsetTemporaryFlags();
42 wireHit->unsetMaskedFlag();
43 if (not wireHit.isAxial()) continue;
44 if (wireHit->hasBackgroundFlag()) continue;
45 axialWireHits.emplace_back(&wireHit);
46 }
47
48 // Legendre pass
50
51// AxialTrackUtil::deleteShortTracks(tracks);
52}
The Module parameter list class.
void apply(const std::vector< const CDCWireHit * > &axialWireHits, std::vector< CDCTrack > &tracks) final
Execute one pass over a quad tree.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
AxialTrackCreatorHitLegendre m_straightMonopoleAxialTrackCreatorHitLegendre
Findlet for straight legendre pass.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCWireHit > &wireHits, std::vector< CDCTrack > &tracks)
Main method to apply the track finding.
Abstract base class for different kinds of events.