Belle II Software  release-06-00-14
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 #include <calibration/CalibrationAlgorithm.h>
17 #include <string>
18 
19 namespace Belle2 {
24  namespace ECL {
25 
28  public:
29 
32 
34  explicit eclTValidationAlgorithm(std::string physicsProcessCollectorName);
35 
38 
39  /*** Parameters ***/
40 
41  int cellIDLo;
42  int cellIDHi;
50  bool debugOutput;
52  std::string debugFilenameBase;
53 
54  protected:
55 
57  EResult calibrate() override;
58 
59  };
60  } // namespace ECL
62 } // namespace Belle2
63 
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.