// Connect the Root Galice file containing Geometry, Kine and Hits
TFile *file = (TFile*)gROOT->GetListOfFiles()->FindObject("galice.root");
- if (!file) file = new TFile("production.root","UPDATE");
+ if (!file) file = new TFile("~/w0/START/galice.root","UPDATE");
// Get AliRun object from file or create it if not on file
if (!gAlice) {
}
char nameTD[8],nameTR[8];
- TH1F *hVertex = new TH1F("hVertex","Z position of vertex",100,-350,350);
- TH1F *hRealVertex = new TH1F("hRealVertex","Z position of vertex",100,-350,350);
+ TH1F *hVertex = new TH1F("hVertex","Z position of vertex",100,-100,100);
+ TH1F *hRealVertex = new TH1F("hRealVertex","Z position of vertex",
+ 100,-100,100);
digits = new AliSTARTdigit();
vertex = new AliSTARTvertex();
hRealVertex->Fill(zRealVertex);
}
- Hfile = new TFile("figs.root","UPDATE","Histograms for START Vertex");
+ Hfile = new TFile("figs.root","RECREATE","Histograms for START Vertex");
printf("Writting histograms to root file \n");
Hfile->cd();