Belle II Software  release-05-02-19
SpacePointLoader.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/spacePointCreation/SpacePoint.h>
13 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
14 #include <tracking/trackFindingCDC/findlets/base/StoreArrayLoader.h>
15 
16 #include <string>
17 #include <vector>
18 
19 namespace Belle2 {
24  class SpacePoint;
25 
26  class ModuleParamList;
27 
29  class SpacePointLoader : public TrackFindingCDC::Findlet<const SpacePoint*> {
31  using Super = TrackFindingCDC::Findlet<const SpacePoint*>;
32 
33  public:
36 
38  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
39 
41  void apply(std::vector<const SpacePoint*>& spacePoints) final;
42 
43  private:
46 
48  bool m_param_useAssignedHits = true;
49  };
51 }
Belle2::SpacePointLoader::m_param_useAssignedHits
bool m_param_useAssignedHits
Use only already used hits.
Definition: SpacePointLoader.h:56
Belle2::SpacePointLoader::SpacePointLoader
SpacePointLoader()
Add the sub findlet as a listener.
Definition: SpacePointLoader.cc:20
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::StoreArrayLoader
Helper findlet to allow combined findlets to import data from the DataStore.
Definition: StoreArrayLoader.h:42
Belle2::SpacePointLoader::Super
TrackFindingCDC::Findlet< const SpacePoint * > Super
Parent class.
Definition: SpacePointLoader.h:39
Belle2::SpacePointLoader::m_storeArrayLoader
TrackFindingCDC::StoreArrayLoader< const SpacePoint > m_storeArrayLoader
Findlet for actually loading the hits.
Definition: SpacePointLoader.h:53
Belle2::SpacePointLoader::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Definition: SpacePointLoader.cc:25
Belle2::SpacePointLoader::apply
void apply(std::vector< const SpacePoint * > &spacePoints) final
Do the space point retrieval.
Definition: SpacePointLoader.cc:36