Belle II Software prerelease-11-00-00a
PXDSpacePointCreatorModule.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#include <framework/datastore/StoreObjPtr.h>
14
15#include <string>
16
17
18
19namespace Belle2 {
24 class PXDCluster;
25 class SpacePoint;
27
36
37 public:
38
39
40
43
44
45
50 virtual void initialize() override;
51
52
54 virtual void event() override;
55
56
58 virtual void terminate() override;
59
60
62 void InitializeCounters();
63
64
65 protected:
66
67
68 // Data members
69 std::string m_pxdClustersName;
70
73
74 std::string m_spacePointsName;
75
78
81
82 // modification parameters
83 std::string
85
86
87 //counters for testing
88 unsigned int m_TESTERPXDClusterCtr;
89
90 unsigned int m_TESTERSpacePointCtr;
91 };
92
93} // end namespace Belle2
Tracking-related info on event-level, for example number of unassigned measurements.
Module()
Constructor.
Definition Module.cc:30
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
Definition PXDCluster.h:30
unsigned int m_TESTERPXDClusterCtr
counts total number of PXDClusters occurred
std::string m_nameOfInstance
allows the user to set an identifier for this module.
virtual void initialize() override
Init the module.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
StoreObject to access the event level tracking information.
virtual void event() override
eventWise jobs (e.g.
void InitializeCounters()
initialize variables in constructor to avoid nondeterministic behavior
unsigned int m_TESTERSpacePointCtr
counts total number of SpacePoints occurred
virtual void terminate() override
final output with mini-feedback
StoreArray< SpacePoint > m_spacePoints
the storeArray for spacePoints as member, is faster than recreating link for each event
std::string m_pxdClustersName
PXDCluster collection name.
StoreArray< PXDCluster > m_pxdClusters
the storeArray for pxdClusters as member, is faster than recreating link for each event
std::string m_spacePointsName
SpacePoints collection name.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
Definition SpacePoint.h:42
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
Abstract base class for different kinds of events.