Belle II Software  release-08-01-10
SVDShaperDigitSorterModule.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 
9 #ifndef SVDShaperDigitSorterModule_H
10 #define SVDShaperDigitSorterModule_H
11 
12 #include <framework/core/Module.h>
13 #include <svd/dataobjects/SVDShaperDigit.h>
14 #include <string>
15 
16 namespace Belle2 {
21  namespace SVD {
22 
38 
39  public:
42 
44  virtual void initialize() override;
46  virtual void event() override;
47 
48  private:
52  std::string m_storeTrueHitsName;
60  std::vector<SVDShaperDigit> m_digitcopy;
61 
62  };//end class declaration
63 
64 
65  } //end SVD namespace;
67 } // end namespace Belle2
68 
69 #endif // SVDShaperDigitSorterModule_H
Base class for Modules.
Definition: Module.h:72
std::string m_relShaperDigitMCParticleName
Name of the relation between SVDShaperDigits and MCParticles.
virtual void initialize() override
Initialize the module.
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
virtual void event() override
do the sorting
std::string m_storeTrueHitsName
Name of the collection to use for the SVDTrueHits.
std::string m_storeMCParticlesName
Name of the collection to use for the MCParticles.
std::string m_relShaperDigitTrueHitName
Name of the relation between SVDShaperDigits and SVDTrueHits.
std::vector< SVDShaperDigit > m_digitcopy
Copy of the ShaperDigits needed for sorting.
SVDShaperDigitSorterModule()
Constructor defining the parameters.
Abstract base class for different kinds of events.