Belle II Software  release-08-01-10
IterativeEventTimeExtractor.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/eventTimeExtraction/findlets/BaseEventTimeExtractor.dcl.h>
11 #include <framework/dataobjects/EventT0.h>
12 
13 #include <vector>
14 
15 namespace Belle2 {
20  class RecoTrack;
21 
26  template <class AFindlet>
28  private:
31 
32  public:
35 
37  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
38 
40  void apply(std::vector<RecoTrack*>& recoTracks) override final;
41 
42  private:
44  unsigned int m_param_maxIterations = 10;
46  unsigned int m_param_minIterations = 1;
48  double m_param_minimalDeltaT0 = 0.2;
54  AFindlet m_findlet;
56  std::vector<EventT0::EventT0Component> m_eventT0WithQuality;
57  };
58 
60 }
Class to extract the event t0.
Generic findlet applying a certain time extractor multiple times.
unsigned int m_param_maxIterations
Parameter: how many iterations should be done maximally?
bool m_param_useLastEventT0
Parameter: use the last event t0 instead of the best one.
bool m_param_abortOnUnsuccessfulStep
Parameter: abort if a single iteration is not working.
unsigned int m_param_minIterations
Parameter: how many iterations should be done minimally?
std::vector< EventT0::EventT0Component > m_eventT0WithQuality
Pool for the event t0s with chi2.
double m_param_minimalDeltaT0
Parameter: What is the final precision?
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
IterativeEventTimeExtractor()
Add the subfindlet as listener.
void apply(std::vector< RecoTrack * > &recoTracks) override final
Timing extraction for this findlet.
Abstract base class for different kinds of events.