Belle II Software development
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
16namespace Belle2 {
21 class MCParticle;
22 class ECLHit;
23 class ECLCalDigit;
24 class ECLDigit;
25 class ECLSimHit;
26 class ECLCluster;
27 class ECLShower;
28
31
32 public:
35
38
40 virtual void initialize() override;
41
45 virtual void event() override;
46
47 private:
48
58 std::string m_eclDigitArrayName = "";
60 std::string m_eclCalDigitArrayName = "";
62 std::string m_eclClusterArrayName = "";
64 std::string m_eclShowerArrayName = "";
65
67 virtual const char* getECLDigitArrayName() const
68 { return "ECLDigits" ; }
69
71 virtual const char* getECLCalDigitArrayName() const
72 { return "ECLCalDigits" ; }
73
75 virtual const char* getECLClusterArrayName() const
76 { return "ECLClusters" ; }
77
79 virtual const char* getECLShowerArrayName() const
80 { return "ECLShowers" ; }
81
86 };
87
90
91 public:
92
94 virtual const char* getECLDigitArrayName() const override
95 { return "ECLDigitsPureCsI" ; }
96
98 virtual const char* getECLCalDigitArrayName() const override
99 { return "ECLCalDigitsPureCsI" ; }
100
102 virtual const char* getECLShowerArrayName() const override
103 { return "ECLShowersPureCsI" ; }
104
106 virtual const char* getECLClusterArrayName() const override
107 { return "ECLClustersPureCsI" ; }
108
109 };
110
112} // end of Belle2 namespace
Class to represent the hit of one cell.
virtual const char * getECLCalDigitArrayName() const
Default name ECLCalDigits.
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.
virtual const char * getECLClusterArrayName() const
Default name ECLClusters.
StoreArray< ECLDigit > m_eclDigits
ECLDigits StoreArray.
StoreArray< ECLCluster > m_eclClusters
ECLClusters StoreArray.
virtual const char * getECLDigitArrayName() const
Default name ECLDigits.
StoreArray< ECLHit > m_eclHits
ECLHits StoreArray.
virtual const char * getECLShowerArrayName() const
Default name ECLShowers.
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 * getECLShowerArrayName() const override
PureCsI name ECLShowersPureCsI.
virtual const char * getECLCalDigitArrayName() const override
PureCsI name ECLCalDigitsPureCsI.
virtual const char * getECLClusterArrayName() const override
PureCsI name ECLClustersPureCsI.
virtual const char * getECLDigitArrayName() const override
PureCsI name ECLDigitsPureCsI.
Base class for Modules.
Definition: Module.h:72
Low-level class to create/modify relations between StoreArrays.
Definition: RelationArray.h:62
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.