 |
Belle II Software
release-05-02-19
|
14 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <tracking/dataobjects/RecoTrack.h>
17 #include <tracking/spacePointCreation/SpacePointTrackCand.h>
29 class SPTC2RTConverterModule :
public Module {
31 SPTC2RTConverterModule();
35 void event()
override;
std::string m_param_pxdHitsStoreArrayName
StoreArray name of PXDhits.
void event() override
This method is the core of the module.
StoreArray< RecoTrack > m_recoTracks
StoreArray as class member to prevent relinking for every SPTC.
unsigned int m_RTCtr
Counter for RecoTracks that were actually created by the module.
unsigned int m_SPTCCtr
Counter for SpacePointTrackCands presented to the module.
std::string m_param_recoHitInformationStoreArrayName
StoreArray name of RecoHitInformation.
std::string m_param_recoTracksStoreArrayName
Output RecoTracks StoreArray name.
void createRecoTrack(const SpacePointTrackCand &spacePointTC)
Creates a RecoTrack corresponding to the given SpacePointTrackCand and appends it to the RecoTracks S...
Abstract base class for different kinds of events.
std::string m_param_spacePointTCsStoreArrayName
Input SpacePointTrackCands StoreArray name.
std::string m_param_pxdClustersName
StoreArray name of PXDClusters.
std::string m_param_svdClustersName
StoreArray name of SVDClusters.
void initializeCounters()
reset counters to 0 to avoid indeterministic behaviour
std::string m_param_svdHitsStoreArrayName
StoreArray name of SVDhits.
Accessor to arrays stored in the data store.
void terminate() override
This method is called at the end of the event processing.
void initialize() override
Initialize the Module.
StoreArray< SpacePointTrackCand > m_spacePointTCs
StoreArray as class member to prevent relinking for every event.
Storage for (VXD) SpacePoint-based track candidates.