Belle II Software release-09-00-00
QualityEstimatorVXDModule.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
9#pragma once
10#include <tracking/spacePointCreation/SpacePointTrackCand.h>
11#include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
12
13#include <framework/datastore/StoreArray.h>
14#include <framework/core/Module.h>
15
16#include <memory>
17#include <string>
18
19namespace Belle2 {
34
35 public:
36
39
41 void initialize() override;
42
46 void beginRun() override;
47
49 void event() override;
50
51
52 protected:
53
54 // module parameters
55
63 std::string m_EstimationMethod;
64
67
72
73 // member variables
74
77
79 std::unique_ptr<QualityEstimatorBase> m_estimator;
80
81 };
83}
Base class for Modules.
Definition: Module.h:72
Quality estimation module for SpacePointTrackCandidates.
QualityEstimatorVXDModule()
Constructor of the module.
std::string m_SpacePointTrackCandsStoreArrayName
sets the name of the expected StoreArray containing SpacePointTrackCands
bool m_MCStrictQualityEstimator
Only required for MCInfo method.
void initialize() override
Initializes the Module.
void event() override
Applies the selected quality estimation method for a given set of TCs.
std::string m_EstimationMethod
Identifier which estimation method to use.
void beginRun() override
Called when entering a new run.
std::string m_MCRecoTracksStoreArrayName
sets the name of the expected StoreArray containing MCRecoTracks.
std::unique_ptr< QualityEstimatorBase > m_estimator
pointer to the selected QualityEstimator
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
the storeArray for SpacePointTrackCands as member, is faster than recreating link for each event
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.