Belle II Software development
IterativeChi2BasedEventTimeExtractor.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/IterativeEventTimeExtractor.dcl.h>
11#include <tracking/eventTimeExtraction/findlets/Chi2BasedEventTimeExtractor.h>
12
13#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
14#include <framework/core/ModuleParamList.h>
15#include <string>
16
17namespace Belle2 {
23 class IterativeChi2BasedEventTimeExtractor final : public IterativeEventTimeExtractor<Chi2BasedEventTimeExtractor> {
24 private:
27
28 public:
29 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override final
30 {
31 Super::exposeParameters(moduleParamList, prefix);
32
33 moduleParamList->getParameter<bool>(TrackFindingCDC::prefixed(prefix, "useLastEventT0")).setDefaultValue(false);
34 }
35 };
37}
Class to iteratively extract the event t0 using the chi-squared approach.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override final
Expose our parameters to the super module.
Generic findlet applying a certain time extractor multiple times.
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
Abstract base class for different kinds of events.