For point 3) I tried according to your suggestion but I got the error
message:
*** Break *** segmentation violation
IOT trap
======================= My code was
#include <stdio.h>
#include <math.h>
#include "TROOT.h"
#include "TFile.h"
#include "TTree.h"
#include "TBranch.h"
#include "TObject.h"
#include "TH1.h"
#include "TCanvas.h"
#include "TApplication.h"
Int_t main()
{
TROOT ytrack("plot2","plot test");
TApplication theApp("App", 0, 0);
TCanvas *c1 = new TCanvas("c1","Tracking of Incident Particle",
200,10,700,500);
// c1->Modified();
c1->Update();
theApp.Run();
return 0;
}
--- Thanks a lot! Jayoung