Belle II Software  release-08-01-10
MCMatcherECLClustersModule.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 #pragma once
10 
11 /* Basf2 headers. */
12 #include <framework/core/Module.h>
13 #include <framework/datastore/RelationArray.h>
14 #include <framework/datastore/StoreArray.h>
15 
16 namespace Belle2 {
21  class MCParticle;
22  class ECLHit;
23  class ECLCalDigit;
24  class ECLDigit;
25  class ECLSimHit;
26  class ECLCluster;
27  class ECLShower;
28 
34 
35  public:
38 
41 
43  virtual void initialize() override;
44 
48  virtual void event() override;
49 
50  private:
51 
61  std::string m_eclDigitArrayName = "";
63  std::string m_eclCalDigitArrayName = "";
65  std::string m_eclClusterArrayName = "";
67  std::string m_eclShowerArrayName = "";
68 
70  virtual const char* getECLDigitArrayName() const
71  { return "ECLDigits" ; }
72 
74  virtual const char* getECLCalDigitArrayName() const
75  { return "ECLCalDigits" ; }
76 
78  virtual const char* getECLClusterArrayName() const
79  { return "ECLClusters" ; }
80 
82  virtual const char* getECLShowerArrayName() const
83  { return "ECLShowers" ; }
84 
89  };
90 
93 
94  public:
95 
97  virtual const char* getECLDigitArrayName() const override
98  { return "ECLDigitsPureCsI" ; }
99 
101  virtual const char* getECLCalDigitArrayName() const override
102  { return "ECLCalDigitsPureCsI" ; }
103 
105  virtual const char* getECLShowerArrayName() const override
106  { return "ECLShowersPureCsI" ; }
107 
109  virtual const char* getECLClusterArrayName() const override
110  { return "ECLClustersPureCsI" ; }
111 
112  };
113 
115 } // end of Belle2 namespace
Class to represent the hit of one cell.
std::string m_eclClusterArrayName
Default name ECLClusters.
StoreArray< ECLShower > m_eclShowers
ECLShowers StoreArray.
std::string m_eclShowerArrayName
Default name ECLShowers.
RelationArray m_mcParticleToECLSimHitRelationArray
MCParticles to ECLSimHits RelationArray.
virtual void initialize() override
Initialize variables, print info, and start CPU clock.
RelationArray m_mcParticleToECLHitRelationArray
MCParticles to ECLHits RelationArray.
virtual void event() override
Actual digitization of all hits in the ECL.
StoreArray< ECLSimHit > m_eclSimHits
ECLSimHits StoreArray.
StoreArray< ECLDigit > m_eclDigits
ECLDigits StoreArray.
virtual const char * getECLClusterArrayName() const
Default name ECLClusters.
StoreArray< ECLCluster > m_eclClusters
ECLClusters StoreArray.
virtual const char * getECLShowerArrayName() const
Default name ECLShowers.
virtual const char * getECLCalDigitArrayName() const
Default name ECLCalDigits.
StoreArray< ECLHit > m_eclHits
ECLHits StoreArray.
std::string m_eclCalDigitArrayName
Default name ECLCalDigits.
StoreArray< MCParticle > m_mcParticles
MCParticles StoreArray.
std::string m_eclDigitArrayName
Default name ECLDigits.
StoreArray< ECLCalDigit > m_eclCalDigits
ECLCalDigits StoreArray.
virtual const char * getECLDigitArrayName() const
Default name ECLDigits.
virtual const char * getECLShowerArrayName() const override
PureCsI name ECLShowersPureCsI.
virtual const char * getECLDigitArrayName() const override
PureCsI name ECLDigitsPureCsI.
virtual const char * getECLClusterArrayName() const override
PureCsI name ECLClustersPureCsI.
virtual const char * getECLCalDigitArrayName() const override
PureCsI name ECLCalDigitsPureCsI.
Base class for Modules.
Definition: Module.h:72
Low-level class to create/modify relations between StoreArrays.
Definition: RelationArray.h:62
Abstract base class for different kinds of events.