11#include <framework/datastore/RelationsObject.h>
12#include <ecl/dataobjects/ECLDsp.h>
27 c_IsEnergyCalibrated = 1 << 0,
28 c_IsTimeCalibrated = 1 << 1,
29 c_IsTimeResolutionCalibrated = 1 << 2,
30 c_IsFailedFit = 1 << 3,
31 c_IsFailedTimeResolution = 1 << 4,
32 c_IsCalibrated = c_IsEnergyCalibrated | c_IsTimeCalibrated | c_IsTimeResolutionCalibrated,
34 c_OnlineFitQuality1 = 1 << 5,
35 c_OnlineFitQuality2 = 1 << 6,
36 c_OnlineFitQuality3 = 1 << 7,
37 c_OnlineFitQuality0 = 1 << 8,
87 unsigned int index = FitTypeIn;
151 unsigned int index = FitTypeIn;
269 return hasStatus(c_IsTimeResolutionCalibrated);
281 return hasStatus(c_IsFailedTimeResolution);
Class to store calibrated ECLDigits: ECLCalDigits.
ECLDsp::TwoComponentFitType m_TwoComponentFitType
offline fit hypothesis.
StatusBit
status enumerator
void setTwoComponentChi2(double chi)
Set two component chi2.
double m_TwoComponentChi2
Two Component chi2.
int getCellId() const
Get Cell ID.
double m_Energy
Calibrated Energy.
void setTimeResolution(double TimeResolution)
Set Calibrated Time Resolution.
void setEnergy(double Energy)
Set Calibrated Energy.
double m_TimeResolution
Calibrated Time resolution.
double m_TwoComponentHadronEnergy
Calibrated Hadron Component Energy.
void addStatus(unsigned short int bitmask)
Add Calibration Status.
double m_TwoComponentDiodeEnergy
Calibrated Diode Component Energy.
double getTwoComponentDiodeEnergy() const
Get Two Component calibrated diode component Energy.
void setTwoComponentDiodeEnergy(double Energy)
Set two component diode energy.
ClassDef(ECLCalDigit, 7)
ClassDef.
void setCellId(int CellId)
Set Cell ID.
double getEnergy() const
Get Calibrated Energy.
bool hasStatus(unsigned short int bitmask) const
Get Calibration Status.
double m_TwoComponentTotalEnergy
Calibrated Two Component Total Energy.
void setTwoComponentSavedChi2(ECLDsp::TwoComponentFitType FitTypeIn, double input)
Set two comp chi2 for a fit type see enum TwoComponentFitType in ECLDsp.h for description of fit type...
double getTwoComponentSavedChi2(ECLDsp::TwoComponentFitType FitTypeIn) const
get two comp chi2 for a fit type see enum TwoComponentFitType in ECLDsp.h for description of fit type...
void setTwoComponentFitType(ECLDsp::TwoComponentFitType ft)
Set two component fit type.
void removeStatus(unsigned short int bitmask)
Remove Calibration Status.
unsigned short int m_Status
Calibration and Fit Status.
double m_Time
Calibrated Time.
ECLCalDigit()
default constructor for ROOT
void setTwoComponentHadronEnergy(double Energy)
Set two component hadron energy.
double getTwoComponentChi2() const
Get two component chi2.
double getTwoComponentHadronEnergy() const
Get Two Component calibrated hadron component Energy.
void setTwoComponentTotalEnergy(double Energy)
Set two component total energy.
void setStatus(unsigned short int status)
Set Calibration Status (overwrites previously set bits)
void setTime(double Time)
Set Calibrated Time.
double getTwoComponentTotalEnergy() const
Get Two Component calibrated Total Energy.
double getTimeResolution() const
Get Calibrated Time Resolution.
ECLDsp::TwoComponentFitType getTwoComponentFitType() const
Get two component fit type.
double getTime() const
Get Calibrated Time.
double m_TwoComponentSavedChi2[3]
Two comp chi2 for each fit tried in reconstruction.
TwoComponentFitType
Offline two component fit type.
@ poorChi2
All offline fit attempts were greater than chi2 threshold.
Defines interface for accessing relations of objects in StoreArray.
bool isTimeResolutionFailed() const
Get Boolean time resolution failed status.
bool isEnergyCalibrated() const
Get Boolean Energy Calibration Status.
bool isOnlineFitQuality1() const
Get Boolean online fit quality 1.
bool isOnlineFitQuality0() const
Get Boolean online fit quality 0.
bool isTimeResolutionCalibrated() const
Get Boolean Time Resolution Calibration Status.
bool isOnlineFitQuality2() const
Get Boolean online fit quality 2.
bool isCalibrated() const
Get Boolean Calibration Status.
bool isOnlineFitQuality3() const
Get Boolean online fit quality 3.
bool isTimeCalibrated() const
Get Boolean Time Calibration Status.
bool isFailedFit() const
Get Boolean Fit Failed Status.
Abstract base class for different kinds of events.