9/29/2009

timer in c++

include ctime, iostream, iomanip
using namespace std;
int main()
{

time_t tstart, tend;

tstart = time(0);
//your scripts
//
//end
tend = time(0);
then output the result of difftime(tend, tstart)

}


* the colored lines means it is not the standard c++ format because of the editor of the google blog

9/24/2009

Idea about the current research 09/24/2009

1 Apply correction of time when
  1. r>1200 m, which means large tank distance
  2. delta t smaller than 25 but larger than 0, which means it arrives early but not so early.

2 The correlation formula is
t new=residual-(240-1st_peak_bin)*25;

3 do take a look at the wave forms of which the first peak arrives early, to see if there is anything unusual

4 do think about how much chance we can see the second wave front.

Maybe it is buried in the signal, try to select them from the common ones, like only the stations
with two or more peaks are selected? try that.

mathematica: plot multiple functions


Plot[Table[n*x, {n, 4}], {x, 0, 10}]

9/18/2009

task 09/18/2009

1 look at the distribution of time bins before the major one at 240

2 try to differenciate the major good ones and the bad ones before, do a separate plot for each of them.

9/17/2009

task 09/17/2009

1 check the time bins of the plot, to make the resolution higher, to see if there is cut on the time bins

2 correct the time residual with the time of the first peak, to see if you can eliminate the plane time curve

9/14/2009

task 09/15/2009

Make a scatter plot of (r,t)
where r is the distance of the station and t is the time bin of the first peak/largest peak.

This is used to see if the station far away from the core(large r) has bigger time residual or not.

9/13/2009

task 09/13/2009

add the vem peak time to the time residual plot

9/09/2009

SP

SP is short for Shower Plane, which is the plane perpendicular to the Hy axis