12#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
13#include <klm/dataobjects/KLMElementNumbers.h>
14#include <klm/dataobjects/KLMScintillatorFirmwareFitResult.h>
15#include <klm/dataobjects/KLMSimHit.h>
18#include <framework/dataobjects/DigitBase.h>
350 return m_FitStatus == KLM::c_ScintillatorFirmwareSuccessfulFit;
@ c_FirstRPCLayer
First RPC layer.
A common base for subdetector Digits.
EAppendStatus
Enum for return state of addBGDigit function.
KLM digit (class representing a digitized hit in RPCs or scintillators).
void setMCTime(float time)
Set MC time.
float getSiPMMCTime() const
Get SiPM MC time.
uint16_t m_Charge
Charge (integral of ADC signal).
bool inRPC() const
Determine whether the hit is in RPC or scintillator.
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.
void setLastStrip(int lastStrip)
Set last strip number (for multi-strip digits).
void setSiPMMCTime(float time)
Set SiPM MC time.
uint16_t m_TDC
TDC (time provided by ASIC).
void setSection(int section)
Set section number.
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.
uint16_t getCTime() const
Get CTIME.
uint16_t getTDC() const
Get TDC.
int getSection() const
Get section number.
int getPlane() const
Get plane number.
const KLMElementNumbers * m_ElementNumbers
Element numbers.
int getStrip() const
Get strip number.
ClassDefOverride(Belle2::KLMDigit, 1)
Class version.
float m_EnergyDeposit
Energy deposition.
void setEnergyDeposit(float eDep)
Set energy deposit.
bool isMultiStrip() const
Determine whether this digit is a multi-strip one or not.
void setCTime(uint16_t ctime)
Set CTIME.
void setNPhotoelectrons(float nPhotoelectrons)
Set number of photoelectrons.
int getSector() const
Get sector number.
int getFitStatus() const
Get fit status.
bool isPhiReadout() const
Whether BKLM digit is in phi or z plane.
unsigned int getUniqueChannelID() const override
Get unique channel identifier.
void setStrip(int strip)
Set strip number.
void setTime(float time)
Set hit time.
void setSubdetector(int subdetector)
Set subdetector number.
int m_Sector
Number of sector.
int getLastStrip() const
Get last strip number (for multi-strip digits).
int m_LastStrip
Number of last strip (for multi-strip digits).
float getMCTime() const
Get MC time.
int m_Plane
Number of plane.
void setSector(int sector)
Set sector number.
int m_FitStatus
Fit status.
float m_NPhotoelectrons
Number of photoelectrons.
int m_Layer
Number of layer.
int m_Subdetector
ROOT streamer.
void setTDC(uint16_t tdc)
Set TDC.
float getNPhotoelectrons() const
Get number of photoelectrons.
uint16_t getCharge() const
Get charge.
float getEnergyDeposit() const
Get energy deposit.
void setFitStatus(int s)
Set fit status.
uint16_t m_CTime
CTIME (time provided by B2TT).
void setCharge(uint16_t charge)
Set charge.
int m_Strip
Number of strip.
void setPlane(int plane)
Set plane number.
void setLayer(int layer)
Set layer number.
Abstract base class for different kinds of events.