 |
Belle II Software
release-05-02-19
|
15 #include <framework/core/Module.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <framework/datastore/StoreArray.h>
29 class EventLevelClusteringInfo;
35 class ECLFinalizerModule :
public Module {
51 virtual void event()
override;
54 virtual void endRun()
override;
77 {
return "ECLShowers" ; }
81 {
return "ECLClusters"; }
85 {
return "ECLCalDigits";}
96 {
return "ECLShowersPureCsI" ; }
100 {
return "ECLClustersPureCsI"; }
104 {
return "ECLCalDigitsPureCsI";}
virtual const char * eclClusterArrayName() const override
PureCsI name ECLCluster.
StoreArray< ECLCluster > m_eclClusters
ECLClusters.
virtual void beginRun() override
Begin run.
virtual void endRun() override
End run.
StoreArray< ECLCalDigit > m_eclCalDigits
ECLCalDigits.
ECLFinalizerModule()
Constructor.
int makeCluster(int, double)
Make a cluster from a given shower array index.
The very same module but for PureCsI.
Class to perform the shower correction.
virtual const char * eclCalDigitArrayName() const
Default name ECLCalDigits.
StoreArray< ECLShower > m_eclShowers
ECLShowers.
~ECLFinalizerModule()
Destructor.
double m_clusterLossyFraction
Maximum allowed fractional difference between nPhotons and neutralHadron number of crystals.
virtual const char * eclShowerArrayName() const override
PureCsI name ECLShower.
virtual void initialize() override
Initialize.
virtual const char * eclCalDigitArrayName() const override
PureCsI name ECLCalDigits.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
double m_clusterEnergyCutMin
Min value for the cluster energy cut.
virtual void event() override
Event.
StoreObjPtr< EventT0 > m_eventT0
Event T0.
double m_clusterTimeCutMaxEnergy
Above this energy, keep all cluster.
StoreObjPtr< EventLevelClusteringInfo > m_eventLevelClusteringInfo
EventLevelClusteringInfo.
virtual const char * eclClusterArrayName() const
Default name ECLCluster.
Accessor to arrays stored in the data store.
virtual const char * eclShowerArrayName() const
We need names for the data objects to differentiate between PureCsI and default.
virtual void terminate() override
Terminate.