Belle II Software  release-05-01-25
eclBhabhaTAlgorithm.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Calculate time offsets from bhabha events. *
6  * *
7  * Author: The Belle II Collaboration *
8  * Contributors: Ewan Hill (ehill@mail.ubc.ca) *
9  * Mikhail Remnev *
10  * *
11  * This software is provided "as is" without any warranty. *
12  **************************************************************************/
13 
14 #pragma once
15 #include <ecl/calibration/eclBhabhaTAlgorithm.h>
16 #include <calibration/CalibrationAlgorithm.h>
17 #include <string>
18 
19 
20 namespace Belle2 {
25  namespace ECL {
26 
28  class eclBhabhaTAlgorithm : public CalibrationAlgorithm {
29  public:
30 
33 
35  virtual ~eclBhabhaTAlgorithm() {}
36 
37  /*** Parameters ***/
38 
39  int cellIDLo;
40  int cellIDHi;
41  double meanCleanRebinFactor;
42  double meanCleanCutMinFactor;
45  int crateIDLo;
46  int crateIDHi;
47  bool debugOutput;
49  std::string debugFilenameBase;
50  std::string collectorName;
52  protected:
53 
55  virtual EResult calibrate();
56 
57 // private:
58 // /** Number of processed runs */
59 // unsigned int m_runCount;
60  };
61  } // namespace ECL
63 } // namespace Belle2
64 
Belle2::ECL::eclBhabhaTAlgorithm::cellIDHi
int cellIDHi
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
Definition: eclBhabhaTAlgorithm.h:51
Belle2::ECL::eclBhabhaTAlgorithm::debugOutput
bool debugOutput
Save every histogram and fitted function to debugFilename.
Definition: eclBhabhaTAlgorithm.h:58
Belle2::ECL::eclBhabhaTAlgorithm::crateIDLo
int crateIDLo
Fit crates with crateID0 in the inclusive range [crateIDLo,crateIDHi].
Definition: eclBhabhaTAlgorithm.h:56
Belle2::ECL::eclBhabhaTAlgorithm::calibrate
virtual EResult calibrate()
..Run algorithm on events
Definition: eclBhabhaTAlgorithm.cc:36
Belle2::ECL::eclBhabhaTAlgorithm::crateIDHi
int crateIDHi
Fit crates with crateID0 in the inclusive range [crateIDLo,crateIDHi].
Definition: eclBhabhaTAlgorithm.h:57
Belle2::ECL::eclBhabhaTAlgorithm::collectorName
std::string collectorName
Name of the collector.
Definition: eclBhabhaTAlgorithm.h:61
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECL::eclBhabhaTAlgorithm::eclBhabhaTAlgorithm
eclBhabhaTAlgorithm()
..Constructor
Definition: eclBhabhaTAlgorithm.cc:16
Belle2::CalibrationAlgorithm::EResult
EResult
The result of calibration.
Definition: CalibrationAlgorithm.h:50
Belle2::ECL::eclBhabhaTAlgorithm::~eclBhabhaTAlgorithm
virtual ~eclBhabhaTAlgorithm()
..Destructor
Definition: eclBhabhaTAlgorithm.h:46
Belle2::ECL::eclBhabhaTAlgorithm::cellIDLo
int cellIDLo
Fit crystals with cellID0 in the inclusive range [cellIDLo,cellIDHi].
Definition: eclBhabhaTAlgorithm.h:50
Belle2::ECL::eclBhabhaTAlgorithm::meanCleanRebinFactor
double meanCleanRebinFactor
Rebinning factor for mean calculation.
Definition: eclBhabhaTAlgorithm.h:52
Belle2::ECL::eclBhabhaTAlgorithm::debugFilenameBase
std::string debugFilenameBase
Name of file with debug output, eclBhabhaTAlgorithm.root by default.
Definition: eclBhabhaTAlgorithm.h:60
Belle2::ECL::eclBhabhaTAlgorithm::meanCleanCutMinFactor
double meanCleanCutMinFactor
After rebinning, create a mask for bins that have values less than meanCleanCutMinFactor times the ma...
Definition: eclBhabhaTAlgorithm.h:53