Strip chart example.
#include <stdio.h>
void seism() {
TH1F *ht =
new TH1F(
"ht",
"The ROOT seism",10,0,10*bintime);
for (
Int_t i=1;i<2300;i++) {
if (i > 700) noise += signalval*
sin((i-700.)*6.28/30)*
exp((700.-i)/300.);
}
printf(
"Real Time = %8.3fs, Cpu Time = %8.3fs\n",sw.
RealTime(),sw.
CpuTime());
}
- Author
- Rene Brun
Definition in file seism.C.