Belle II Software  release-08-01-10
SVDShaperDigitConverter.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/trackFindingCDC/findlets/base/Findlet.h>
11 #include <framework/datastore/StoreArray.h>
12 
13 #include <string>
14 #include <vector>
15 
16 namespace Belle2 {
21  class ModuleParamList;
22  class DATCONSVDDigit;
23  class SVDShaperDigit;
24 
30  class SVDShaperDigitConverter : public TrackFindingCDC::Findlet<DATCONSVDDigit, DATCONSVDDigit> {
33 
34  public:
37 
39  virtual ~SVDShaperDigitConverter() = default;
40 
42  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
43 
45  void initialize() override;
46 
48  void apply(std::vector<DATCONSVDDigit>& svdUDigits, std::vector<DATCONSVDDigit>& svdVDigits) override;
49 
50  private:
51  // Parameters
54 
57  };
59 }
The Module parameter list class.
Findlet for converting SVDShaperDigits into DATCONSVDDigits.
SVDShaperDigitConverter()
Add the subfindlets.
void apply(std::vector< DATCONSVDDigit > &svdUDigits, std::vector< DATCONSVDDigit > &svdVDigits) override
Load in the reco tracks and the hits.
void initialize() override
Create the store arrays.
StoreArray< SVDShaperDigit > m_storeSVDShaperDigits
SVDShaperDigit StoreArray.
std::string m_param_storeSVDShaperDigitsName
SVDShaperDigits StoreArray name.
virtual ~SVDShaperDigitConverter()=default
default destructor
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.