60 likes | 138 Views
A minimal interface principle for optical modules and tracks, offering easy-to-use and understand functionalities for local photonics simulations in C++ and Fortran. Compile programs, access shared libraries, and use ROOT interactive scripts in C. Features mean amplitudes, hit probabilities, and time delays for accurate simulations. Planned Neural Net integration. Troubleshoot PTD issues, with internal data structures orientation support. Make use of PutOM, PutTrack, GetMeanAmplitude, GetHitTimeDelay functions, and more. Explore Stephan's Cowboy Test and potential further implementations.
E N D
Principle Minimal interface Easy to use and understand Uniform access Easy to switch between different photon simulations Usability Shared library Compiled C++ programs Fortran interface AMASIM (also works for C) Root dictionary ROOT interactive or scripts (+RALICE) Implementations Local photonics working fine TCP/IP photonics tested but not finished Neural Net photonics planned PTD problems compiling, need help
Internal data Optical Modules x,y,z,orientation(?) Tracks type, E, x, y, z, f, j, length Mean Amplitudes om, track, Value in number of photo electrons Hits om, track Time delay and probability Required functions for implementations MakeMeanAmplitudes Called when accessing a mean amplitude if tracks or OMs have changed MakeTimeDelays & MakeHitProbabilities Called when accessing hit time delay or probability when hits, tracks or OMs has changed
Usage PutOM Add a detector PutTrack Add a particle track GetMeanAmplitude Get mean amplitude in detector from track. Has to be corrected for area and efficiency. PutHit Add a hit in a detector from a track GetHitTimeDelay Return hit time delay in ns, usually relative to Cerenkov arrival time (needs a random number) GetHitProbabilityReturn hit probability (needs a time delay)
Outlook More implementations TCP/IP (Instead of scatserver) NN photonics PTD? Use the interface IceTray – Integrated by John P RALICE - Integrated by Adam B AMASIM – Not yet Speed? Use smarter data representation Reduce iterations Check the web page http://www.physto.se/~burgess/icecube/PSInterface