Belle II Software release-09-00-01
ECLShowerCalibratorModule.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
15namespace Belle2 {
21 class ECLShower;
22 class ECLConnectedRegion;
23
26
27 public:
30
33
35 virtual void initialize() override;
36
38 virtual void beginRun() override;
39
41 virtual void event() override;
42
44 virtual void endRun() override;
45
47 virtual void terminate() override;
48
49 private:
54
55 public:
59 virtual const char* eclShowerArrayName() const
60 { return "ECLShowers" ; }
61
63 virtual const char* eclConnectedRegionArrayName() const
64 { return "ECLConnectedRegions" ; }
65
66 };
67
68
71 public:
72
74 virtual const char* eclShowerArrayName() const override
75 { return "ECLShowersPureCsI" ; }
76
78 virtual const char* eclConnectedRegionArrayName() const override
79 { return "ECLConnectedRegionsPureCsI" ; }
80
81 };
83} // end of Belle2 namespace
Class to perform the shower correction.
virtual const char * eclShowerArrayName() const
We need names for the data objects to differentiate between PureCsI and default.
StoreArray< ECLShower > m_eclShowers
StoreArray ECLShower.
virtual void initialize() override
Initialize.
virtual void endRun() override
End run.
virtual void terminate() override
Terminate.
virtual void beginRun() override
Begin run.
virtual const char * eclConnectedRegionArrayName() const
Default name ECLConnectedRegion.
StoreArray< ECLConnectedRegion > m_eclCRs
StoreArray ECLConnectedRegion.
The very same module but for PureCsI.
virtual const char * eclShowerArrayName() const override
PureCsI name ECLShowers.
virtual const char * eclConnectedRegionArrayName() const override
PureCsI name ECLConnectedRegion.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.