Belle II Software  release-08-01-10
BaseEventTimeExtractorModule.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/trackFindingCDC/findlets/base/Findlet.h>
11 #include <tracking/eventTimeExtraction/findlets/TrackSelector.h>
12 
13 #include <tracking/trackFindingCDC/findlets/base/FindletModule.h>
14 #include <tracking/trackFindingCDC/findlets/wrapper/FindletStoreArrayInput.h>
15 
16 namespace Belle2 {
21  class RecoTrack;
22 
24  template<class AFindlet>
26 
27  private:
30 
31  public:
34 
36  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override final;
37 
39  void apply(std::vector<RecoTrack*>& recoTracks) override final;
40 
41  private:
45  AFindlet m_findlet;
46  };
47 
49  template <class AFindlet>
53 }
Base class for most of the time extraction modules doing a track selection beforehand.
TrackSelector m_trackSelector
Select the tracks before applying the extraction.
AFindlet m_findlet
The findlet for the extraction.
The Module parameter list class.
Utility for the track selection - used in various calibration modules.
Definition: TrackSelector.h:27
Adapter of a findlet to a module that exposes the parameters of the findlet and manages the IO with t...
Definition: FindletModule.h:30
Findlet which can wrap another Findlet and forward the contents of a StoreArray to the wrapped findle...
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override final
Expose our parameters to the super module.
BaseEventTimeExtractorModuleFindlet()
Add the subfindlet as listener.
void apply(std::vector< RecoTrack * > &recoTracks) override final
Apply the findlets.
Abstract base class for different kinds of events.