 |
Belle II Software
release-05-02-19
|
14 #include <klm/dataobjects/eklm/EKLMSimHit.h>
15 #include <klm/dataobjects/bklm/BKLMElementNumbers.h>
16 #include <klm/dataobjects/bklm/BKLMSimHit.h>
17 #include <klm/dataobjects/KLMElementNumbers.h>
18 #include <klm/dataobjects/KLMScintillatorFirmwareFitResult.h>
21 #include <framework/dataobjects/DigitBase.h>
32 class KLMDigit :
public DigitBase {
359 return m_FitStatus == KLM::c_ScintillatorFirmwareSuccessfulFit;
int m_FitStatus
Fit status.
double charge(int pdgCode)
Returns electric charge of a particle with given pdg code.
int getSubdetector() const
Get subdetector number.
EAppendStatus
Enum for return state of addBGDigit function.
float m_SiPMMCTime
MC time at SiPM.
int getPlane() const
Get plane number.
void setMCTime(float time)
Set MC time.
bool inRPC() const
Determine whether the hit is in RPC or scintillator.
ClassDefOverride(Belle2::KLMDigit, 1)
Class version.
void setSiPMMCTime(float time)
Set SiPM MC time.
uint16_t getCTime() const
Get CTIME.
uint16_t m_Charge
Charge (integral of ADC signal).
void setSubdetector(int subdetector)
Set subdetector number.
void setNGeneratedPhotoelectrons(int nPhotoelectrons)
Set generated number of photoelectrons.
float getNPhotoelectrons() const
Get number of photoelectrons.
void setCharge(uint16_t charge)
Set charge.
const KLMElementNumbers * m_ElementNumbers
Element numbers.
void setStrip(int strip)
Set strip number.
int m_NGeneratedPhotoelectrons
Generated number of photoelectrons (MC only).
int m_Section
Number of section.
float m_Time
Time of the hit.
int getSection() const
Get section number.
int getSector() const
Get sector number.
float getTime() const
Get hit time.
int getLayer() const
Get layer number.
float getMCTime() const
Get MC time.
uint16_t getCharge() const
Get charge.
int m_Plane
Number of plane.
uint16_t m_CTime
CTIME (time provided by B2TT).
uint16_t getTDC() const
Get TDC.
KLM digit (class representing a digitized hit in RPCs or scintillators).
void setPlane(int plane)
Set plane number.
void setTime(float time)
Set hit time.
bool isPhiReadout() const
Whether BKLM digit is in phi or z plane.
int getNGeneratedPhotoelectrons() const
Get generated number of photoelectrons.
Class EKLMSimHit stores information on particular Geant step; using information from TrackID and Pare...
int getFitStatus() const
Get fit status.
uint16_t m_TDC
TDC (time provided by ASIC).
void setTDC(uint16_t tdc)
Set TDC.
int m_Subdetector
ROOT streamer.
void setEnergyDeposit(float eDep)
Set EnergyDeposit.
int m_Strip
Number of strip.
Abstract base class for different kinds of events.
void setSector(int sector)
Set sector number.
float getSiPMMCTime() const
Get SiPM MC time.
bool isMultiStrip() const
Determine whether this digit is a multi-strip one or not.
bool isGood() const
Whether hit could be used late (if it passed discriminator threshold)
float getEnergyDeposit() const
Get energy deposit.
int getLastStrip() const
Get last strip number (for multi-strip digits).
int m_Layer
Number of layer.
float m_NPhotoelectrons
Number of photoelectrons.
EAppendStatus addBGDigit(const DigitBase *bg) override
The pile-up method.
void setLastStrip(int lastStrip)
Set last strip number (for multi-strip digits).
void setNPhotoelectrons(float nPhotoelectrons)
Set number of photoelectrons.
void setFitStatus(int s)
Set fit status.
float m_EnergyDeposit
Energy deposition.
unsigned int getUniqueChannelID() const override
Get unique channel identifier.
virtual ~KLMDigit()
Destructor.
int getStrip() const
Get strip number.
Store one simulation hit as a ROOT object.
@ c_FirstRPCLayer
First RPC layer.
int m_LastStrip
Number of last strip (for multi-strip digits).
void setLayer(int layer)
Set layer number.
A common base for subdetector Digits.
void setSection(int section)
Set section number.
void setCTime(uint16_t ctime)
Set CTIME.
int m_Sector
Number of sector.