//////////////////////////////////////////////////////////////////////////////////////////////// // // Here we define the functions which will give a random coordinate pair (x,y) in the ground // for every photon and another function which will give a random arrival time inside a time // window for each arriving photon. // // Mireia Dosil 24-II-99 IFAE //////////////////////////////////////////////////////////////////////////////////////////////// #include "photon.hxx" // Constructor function. photon::photon(){ u=-999.; v=-999.; lambda_nm=-999.; starnum=-999; arrtime_sec=0.0; x_m=0.0; y_m=0.0; }