Belle II Software development
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
27
28 public:
31
34
36 virtual void initialize() override;
37
39 virtual void beginRun() override;
40
42 virtual void event() override;
43
45 virtual void endRun() override;
46
48 virtual void terminate() override;
49
50 private:
51
52 const double m_fullBkgdCount = 183.0;
56
59
60 public:
62 virtual const char* eclShowerArrayName() const
63 { return "ECLShowers" ; }
64
66 virtual const char* eventLevelClusteringInfoName() const
67 { return "EventLevelClusteringInfo" ; }
68 }; // end of ECLCovarianceMatrixModule
69
70
73 public:
75 virtual const char* eclShowerArrayName() const override
76 { return "ECLShowersPureCsI" ; }
77
79 virtual const char* eventLevelClusteringInfoName() const override
80 { return "EventLevelClusteringInfoPureCsI" ; }
81 }; // end of ECLCovarianceMatrixPureCsIModule
82
84} // 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.