Belle II Software development
eclTValidationAlgorithm.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/**************************************************************************
10 * Description: *
11 * Validate the ecl timing calibrations using a hadronic event *
12 * selection or bhabha event selection. *
13 **************************************************************************/
14
15#pragma once
16
17/* Basf2 headers. */
18#include <calibration/CalibrationAlgorithm.h>
19
20/* C++ headers. */
21#include <string>
22
23namespace Belle2 {
28 namespace ECL {
29
32 public:
33
36
38 explicit eclTValidationAlgorithm(std::string physicsProcessCollectorName);
39
42
43 /*** Parameters ***/
44
56 std::string debugFilenameBase;
57
58 protected:
59
61 EResult calibrate() override;
62
63 };
64 } // namespace ECL
66} // namespace Belle2
67
Base class for calibration algorithms.
EResult
The result of calibration.
Validate the ecl timing calibrations using a hadronic event selection.
int cellIDHi
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
int cellIDLo
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
bool debugOutput
Save every histogram and fitted function to debugFilename.
double meanCleanRebinFactor
Rebinning factor for mean calculation.
double clusterTimesFractionWindow_maxtime
Maximum time for window to calculate cluster time fraction, in ns.
double meanCleanCutMinFactor
After rebinning, create a mask for bins that have values less than meanCleanCutMinFactor times the ma...
bool readPrevCrysPayload
Read the previous crystal payload values for comparison.
EResult calibrate() override
..Run algorithm on events
std::string debugFilenameBase
Name of file with debug output, eclTValidationAlgorithm.root by default.
Abstract base class for different kinds of events.