Belle II Software  release-05-02-19
SpacePointCreatorTestModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler *
7  * *
8  **************************************************************************/
9 
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 #include <framework/datastore/StoreArray.h>
14 
15 #include <tracking/spacePointCreation/SpacePoint.h>
16 
17 #include <string>
18 
19 namespace Belle2 {
36  class SpacePointCreatorTestModule : public Module {
37 
38  public:
39 
40 
41 
44 
45 
46 
51  void initialize() override;
52 
53 
55  void event() override;
56 
57 
59  void terminate() override {}
60 
61 
63  void InitializeCounters();
64 
65 
66  protected:
67 
68 
69  // Data members
70  std::string m_pxdClustersName;
75  std::string m_svdClustersName;
80  std::vector< StoreArray<SpacePoint> > m_allSpacePointStoreArrays;
82  std::vector< std::string > m_containerSpacePointsName;
84  // modification parameters
85  std::string
88  };
90 } // end namespace Belle2
Belle2::SpacePointCreatorTestModule::m_containerSpacePointsName
std::vector< std::string > m_containerSpacePointsName
intermediate storage for the names of the loaded storeArrays.
Definition: SpacePointCreatorTestModule.h:89
Belle2::SpacePointCreatorTestModule::initialize
void initialize() override
Init the module.
Definition: SpacePointCreatorTestModule.cc:49
Belle2::SpacePointCreatorTestModule::m_pxdClustersName
std::string m_pxdClustersName
PXDCluster collection name.
Definition: SpacePointCreatorTestModule.h:77
Belle2::SpacePointCreatorTestModule::SpacePointCreatorTestModule
SpacePointCreatorTestModule()
Constructor.
Definition: SpacePointCreatorTestModule.cc:27
Belle2::SpacePointCreatorTestModule::m_pxdClusters
StoreArray< PXDCluster > m_pxdClusters
the storeArray for pxdClusters as member, is faster than recreating link for each event
Definition: SpacePointCreatorTestModule.h:80
Belle2::SpacePointCreatorTestModule::m_svdClusters
StoreArray< SVDCluster > m_svdClusters
the storeArray for svdClusters as member, is faster than recreating link for each event
Definition: SpacePointCreatorTestModule.h:85
Belle2::SpacePointCreatorTestModule::m_svdClustersName
std::string m_svdClustersName
SVDCluster collection name.
Definition: SpacePointCreatorTestModule.h:82
Belle2::SpacePointCreatorTestModule::m_nameOfInstance
std::string m_nameOfInstance
allows the user to set an identifier for this module.
Definition: SpacePointCreatorTestModule.h:93
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SpacePointCreatorTestModule::m_allSpacePointStoreArrays
std::vector< StoreArray< SpacePoint > > m_allSpacePointStoreArrays
a vector full of StoreArray carrying spacePoints.
Definition: SpacePointCreatorTestModule.h:87
Belle2::SpacePointCreatorTestModule::event
void event() override
eventWise jobs (e.g.
Definition: SpacePointCreatorTestModule.cc:83
Belle2::SpacePointCreatorTestModule::terminate
void terminate() override
final output with mini-feedback
Definition: SpacePointCreatorTestModule.h:66
Belle2::StoreArray< PXDCluster >
Belle2::SpacePointCreatorTestModule::InitializeCounters
void InitializeCounters()
initialize variables in constructor to avoid nondeterministic behavior