 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
14 #include <tracking/dataobjects/RecoTrack.h>
21 class ModuleParamList;
29 class StoreArrayMerger :
public TrackFindingCDC::Findlet<RecoTrack*, RecoTrack*> {
31 using Super = TrackFindingCDC::Findlet<RecoTrack*, RecoTrack*>;
34 void exposeParameters(ModuleParamList* moduleParamList,
const std::string& prefix)
override;
40 void apply(std::vector<RecoTrack*>& cdcRecoTrackVector, std::vector<RecoTrack*>& vxdRecoTrackVector)
override;
void apply(std::vector< RecoTrack * > &cdcRecoTrackVector, std::vector< RecoTrack * > &vxdRecoTrackVector) override
Fetch the RecoTracks from the two input Store Arrays and fill them into two vectors.
StoreArray< RecoTrack > m_cdcRecoTracks
CDC Reco Tracks Store Array.
TrackFindingCDC::Findlet< RecoTrack *, RecoTrack * > Super
The parent class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the findlet.
StoreArray< RecoTrack > m_vxdRecoTracks
VXD Reco Tracks Store Array.
Abstract base class for different kinds of events.
const std::string & getVXDStoreArrayName()
Get the name of the VXD StoreArray<RecoTrack>
void initialize() override
Require/register the store arrays.
void removeCDCRecoTracksWithPartner(std::vector< RecoTrack * > &tracks)
Helper function to remove all tracks, which have a related VXD track from the vector.
std::string m_param_vxdRecoTrackStoreArrayName
StoreArray name of the VXD Track Store Array.
const std::string & getCDCStoreArrayName()
Get the name of the CDC StoreArray<RecoTrack>
void removeVXDRecoTracksWithPartner(std::vector< RecoTrack * > &tracks)
Helper function to remove all tracks, which have a related CDC track from the vector.
Accessor to arrays stored in the data store.
void removeRecoTracksWithPartner(std::vector< RecoTrack * > &tracks, const std::string &partnerStoreArrayName)
Helper function to remove all element in a std::vector, which have already a relation to the given st...
std::string m_param_cdcRecoTrackStoreArrayName
StoreArray name of the CDC Track Store Array.