Belle II Software  release-06-01-15
eclBhabhaTAlgorithm.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 #include <ecl/calibration/eclBhabhaTAlgorithm.h>
11 #include <calibration/CalibrationAlgorithm.h>
12 #include <string>
13 
14 
15 namespace Belle2 {
20  namespace ECL {
21 
24  public:
25 
28 
31 
32  /*** Parameters ***/
33 
34  int cellIDLo;
35  int cellIDHi;
40  int crateIDLo;
41  int crateIDHi;
44  bool debugOutput;
46  std::string debugFilenameBase;
47  std::string collectorName;
48  int refCrysPerCrate[52] ;
50  protected:
51 
53  EResult calibrate() override;
54 
55 // private:
56 // /** Number of processed runs */
57 // unsigned int m_runCount;
58  };
59  } // namespace ECL
61 } // namespace Belle2
62 
Base class for calibration algorithms.
EResult
The result of calibration.
Calibrate ecl crystals using bhabha events.
int crateIDHi
Fit crates with crateID0 in the inclusive range [crateIDLo,crateIDHi].
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.
int crateIDLo
Fit crates with crateID0 in the inclusive range [crateIDLo,crateIDHi].
double meanCleanCutMinFactor
After rebinning, create a mask for bins that have values less than meanCleanCutMinFactor times the ma...
bool savePrevCrysPayload
Save the previous crystal payload values for comparison.
std::string collectorName
Name of the collector.
bool readPrevCrysPayload
Read the previous crystal payload values for comparison.
EResult calibrate() override
..Run algorithm on events
int refCrysPerCrate[52]
List of crystals, one per crate, used as reference time for crystal time calibration.
std::string debugFilenameBase
Name of file with debug output, eclBhabhaTAlgorithm.root by default.
Abstract base class for different kinds of events.