Belle II Software  release-05-02-19
BaseEventTimeExtractorModule.dcl.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <tracking/eventTimeExtraction/findlets/TrackSelector.h>
14 
15 #include <tracking/trackFindingCDC/findlets/base/FindletModule.h>
16 #include <tracking/trackFindingCDC/findlets/wrapper/FindletStoreArrayInput.h>
17 
18 namespace Belle2 {
23  class RecoTrack;
24 
26  template<class AFindlet>
27  class BaseEventTimeExtractorModuleFindlet final : public TrackFindingCDC::Findlet<RecoTrack*> {
28 
29  private:
31  using Super = TrackFindingCDC::Findlet<RecoTrack*>;
32 
33  public:
36 
38  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override final;
39 
41  void apply(std::vector<RecoTrack*>& recoTracks) override final;
42 
43  private:
47  AFindlet m_findlet;
48  };
49 
51  template <class AFindlet>
55 }
Belle2::BaseEventTimeExtractorModuleFindlet::Super
TrackFindingCDC::Findlet< RecoTrack * > Super
Type of the base class.
Definition: BaseEventTimeExtractorModule.dcl.h:39
Belle2::BaseEventTimeExtractorModuleFindlet::m_trackSelector
TrackSelector m_trackSelector
Select the tracks before applying the extraction.
Definition: BaseEventTimeExtractorModule.dcl.h:53
Belle2::TrackFindingCDC::FindletStoreArrayInput
Findlet which can wrap another Findlet and forward the contents of a StoreArray to the wrapped findle...
Definition: FindletStoreArrayInput.h:43
Belle2::BaseEventTimeExtractorModuleFindlet::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override final
Expose our parameters to the super module.
Definition: BaseEventTimeExtractorModule.icc.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TOP::TrackSelector
Utility for the track selection - used in various calibration modules.
Definition: TrackSelector.h:37
Belle2::BaseEventTimeExtractorModuleFindlet::m_findlet
AFindlet m_findlet
The findlet for the extraction.
Definition: BaseEventTimeExtractorModule.dcl.h:55
Belle2::BaseEventTimeExtractorModuleFindlet::apply
void apply(std::vector< RecoTrack * > &recoTracks) override final
Apply the findlets.
Definition: BaseEventTimeExtractorModule.icc.h:43
Belle2::BaseEventTimeExtractorModuleFindlet::BaseEventTimeExtractorModuleFindlet
BaseEventTimeExtractorModuleFindlet()
Add the subfindlet as listener.
Definition: BaseEventTimeExtractorModule.icc.h:29
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::FindletModule
Adapter of a findlet to a module that exposes the parameters of the findlet and manages the IO with t...
Definition: FindletModule.h:40