Belle II Software  release-08-01-10
SpacePointLoader.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 #pragma once
9 
10 #include <tracking/spacePointCreation/SpacePoint.h>
11 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
12 #include <tracking/trackFindingCDC/findlets/base/StoreArrayLoader.h>
13 
14 #include <string>
15 #include <vector>
16 
17 namespace Belle2 {
22  class SpacePoint;
23 
24  class ModuleParamList;
25 
27  class SpacePointLoader : public TrackFindingCDC::Findlet<const SpacePoint*> {
30 
31  public:
34 
36  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
37 
39  void apply(std::vector<const SpacePoint*>& spacePoints) final;
40 
41  private:
44 
47  };
49 }
The Module parameter list class.
Load the space points from the store array to the given vector.
SpacePointLoader()
Add the sub findlet as a listener.
void apply(std::vector< const SpacePoint * > &spacePoints) final
Do the space point retrieval.
TrackFindingCDC::StoreArrayLoader< const SpacePoint > m_storeArrayLoader
Findlet for actually loading the hits.
bool m_param_useAssignedHits
Use only already used hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Helper findlet to allow combined findlets to import data from the DataStore.
Abstract base class for different kinds of events.