3.9. G4Sipm digi¶
A G4SipmDigi is created by the G4SipmDigitizer.
It stores the following properties:
G4SipmidG4SipmCellId- The time of the breakdown
- The weight, i.e. the gain of the cell at the breakdown whereas one equals to 1 p.e.
G4SipmDigiType, can be either UNDEFINED, THERMAL, PHOTON, CROSSTALK or AFTERPULSE
Please also refer to the Geant4 digitization documentation.
3.9.1. G4Sipm digi collection¶
Each G4SipmDigiCollection is uniquely identified by the G4SipmId.
Thus, given the id is zero:
g4sipmDigis-0
3.9.2. Source¶
-
enum
G4SipmDigiType¶ Enumeration signifying the cause of the cell trigger of the Sipm.
Values:
-
UNDEFINED¶
-
PHOTON¶
-
THERMAL¶
-
CROSSTALK¶
-
AFTERPULSE¶
-
-
class
G4SipmDigi¶ Geant4 Digi for the G4Sipm.
Signifies one cell trigger.
Inherits from G4VDigi
Public Functions
-
G4SipmDigi()¶ Constructor.
-
G4SipmDigi(const G4SipmDigi &right)¶ Copy constructor.
-
G4SipmId
getSipmId() const¶ - Return
- G4SipmId - the SiPM id.
-
void
setSipmId(G4SipmId sipmId)¶ - Parameters
sipmId: - the SiPM id to set.
-
G4SipmCellId
getCellId() const¶ - Return
- G4SipmCellId - the cell id.
-
void
setCellId(G4SipmCellId cellId)¶ - Parameters
cellId: - the cellId to set.
-
double
getTime() const¶ - Return
- double - the global time of the trigger.
-
void
setTime(double time)¶ - Parameters
time: - the time to set.
-
G4SipmDigiType
getType() const¶ - Return
- G4SipmDigiType - the type of the trigger.
-
void
setType(G4SipmDigiType type)¶ - Parameters
type: - the type of the trigger.
-
double
getWeight() const¶ - Return
- double - the weight of the trigger which is identical to the gain of the cell.
-
void
setWeight(double weight)¶ - Parameters
weight: - the weight of the trigger.
-