Belle II Software  release-06-01-15
eclMergingCrystalEAlgorithm.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 #include <framework/database/DBObjPtr.h>
11 #include <calibration/CalibrationAlgorithm.h>
12 #include <ecl/dbobjects/ECLCrystalCalib.h>
13 
14 namespace Belle2 {
19  namespace ECL {
20 
23  public:
24 
27 
30 
31  protected:
32 
34  virtual EResult calibrate() override;
35 
36  private:
37 
39  const std::string m_payloadName = "ECLCrystalEnergy";
40 
43 
46 
49 
52 
54  const int m_numCrystals = 8736;
55  };
56  }
58 } // namespace Belle2
59 
60 
Base class for calibration algorithms.
EResult
The result of calibration.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Calibrate ecl crystals using previously created payloads.
DBObjPtr< ECLCrystalCalib > m_existing5x5
ECLCrystalEnergyee5x5 payloads that we want to read from the DB.
DBObjPtr< ECLCrystalCalib > m_existing
ECLCrystalEnergy payloads that we want to read from the DB.
const std::string m_payloadName
The output payload name.
DBObjPtr< ECLCrystalCalib > m_existingGammaGamma
ECLCrystalEnergyGammaGamma payloads that we want to read from the DB.
const int m_numCrystals
Number of Crystals expected.
virtual EResult calibrate() override
..Run algorithm
DBObjPtr< ECLCrystalCalib > m_existingMuMu
ECLCrystalEnergyMuMu payloads that we want to read from the DB.
Abstract base class for different kinds of events.