Belle II Software development
GridEventTimeExtractor.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
15namespace Belle2 {
20 class RecoTrack;
21
26 template <class AFindlet>
27 class GridEventTimeExtractor final : public BaseEventTimeExtractor<RecoTrack*> {
28 private:
31
32 public:
35
37 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override final;
38
40 void apply(std::vector<RecoTrack*>& recoTracks) override final;
41
42 private:
44 unsigned int m_param_iterations = 2;
52 unsigned int m_param_gridSteps = 8;
53
55 AFindlet m_findlet;
57 std::vector<EventT0::EventT0Component> m_eventT0WithQuality;
58 };
59
61}
Class to extract the event t0.
Generic findlet applying a certain time extractor multiple times.
bool m_param_abortOnUnsuccessfulStep
Parameter: abort if a single iteration is not working.
unsigned int m_param_iterations
Parameter: how many iterations should be done?
unsigned int m_param_gridSteps
Parameter: Number of grid points.
double m_param_maximalT0Value
Parameter: Maximal T0 value.
std::vector< EventT0::EventT0Component > m_eventT0WithQuality
Pool for the event t0s with chi2.
double m_param_minimalT0Value
Parameter: Minimal T0 value.
The Module parameter list class.
GridEventTimeExtractor()
Add the subfindlet as listener.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override final
Expose the parameters.
void apply(std::vector< RecoTrack * > &recoTracks) override final
Timing extraction for this findlet.
Abstract base class for different kinds of events.