 |
Belle II Software
release-05-01-25
|
12 #include <tracking/ckf/general/findlets/OnStateApplier.dcl.h>
13 #include <tracking/trackFindingCDC/numerics/WithWeight.h>
25 template <
class AState,
class AFindlet>
26 class LayerToggledApplier :
public OnStateApplier<AState> {
28 using Super = OnStateApplier<AState>;
36 const std::string& prefix)
final;
AFindlet m_highLayerFindlet
Findlet used for layers > N.
int m_param_toggleOnLayer
On which N to toggle the layers.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose parameters of the subfilters and the layer to change.
LayerToggledApplier()
Add the subfilters as listeners.
Abstract base class for different kinds of events.
A mixin class to attach a weight to an object.
OnStateApplier< AState > Super
the parent class
AFindlet m_lowLayerFindlet
Findlet used for layers < N.
AFindlet m_equalLayerFindlet
Findlet used for layers == N.
void apply(const std::vector< TrackFindingCDC::WithWeight< const AState * >> ¤tPath, std::vector< TrackFindingCDC::WithWeight< AState * >> &childStates) override
The weight is calculated using the subfilter based on the geometrical layer of the state.