12#include <ecl/geometry/ECLNeighbours.h>
15#include <calibration/CalibrationAlgorithm.h>
Base class for calibration algorithms.
EResult
The result of calibration.
Class to get the neighbours for a given cell id.
Calibrate ecl crystals using Bhabha events.
void setlastLoThetaID(int lastLoThetaID)
Setter for m_lastLoThetaID.
int m_minEntries
all crystals to be calibrated must have this many entries
double m_fracHiASym
or fracHiASym*peak, at low values of thetaID
void setMinEntries(int minEntries)
Setter for m_minEntries.
eclee5x5Algorithm()
..Constructor
double getnsigHiSym()
Getter for m_nsigHiSym.
void setOutputName(const std::string &outputName)
Setter for m_outputName.
double getnsigLo()
Getter for m_nsigLo.
double getnsigHiASym()
Getter for m_nsigHiASym.
double m_fracLo
start dPhi fit where data is > fraclo*peak
double m_nsigHiASym
or mean+nsigHiASym*sigma at low thetaID
double getfracLo()
Getter for m_fracLo.
double m_nsigLo
dPhi region is mean - nsigLo*sigma
void setnsigHiSym(double nsigHiSym)
Setter for m_nsigHiSym.
std::string getOutputName()
Getter for m_outputName.
double getfracHiSym()
Getter for m_fracHiSym.
void setfracLo(double fracLo)
Setter for m_fracLo.
std::string m_payloadName
Name of the payload to be stored.
virtual ~eclee5x5Algorithm()
..Destructor
bool getStoreConst()
Getter for m_storeConst.
ECL::ECLNeighbours * m_eclNeighbours5x5
Neighbours, used to get nCrys per ring.
double getfracHiASym()
Getter for m_fracHiASym.
void setnsigHiASym(double nsigHiASym)
Setter for m_nsigHiASym.
void setfracHiASym(double fracHiASym)
Setter for m_fracHiASym.
void setPayloadName(const std::string &payloadname)
Setter for m_payloadName.
std::string m_outputName
..Parameters to control job to find energy calibration using Bhabhas
bool m_storeConst
write payload to localdb if true
int m_lastLoThetaID
use asymmetric dPhi range for thetaID<= this value
void setfracHiSym(double fracHiSym)
Setter for m_fracHiSym.
void setnsigLo(double nsigLo)
Setter for m_nsigLo.
std::string getPayloadName()
Getter for m_payloadname.
virtual EResult calibrate() override
..Run algorithm on events
double m_fracHiSym
end dPhi fit where data is > fracHiSym*peak
int getlastLoThetaID()
Getter for m_lastLoThetaID.
double m_nsigHiSym
to mean + nsigHiSym*sigma
void setStoreConst(bool storeConst)
Setter for m_storeConst.
int getMinEntries()
Getter for m_minEntries.
Abstract base class for different kinds of events.