Belle II Software development
PathLengthToggledApplier.dcl.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/vxdHoughTracking/findlets/OnHitApplier.dcl.h>
11#include <tracking/trackFindingCDC/numerics/WithWeight.h>
12
13#include <vector>
14
15namespace Belle2 {
20 namespace vxdHoughTracking {
24 template <class AHit, class AFindlet>
28
29 public:
32
34 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
35
37 void apply(const std::vector<TrackFindingCDC::WithWeight<const AHit*>>& currentPath,
38 std::vector<TrackFindingCDC::WithWeight<AHit*>>& childHits) override;
39
40 private:
49 };
50
51 }
53}
The Module parameter list class.
A mixin class to attach a weight to an object.
Definition: WithWeight.h:24
Helper findlet which applies its () operator to all pairs of path and hit with all hits in the given ...
A special findlet, which chooses the filter based on the current path length.
AFindlet m_fiveHitFilterFindlet
Findlet used for currentPath.size() == 4.
AFindlet m_fourHitFilterFindlet
Findlet used for currentPath.size() == 3.
AFindlet m_threeHitFilterFindlet
Findlet used for currentPath.size() == 2.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose parameters of the subfilters and the layer to change.
AFindlet m_twoHitFilterFindlet
Findlet used for currentPath.size() == 1.
void apply(const std::vector< TrackFindingCDC::WithWeight< const AHit * > > &currentPath, std::vector< TrackFindingCDC::WithWeight< AHit * > > &childHits) override
The weight is calculated using the subfilter based on the geometrical layer of the state.
Abstract base class for different kinds of events.