 |
Belle II Software
release-05-02-19
|
13 #include <reconstruction/dbobjects/CDCDedxRunGain.h>
14 #include <calibration/CalibrationAlgorithm.h>
15 #include <framework/database/DBObjPtr.h>
27 class CDCDedxRunGainAlgorithm :
public CalibrationAlgorithm {
bool isMakePlots
produce plots for status
double fdEdxMin
min dedx range for gain cal
double fSigLim
fit range limit based on sigma
void setFitWidth(double value=2.5)
function to make flag active for plotting
double fAdjust
factor to adjust dedx gain
bool isMergePayload
merge payload at the of calibration
TString fsrun
flag to indentify low stats runs
CDCDedxRunGainAlgorithm()
Constructor: Sets the description, the properties and the parameters of the algorithm.
virtual EResult calibrate() override
Run algorithm.
int fdEdxBins
number of bins for dedx histogram
void setMonitoringPlots(bool value=false)
function to hand flag for monitoring plotting
Class for accessing objects in the database.
void setHistBins(int value=600)
function to set dedx hist bins
void generateNewPayloads(double RunGainConst, double ExistingRG)
function to store new payload after full calibration
void FitGaussianWRange(TH1D *&temphist, TString &status)
function to perform fit run by run
Abstract base class for different kinds of events.
void setMergePayload(bool value=true)
function to decide merged vs relative run-gains
virtual ~CDCDedxRunGainAlgorithm()
Destructor.
void setHistRange(double min=0.0, double max=3.0)
function to set dedx hist range
EResult
The result of calibration.
double fdEdxMax
max dedx range for gain cal
void setAdjustment(double value=1.0)
function to set dedx gain adjustment
DBObjPtr< CDCDedxRunGain > m_DBRunGain
Run gain DB object.