Belle II Software development
SpacePointCreatorTestModule.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
11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13
14#include <tracking/spacePointCreation/SpacePoint.h>
15
16#include <string>
17
18namespace Belle2 {
33
34 public:
35
36
37
40
41
42
47 void initialize() override;
48
49
51 void event() override;
52
53
55 void terminate() override {}
56
57
60
61
62 protected:
63
64
65 // Data members
66 std::string m_pxdClustersName;
71 std::string m_svdClustersName;
76 std::vector< StoreArray<SpacePoint> > m_allSpacePointStoreArrays;
78 std::vector< std::string > m_containerSpacePointsName;
80 // modification parameters
81 std::string
84 };
86} // end namespace Belle2
Base class for Modules.
Definition: Module.h:72
Tester module for the validity of the SpacePointCreatorModule.
std::string m_svdClustersName
SVDCluster collection name.
std::string m_nameOfInstance
allows the user to set an identifier for this module.
void initialize() override
Init the module.
std::vector< StoreArray< SpacePoint > > m_allSpacePointStoreArrays
a vector full of StoreArray carrying spacePoints.
StoreArray< SVDCluster > m_svdClusters
the storeArray for svdClusters as member, is faster than recreating link for each event
void event() override
eventWise jobs (e.g.
void InitializeCounters()
initialize variables in constructor to avoid nondeterministic behavior
void terminate() override
final output with mini-feedback
std::string m_pxdClustersName
PXDCluster collection name.
std::vector< std::string > m_containerSpacePointsName
intermediate storage for the names of the loaded storeArrays.
StoreArray< PXDCluster > m_pxdClusters
the storeArray for pxdClusters 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.