Belle II Software development
EKLMAlignmentAlongStripsAlgorithm.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/* Basf2 headers. */
12#include <calibration/CalibrationAlgorithm.h>
13
14namespace Belle2 {
24
25 public:
26
30 struct Event {
31 int section;
32 int layer;
33 int sector;
34 int plane;
35 int strip;
38 float x;
39 float y;
40 float z;
41 float distSiPM;
42 float distFarEnd;
43 };
44
49
54
59
63 void setOutputFile(const char* outputFile);
64
65 private:
66
72 int getAveragedPlane(int sector, int plane) const;
73
75 std::string m_OutputFile;
76
77 };
78
80}
Base class for calibration algorithms.
EResult
The result of calibration.
void setOutputFile(const char *outputFile)
Set output file name.
CalibrationAlgorithm::EResult calibrate() override
Calibration.
int getAveragedPlane(int sector, int plane) const
Get plane number for average values (0-based).
Abstract base class for different kinds of events.
float distFarEnd
Distance from hit to the far end of the strip.