 |
Belle II Software
release-05-01-25
|
14 #include <vxd/dataobjects/VxdID.h>
16 #include <framework/dataobjects/DigitBase.h>
30 class PXDDigit :
public DigitBase {
39 PXDDigit(VxdID sensorID,
unsigned short uCellID,
unsigned short vCellID,
40 unsigned short charge):
60 id.setSegmentNumber(frame);
double charge(int pdgCode)
Returns electric charge of a particle with given pdg code.
EAppendStatus
Enum for return state of addBGDigit function.
Class to uniquely identify a any structure of the PXD and SVD.
PXDDigit(VxdID sensorID, unsigned short uCellID, unsigned short vCellID, unsigned short charge)
Useful Constructor.
unsigned short m_vCellID
Cell z coordinate in pitch units.
unsigned short m_uCellID
Cell r-phi coordinate in pitch units.
unsigned short getCharge() const
Get collected charge.
DigitBase::EAppendStatus addBGDigit(const DigitBase *bg) override
Implementation of the base class function.
unsigned short getUCellID() const
Get cell ID in u.
void setCharge(unsigned short charge)
Set digit charge.
VxdID getSensorID() const
Get the sensor ID.
@ c_DontAppend
do not append BG digit to digits
unsigned short m_sensorID
Compressed sensor identifier.
Abstract base class for different kinds of events.
void setSegmentNumber(baseType segment)
Set the sensor segment.
short int getFrameNumber() const
Get frame number of this digit.
PXDDigit()
Default constructor for the ROOT IO.
void setFrameNumber(unsigned short frame)
Set frame number of this digit.
unsigned short getVCellID() const
Get cell ID in v.
A common base for subdetector Digits.
unsigned short m_charge
Digitized charge in ADC units.
unsigned int getUniqueChannelID() const override
Implementation of the base class function.
baseType getSegmentNumber() const
Get the sensor segment.