Belle II Software release-09-00-00
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
29
30 public:
33
36
38 virtual void initialize() override;
39
41 virtual void beginRun() override;
42
44 virtual void event() override;
45
47 virtual void endRun() override;
48
50 virtual void terminate() override;
51
52 private:
57
58 public:
62 virtual const char* eclShowerArrayName() const
63 { return "ECLShowers" ; }
64
66 virtual const char* eclConnectedRegionArrayName() const
67 { return "ECLConnectedRegions" ; }
68
69 };
70
71
74 public:
75
77 virtual const char* eclShowerArrayName() const override
78 { return "ECLShowersPureCsI" ; }
79
81 virtual const char* eclConnectedRegionArrayName() const override
82 { return "ECLConnectedRegionsPureCsI" ; }
83
84 };
86} // 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.