For my masters project I've added the software required for the addition of Scintillating detectors to Allpix Squared. I've added a short presentation which summarizes the changes to the software.
For now, a single scintillator material (CeBr3) is implemented and tested. The quantum efficiency of a photocathode is implemented, and a very simple implementation of the gain-stages of a PMT is also available.
The implementation of the optical properties of the scintillator is a bit chaotic since Geant4 requires a manual input for all properties. A new way to store these optical properties will have to be found to keep the code clean.