60 likes | 135 Views
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)
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