Belle II Software  release-05-02-19
eclEdgeAlgorithm.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2020 - Belle II Collaboration *
4  * *
5  * Generates payloads ECLCrystalThetaEdge and ECLCrystalPhiEdge using *
6  * histograms filled by eclEdgeCollectorModule *
7  * *
8  * Author: The Belle II Collaboration *
9  * Contributors: Christopher Hearty (hearty@physics.ubc.ca) *
10  * *
11  * This software is provided "as is" without any warranty. *
12  **************************************************************************/
13 
14 #pragma once
15 #include <framework/database/DBObjPtr.h>
16 #include <calibration/CalibrationAlgorithm.h>
17 #include <ecl/dbobjects/ECLCrystalCalib.h>
18 
19 namespace Belle2 {
24  namespace ECL {
25 
27  class eclEdgeAlgorithm : public CalibrationAlgorithm {
28  public:
29 
32 
34  virtual ~eclEdgeAlgorithm() {}
35 
36  protected:
37 
39  virtual EResult calibrate() override;
40 
41  private:
42  const short m_crystalsPerRing[69] = {
43  48, 48, 64, 64, 64, 96, 96, 96, 96, 96, 96, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 96, 96, 96, 96, 96, 64, 64, 64
44  };
45  };
46  }
48 } // namespace Belle2
49 
50 
Belle2::ECL::eclEdgeAlgorithm::~eclEdgeAlgorithm
virtual ~eclEdgeAlgorithm()
..Destructor
Definition: eclEdgeAlgorithm.h:45
Belle2::ECL::eclEdgeAlgorithm::calibrate
virtual EResult calibrate() override
..Run algorithm
Definition: eclEdgeAlgorithm.cc:26
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECL::eclEdgeAlgorithm::m_crystalsPerRing
const short m_crystalsPerRing[69]
crystals per thetaID
Definition: eclEdgeAlgorithm.h:53
Belle2::CalibrationAlgorithm::EResult
EResult
The result of calibration.
Definition: CalibrationAlgorithm.h:50
Belle2::ECL::eclEdgeAlgorithm::eclEdgeAlgorithm
eclEdgeAlgorithm()
..Constructor
Definition: eclEdgeAlgorithm.cc:17