 |
Belle II Software
release-05-02-19
|
13 #include <reconstruction/dbobjects/CDCDedxCosineCor.h>
14 #include <calibration/CalibrationAlgorithm.h>
15 #include <framework/database/DBObjPtr.h>
27 class CDCDedxCosineAlgorithm :
public CalibrationAlgorithm {
double fdEdxMin
min dedx range for gain cal
virtual EResult calibrate() override
Cosine algorithm.
void setHistBins(int value=600)
function to set nbins of dedx dist calibration
void setMonitoringPlots(bool value=false)
function to make flag active for plotting
void setMethodSep(bool value=true)
function to make flag active for method of sep
int fHistbins
number of bins for dedx histogram
void setMergePayload(bool value=true)
function to decide merge vs relative gains
void generateNewPayloads(std::vector< double > cosine)
function to store new payload after full calibration
void setCosineBins(unsigned int value=100)
function to set number of cosine bins for calibration
void setCosineRange(double min=-1.0, double max=1.0)
function to set number of cosine bins for calibration
Class for accessing objects in the database.
int fStartRun
boundary start at this run
DBObjPtr< CDCDedxCosineCor > m_DBCosineCor
Electron saturation correction DB object.
bool isMergePayload
merge payload at the of calibration
double fSigLim
gaussian fit sigma limit
Abstract base class for different kinds of events.
bool isMakePlots
produce plots for status
void FitGaussianWRange(TH1D *&temphist, TString &status)
function to fit histogram in each cosine bin
unsigned int fCosbins
number of bins across cosine range
virtual ~CDCDedxCosineAlgorithm()
Destructor.
double fCosMax
max cosine angle for cal
double fdEdxMax
max dedx range for gain cal
EResult
The result of calibration.
void setHistRange(double min=0.0, double max=3.0)
function to set min/max range of dedx dist calibration
bool isMethodSep
if e+e- need to be consider sep
void setFitWidth(double value=2.5)
set sigma to restrict fir range around mean
CDCDedxCosineAlgorithm()
Constructor: Sets the description, the properties and the parameters of the algorithm.
double fCosMin
min cosine angle for cal