10#include <klm/dataobjects/KLMDigit.h>
13#include <framework/logging/Logger.h>
113 B2FATAL(
"Function isPhiReadout() is called for EKLM digit.");
EAppendStatus
Enum for return state of addBGDigit function.
@ c_DontAppend
do not append BG digit to digits
@ c_Append
append BG digit to digits
void setMCTime(float time)
Set MC time.
uint16_t m_Charge
Charge (integral of ADC signal).
void setNGeneratedPhotoelectrons(int nPhotoelectrons)
Set generated number of photoelectrons.
int getSubdetector() const
Get subdetector number.
EAppendStatus addBGDigit(const DigitBase *bg) override
The pile-up method.
int m_NGeneratedPhotoelectrons
Generated number of photoelectrons (MC only).
int getLayer() const
Get layer number.
uint16_t m_TDC
TDC (time provided by ASIC).
float m_Time
Time of the hit.
bool isGood() const
Whether hit could be used late (if it passed discriminator threshold)
float getTime() const
Get hit time.
int getNGeneratedPhotoelectrons() const
Get generated number of photoelectrons.
float m_SiPMMCTime
MC time at SiPM.
int m_Section
Number of section.
int getSection() const
Get section number.
int getPlane() const
Get plane number.
const KLMElementNumbers * m_ElementNumbers
Element numbers.
int getStrip() const
Get strip number.
float m_EnergyDeposit
Energy deposition.
void setEnergyDeposit(float eDep)
Set energy deposit.
int getSector() const
Get sector number.
bool isPhiReadout() const
Whether BKLM digit is in phi or z plane.
unsigned int getUniqueChannelID() const override
Get unique channel identifier.
void setTime(float time)
Set hit time.
int m_Sector
Number of sector.
int m_LastStrip
Number of last strip (for multi-strip digits).
float getMCTime() const
Get MC time.
int m_Plane
Number of plane.
int m_FitStatus
Fit status.
float m_NPhotoelectrons
Number of photoelectrons.
int m_Layer
Number of layer.
int m_Subdetector
ROOT streamer.
uint16_t getCharge() const
Get charge.
float getEnergyDeposit() const
Get energy deposit.
uint16_t m_CTime
CTIME (time provided by B2TT).
void setCharge(uint16_t charge)
Set charge.
int m_Strip
Number of strip.
Abstract base class for different kinds of events.