12#include <calibration/CalibrationAlgorithm.h>
Base class for calibration algorithms.
EResult
The result of calibration.
Calibrate ecl crystals using muon pair events.
double tRatioMin
entries/peak at low edge of fit must be greater than this
int poorFit
low chi square; fit not usable
int iterations
fit reached max number of iterations, but is usable
int noLowerEdge
could not determine lower edge of fit
int storeConst
controls which values are written to the database.
bool performFits
if false, input histograms are copied to output, but no fits are done.
int cellIDHi
Last cellID to be fit.
double lowerEdgeThresh
Lower edge is where the fit = lowerEdgeThresh * peak value.
int cellIDLo
..Parameters to control Novosibirsk fit to energy deposited in each crystal by mu+mu- events
bool findExpValues
if true, fits are used to find expected energy deposit for each crystal instead of the calibration co...
int minEntries
All crystals to be fit must have at least minEntries events in the fit range.
eclMuMuEAlgorithm()
..Constructor
int notFit
no fit performed
int nToRebin
If fewer entries than this, rebin and fix eta parameter.
virtual EResult calibrate() override
..Run algorithm on events
virtual ~eclMuMuEAlgorithm()
..Destructor
int atLimit
a parameter is at the limit; fit not usable
double tRatioMax
entries/peak at high edge of fit must be greater than this
Abstract base class for different kinds of events.