Belle II Software development
WireHitMCMultiLoopBlocker.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
12#include <vector>
13#include <string>
14#include <cmath>
15
16namespace Belle2 {
22 namespace TrackFindingCDC {
23 class CDCWireHit;
24
34 class WireHitMCMultiLoopBlocker : public Findlet<CDCWireHit&> {
35
36 private:
39
40 public:
42 std::string getDescription() final;
43
45 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46
48 void initialize() final;
49
51 void beginEvent() final;
52
54 void apply(std::vector<CDCWireHit>& wireHits) final;
55
56 private:
58 double m_param_useNLoops = INFINITY;
59 };
60 }
62}
The Module parameter list class.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Marks all hits that are not on the first loop of the track as background.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking the hit of higher loops as background.
void initialize() final
Signals the start of the event processing.
void beginEvent() final
Prepare the Monte Carlo information at the start of the event.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
double m_param_useNLoops
Parameter : Maximal fraction of loops of the mc particles trajectory needs to the hit to unblock it.
Abstract base class for different kinds of events.
STL namespace.