Open dguff opened 1 year ago
I have the core classes of the code. The problem I have is that I don't know how to add these. Perhaps, if an interface were created that accessed the optical detectors on which to perform the projection calculation and photons at emission were given, then I could simply add these functions. Or guidance on where to add the functions. I have the classes for the geometric projection on a square plane, and the time model that samples a propagation time.
Hi @njlane314, indeed you can access the placements of each element of the photo-detector system via the analysis manager.
SLArAnalysisManger::Instance()->GetPDSCfg();
will return you a pointer to a specialization of SLArCfgBaseSystem
from which you can access the properties of the PDS elements
Hi @njlane314, I have introduced in the main branch a new "ParticleBomb" generator action as you noticed in #25. The relevant macro file is in assets/macros/photon_bomb.mac
. Let me know if this does the job or if you need some other feature.
Integrate the semi-analytical model for the fast simulation of light propagation.