Belle II Software  release-05-02-19
SVDShaperDigitSorterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter, Peter Kvasnicka *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef SVDShaperDigitSorterModule_H
12 #define SVDShaperDigitSorterModule_H
13 
14 #include <framework/core/Module.h>
15 #include <svd/dataobjects/SVDShaperDigit.h>
16 #include <string>
17 
18 namespace Belle2 {
23  namespace SVD {
24 
39  class SVDShaperDigitSorterModule : public Module {
40 
41  public:
44 
46  virtual void initialize() override;
48  virtual void event() override;
49 
50  private:
52  std::string m_storeShaperDigitsName;
54  std::string m_storeTrueHitsName;
56  std::string m_storeMCParticlesName;
62  std::vector<SVDShaperDigit> m_digitcopy;
63 
64  };//end class declaration
65 
66 
67  } //end SVD namespace;
69 } // end namespace Belle2
70 
71 #endif // SVDShaperDigitSorterModule_H
Belle2::SVD::SVDShaperDigitSorterModule::m_storeShaperDigitsName
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
Definition: SVDShaperDigitSorterModule.h:60
Belle2::SVD::SVDShaperDigitSorterModule::SVDShaperDigitSorterModule
SVDShaperDigitSorterModule()
Constructor defining the parameters.
Definition: SVDShaperDigitSorterModule.cc:36
Belle2::SVD::SVDShaperDigitSorterModule::m_storeMCParticlesName
std::string m_storeMCParticlesName
Name of the collection to use for the MCParticles.
Definition: SVDShaperDigitSorterModule.h:64
Belle2::SVD::SVDShaperDigitSorterModule::m_storeTrueHitsName
std::string m_storeTrueHitsName
Name of the collection to use for the SVDTrueHits.
Definition: SVDShaperDigitSorterModule.h:62
Belle2::SVD::SVDShaperDigitSorterModule::event
virtual void event() override
do the sorting
Definition: SVDShaperDigitSorterModule.cc:79
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVD::SVDShaperDigitSorterModule::m_relShaperDigitTrueHitName
std::string m_relShaperDigitTrueHitName
Name of the relation between SVDShaperDigits and SVDTrueHits.
Definition: SVDShaperDigitSorterModule.h:68
Belle2::SVD::SVDShaperDigitSorterModule::initialize
virtual void initialize() override
Initialize the module.
Definition: SVDShaperDigitSorterModule.cc:55
Belle2::SVD::SVDShaperDigitSorterModule::m_relShaperDigitMCParticleName
std::string m_relShaperDigitMCParticleName
Name of the relation between SVDShaperDigits and MCParticles.
Definition: SVDShaperDigitSorterModule.h:66
Belle2::SVD::SVDShaperDigitSorterModule::m_digitcopy
std::vector< SVDShaperDigit > m_digitcopy
Copy of the ShaperDigits needed for sorting.
Definition: SVDShaperDigitSorterModule.h:70