Belle II Software development
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 {
31
32 public:
33
36
38 void initialize() override;
39
43 void beginRun() override;
44
46 void event() override;
47
48
49 protected:
50
51 // module parameters
52
60 std::string m_EstimationMethod;
61
64
69
70 // member variables
71
74
76 std::unique_ptr<QualityEstimatorBase> m_estimator;
77
78 };
80}
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.