12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
21 class ECLLocalMaximum;
22 class ECLConnectedRegion;
42 virtual void event()
override;
45 virtual void endRun()
override;
76 {
return "ECLCalDigits" ; }
80 {
return "ECLConnectedRegions" ; }
84 {
return "ECLLocalMaximums" ; }
88 {
return "ECLShowers" ; }
98 {
return "ECLCalDigitsPureCsI" ; }
102 {
return "ECLConnectedRegionsPureCsI" ; }
106 {
return "ECLLocalMaximumsPureCsI" ; }
110 {
return "ECLShowersPureCsI" ; }
Class to perform the shower correction.
virtual const char * eclShowerArrayName() const
Default name ECLShowers.
double m_liloParameterB
lin-log parameter B
StoreArray< ECLShower > m_eclShowers
Store array: ECLShower.
StoreArray< ECLConnectedRegion > m_eclConnectedRegions
Store array: ECLConnectedRegion.
ECLSplitterN2Module()
Constructor.
std::string m_positionMethod
Position calculation: lilo or linear.
virtual void initialize() override
Initialize.
StoreArray< ECLLocalMaximum > m_eclLocalMaximums
Store array: ECLLocalMaximum.
virtual void event() override
Event.
virtual const char * eclLocalMaximumArrayName() const
Default name ECLLocalMaximums.
virtual void endRun() override
End run.
virtual void terminate() override
Terminate.
~ECLSplitterN2Module()
Destructor.
virtual void beginRun() override
Begin run.
std::vector< double > m_liloParameters
lin-log parameters A, B, and C
virtual const char * eclConnectedRegionArrayName() const
Default name ECLConnectedRegions.
virtual const char * eclCalDigitArrayName() const
Default name ECLCalDigits.
double m_liloParameterA
lin-log parameter A
StoreArray< ECLCalDigit > m_eclCalDigits
Store array: ECLCalDigit.
double m_liloParameterC
lin-log parameter C
The very same module but for PureCsI.
virtual const char * eclCalDigitArrayName() const override
PureCsI name ECLCalDigitsPureCsI.
virtual const char * eclShowerArrayName() const override
PureCsI name ECLShowersPureCsI.
virtual const char * eclLocalMaximumArrayName() const override
PureCsI name ECLLocalMaximumsPureCsI.
virtual const char * eclConnectedRegionArrayName() const override
PureCsI name ECLConnectedRegionsPureCsI.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.