Belle II Software  release-05-01-25
MonopoleAxialTrackFinderLegendre.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Bastian Kronenbitter, Thomas Hauth, Viktor Trusov, *
7  * Nils Braun, Dmitrii Neverov *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 #include <tracking/trackFindingCDC/findlets/combined/MonopoleAxialTrackFinderLegendre.h>
12 
13 #include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
14 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
15 
16 using namespace Belle2;
17 using namespace TrackFindingCDC;
18 
20 {
22 }
23 
25 {
26  return "Performs the pattern recognition in the CDC with the legendre looking for straight tracks";
27 }
28 
30  const std::string& prefix)
31 {
33 }
34 
35 void MonopoleAxialTrackFinderLegendre::apply(const std::vector<CDCWireHit>& wireHits,
36  std::vector<CDCTrack>& tracks)
37 {
38  B2DEBUG(100, "********** CDCTrackingModule ************");
39 
40  // Acquire the axial hits
41  std::vector<const CDCWireHit*> axialWireHits;
42  axialWireHits.reserve(wireHits.size());
43  for (const CDCWireHit& wireHit : wireHits) {
44  wireHit->unsetTemporaryFlags();
45  wireHit->unsetMaskedFlag();
46  if (not wireHit.isAxial()) continue;
47  if (wireHit->hasBackgroundFlag()) continue;
48  axialWireHits.emplace_back(&wireHit);
49  }
50 
51  // Legendre pass
53 
54 // AxialTrackUtil::deleteShortTracks(tracks);
55 }
Belle2::TrackFindingCDC::MonopoleAxialTrackFinderLegendre::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: MonopoleAxialTrackFinderLegendre.cc:24
Belle2::TrackFindingCDC::AxialTrackCreatorHitLegendre::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: AxialTrackCreatorHitLegendre.cc:82
Belle2::TrackFindingCDC::AxialTrackCreatorHitLegendre::apply
void apply(const std::vector< const CDCWireHit * > &axialWireHits, std::vector< CDCTrack > &tracks) final
Execute one pass over a quad tree.
Definition: AxialTrackCreatorHitLegendre.cc:102
Belle2::TrackFindingCDC::CompositeProcessingSignalListener::addProcessingSignalListener
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
Definition: CompositeProcessingSignalListener.cc:57
Belle2::TrackFindingCDC::MonopoleAxialTrackFinderLegendre::m_straightMonopoleAxialTrackCreatorHitLegendre
AxialTrackCreatorHitLegendre m_straightMonopoleAxialTrackCreatorHitLegendre
Findlet for straight legendre pass.
Definition: MonopoleAxialTrackFinderLegendre.h:78
Belle2::TrackFindingCDC::MonopoleAxialTrackFinderLegendre::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: MonopoleAxialTrackFinderLegendre.cc:29
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::MonopoleAxialTrackFinderLegendre::MonopoleAxialTrackFinderLegendre
MonopoleAxialTrackFinderLegendre()
Constructor.
Definition: MonopoleAxialTrackFinderLegendre.cc:19
Belle2::TrackFindingCDC::MonopoleAxialTrackFinderLegendre::apply
void apply(const std::vector< CDCWireHit > &wireHits, std::vector< CDCTrack > &tracks)
Main method to apply the track finding.
Definition: MonopoleAxialTrackFinderLegendre.cc:35
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:65
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46