 |
Belle II Software
release-05-02-19
|
16 #include <framework/datastore/RelationsObject.h>
17 #include <ecl/dataobjects/ECLDsp.h>
33 c_IsEnergyCalibrated = 1 << 0,
34 c_IsTimeCalibrated = 1 << 1,
35 c_IsTimeResolutionCalibrated = 1 << 2,
36 c_IsFailedFit = 1 << 3,
37 c_IsFailedTimeResolution = 1 << 4,
38 c_IsCalibrated = c_IsEnergyCalibrated | c_IsTimeCalibrated | c_IsTimeResolutionCalibrated,
88 unsigned int index = FitTypeIn ;
152 unsigned int index = FitTypeIn ;
251 return hasStatus(c_IsTimeResolutionCalibrated);
263 return hasStatus(c_IsFailedTimeResolution);
void setTime(double Time)
Set Calibrated Time.
double m_TwoComponentTotalEnergy
Calibrated Two Component Total Energy.
double getEnergy() const
Get Calibrated Energy.
void setTwoComponentHadronEnergy(double Energy)
Set two component hadron energy.
double getTwoComponentChi2() const
Get two componnent chi2.
bool isTimeResolutionFailed() const
Get Boolean time resolution failed status.
double m_TwoComponentChi2
Two Component chi2.
Class to store calibrated ECLDigits: ECLCalDigits.
TwoComponentFitType
Offline two component fit type.
double m_Energy
Calibrated Energy.
int getCellId() const
Get Cell ID.
bool hasStatus(unsigned short int bitmask) const
Get Calibration Status.
void setTwoComponentDiodeEnergy(double Energy)
Set two component diode energy.
bool isCalibrated() const
Get Boolean Calibration Status.
bool isEnergyCalibrated() const
Get Boolean Energy Calibration Status.
ClassDef(ECLCalDigit, 6)
ClassDef.
unsigned short int m_Status
Calibration and Fit Status.
double m_TwoComponentHadronEnergy
Calibrated Hadron Component 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 getTimeResolution() const
Get Calibrated Time Resolution.
ECLDsp::TwoComponentFitType m_TwoComponentFitType
offline fit hypothesis.
void setTimeResolution(double TimeResolution)
Set Calibrated Time Resolution.
ECLCalDigit()
default constructor for ROOT
@ poorChi2
All offline fit attempts were greater than chi2 threshold.
void setTwoComponentChi2(double chi)
Set two component chi2.
void setStatus(unsigned short int status)
Set Calibration Status (overwrites previously set bits)
double getTime() const
Get Calibrated Time.
double m_TimeResolution
Calibrated Time resolution.
Abstract base class for different kinds of events.
double getTwoComponentHadronEnergy() const
Get Two Component calibrated hadron component Energy.
double m_TwoComponentSavedChi2[3]
Two comp chi2 for each fit tried in reconstruction.
void setEnergy(double Energy)
Set Calibrated Energy.
void setTwoComponentFitType(ECLDsp::TwoComponentFitType ft)
Set two component fit type.
bool isFailedFit() const
Get Boolean Fit Failed Status.
double m_TwoComponentDiodeEnergy
Calibrated Diode Component Energy.
void addStatus(unsigned short int bitmask)
Add Calibration Status.
double m_Time
Calibrated Time.
void setTwoComponentTotalEnergy(double Energy)
Set two component total energy.
StatusBit
status enumerator
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
double getTwoComponentTotalEnergy() const
Get Two Component calibrated Total Energy.
void removeStatus(unsigned short int bitmask)
Remove Calibration Status.
bool isTimeCalibrated() const
Get Boolean Time Calibration Status.
double getTwoComponentDiodeEnergy() const
Get Two Component calibrated diode component Energy.
ECLDsp::TwoComponentFitType getTwoComponentFitType() const
Get two componnent fit type.
void setCellId(int CellId)
Set Cell ID.
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...
bool isTimeResolutionCalibrated() const
Get Boolean Time Resolution Calibration Status.