Belle II Software  release-05-02-19
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 
27  class eclTValidationAlgorithm : public CalibrationAlgorithm {
28  public:
29 
32 
34  explicit eclTValidationAlgorithm(std::string physicsProcessCollectorName);
35 
38 
39  /*** Parameters ***/
40 
41  int cellIDLo;
42  int cellIDHi;
43  bool readPrevCrysPayload;
44  double meanCleanRebinFactor;
45  double meanCleanCutMinFactor;
50  bool debugOutput;
52  std::string debugFilenameBase;
53 
54  protected:
55 
57  EResult calibrate() override;
58 
59  };
60  } // namespace ECL
62 } // namespace Belle2
63 
Belle2::ECL::eclTValidationAlgorithm::calibrate
EResult calibrate() override
..Run algorithm on events
Definition: eclTValidationAlgorithm.cc:82
Belle2::ECL::eclTValidationAlgorithm::cellIDHi
int cellIDHi
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
Definition: eclTValidationAlgorithm.h:52
Belle2::ECL::eclTValidationAlgorithm::debugOutput
bool debugOutput
Save every histogram and fitted function to debugFilename.
Definition: eclTValidationAlgorithm.h:60
Belle2::ECL::eclTValidationAlgorithm::clusterTimesFractionWindow_maxtime
double clusterTimesFractionWindow_maxtime
Maximum time for window to calculate cluster time fraction, in ns.
Definition: eclTValidationAlgorithm.h:58
Belle2::ECL::eclTValidationAlgorithm::meanCleanRebinFactor
double meanCleanRebinFactor
Rebinning factor for mean calculation.
Definition: eclTValidationAlgorithm.h:54
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECL::eclTValidationAlgorithm::debugFilenameBase
std::string debugFilenameBase
Name of file with debug output, eclTValidationAlgorithm.root by default.
Definition: eclTValidationAlgorithm.h:62
Belle2::ECL::eclTValidationAlgorithm::cellIDLo
int cellIDLo
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
Definition: eclTValidationAlgorithm.h:51
Belle2::ECL::eclTValidationAlgorithm::readPrevCrysPayload
bool readPrevCrysPayload
Read the previous crystal payload values for comparison.
Definition: eclTValidationAlgorithm.h:53
Belle2::CalibrationAlgorithm::EResult
EResult
The result of calibration.
Definition: CalibrationAlgorithm.h:50
Belle2::ECL::eclTValidationAlgorithm::meanCleanCutMinFactor
double meanCleanCutMinFactor
After rebinning, create a mask for bins that have values less than meanCleanCutMinFactor times the ma...
Definition: eclTValidationAlgorithm.h:55
Belle2::ECL::eclTValidationAlgorithm::eclTValidationAlgorithm
eclTValidationAlgorithm()
..Constructor
Definition: eclTValidationAlgorithm.cc:44
Belle2::ECL::eclTValidationAlgorithm::~eclTValidationAlgorithm
~eclTValidationAlgorithm()
..Destructor
Definition: eclTValidationAlgorithm.h:47