Belle II Software development
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
33
34 public:
35
36
37
40
41
42
47 virtual void initialize() override;
48
49
51 virtual void event() override;
52
53
55 virtual void terminate() override;
56
57
59 void InitializeCounters();
60
61
62 protected:
63
64
65 // Data members
66 std::string m_pxdClustersName;
67
70
71 std::string m_spacePointsName;
72
75
78
79 // modification parameters
80 std::string
82
83
84 //counters for testing
85 unsigned int m_TESTERPXDClusterCtr;
86
87 unsigned int m_TESTERSpacePointCtr;
88 };
89
90} // 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.