Belle II Software  release-08-01-10
ECLShowerCalibratorModule.cc
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 // THIS MODULE
10 #include <ecl/modules/eclShowerCalibration/ECLShowerCalibratorModule.h>
11 
12 // ECL
13 #include <ecl/dataobjects/ECLConnectedRegion.h>
14 #include <ecl/dataobjects/ECLShower.h>
15 
16 using namespace Belle2;
17 
18 //-----------------------------------------------------------------
19 // Register the Module
20 //-----------------------------------------------------------------
21 REG_MODULE(ECLShowerCalibrator);
22 REG_MODULE(ECLShowerCalibratorPureCsI);
23 
24 //-----------------------------------------------------------------
25 // Implementation
26 //-----------------------------------------------------------------
27 
29 {
30  // Set description
31  setDescription("ECLShowerCalibratorModule: Corrects for data to MC differences");
33 
34 }
35 
37 {
38 }
39 
40 
42 {
43  // Register in datastore
44  m_eclShowers.registerInDataStore(eclShowerArrayName());
45  m_eclCRs.registerInDataStore(eclConnectedRegionArrayName());
46 }
47 
49 {
50  // Do not use this for Database updates
51  ;
52 }
53 
55 {
56 
57  // loop over all ECLShowers
58 // for (const auto& eclShower : eclShowers) {
59  // check hypothesis, do other things...
60 
61 // }
62 
63 }
64 
66 {
67  ;
68 }
69 
71 {
72  ;
73 }
StoreArray< ECLShower > m_eclShowers
StoreArray ECLShower.
virtual void initialize() override
Initialize.
virtual const char * eclShowerArrayName() const
We need names for the data objects to differentiate between PureCsI and default.
virtual void endRun() override
End run.
virtual void terminate() override
Terminate.
virtual void beginRun() override
Begin run.
StoreArray< ECLConnectedRegion > m_eclCRs
StoreArray ECLConnectedRegion.
virtual const char * eclConnectedRegionArrayName() const
Default name ECLConnectedRegion.
Base class for Modules.
Definition: Module.h:72
void setDescription(const std::string &description)
Sets the description of the module.
Definition: Module.cc:214
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
Definition: Module.cc:208
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
Definition: Module.h:80
REG_MODULE(arichBtest)
Register the Module.
Abstract base class for different kinds of events.