Belle II Software release-09-00-00
ECLCovarianceMatrixModule.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// FRAMEWORK
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15
16namespace Belle2 {
22 class EventLevelClusteringInfo;
23 class ECLShower;
24
30
31 public:
34
37
39 virtual void initialize() override;
40
42 virtual void beginRun() override;
43
45 virtual void event() override;
46
48 virtual void endRun() override;
49
51 virtual void terminate() override;
52
53 private:
54
55 const double m_fullBkgdCount = 183.0;
59
62
63 public:
65 virtual const char* eclShowerArrayName() const
66 { return "ECLShowers" ; }
67
69 virtual const char* eventLevelClusteringInfoName() const
70 { return "EventLevelClusteringInfo" ; }
71 }; // end of ECLCovarianceMatrixModule
72
73
76 public:
78 virtual const char* eclShowerArrayName() const override
79 { return "ECLShowersPureCsI" ; }
80
82 virtual const char* eventLevelClusteringInfoName() const override
83 { return "EventLevelClusteringInfoPureCsI" ; }
84 }; // end of ECLCovarianceMatrixPureCsIModule
85
87} // end of Belle2 namespace
Class to perform the shower correction.
virtual const char * eclShowerArrayName() const
Default name ECLShowers.
virtual const char * eventLevelClusteringInfoName() const
Name to be used for default option: EventLevelClusteringInfo.
const double m_fullBkgdCount
Nominal Background at BGx1.0 (MC12)
StoreArray< ECLShower > m_eclShowers
Store array: ECLShower.
virtual void initialize() override
Initialize.
virtual void endRun() override
End run.
virtual void terminate() override
Terminate.
virtual void beginRun() override
Begin run.
StoreObjPtr< EventLevelClusteringInfo > m_eventLevelClusteringInfo
Store object pointer: EventLevelClusteringInfo.
The very same module but for PureCsI.
virtual const char * eventLevelClusteringInfoName() const override
Name to be used for PureCsI option: EventLevelClusteringInfoPureCsI.
virtual const char * eclShowerArrayName() const override
PureCsI name ECLShowersPureCsI.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.