]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/VertexMacro.C
New version including the full 3D vertex finder
[u/mrichter/AliRoot.git] / ITS / VertexMacro.C
index cb4574bfa9602325b7595bcaf403fde4f57d8fcf..f6549faff8a3ebc977166aedef7d72edebb31cff 100644 (file)
@@ -1,4 +1,5 @@
 #include "iostream.h"
+#include "TMath.h"
 
 void VertexMacro(Int_t evNumber1=0,Int_t evNumber2=0) {
 
@@ -42,25 +43,24 @@ void VertexMacro(Int_t evNumber1=0,Int_t evNumber2=0) {
      TStopwatch timer;
      timer.Start();
 
-     AliITSVertex *V = new AliITSVertex();;
+     AliITSVertex *V = new AliITSVertex();
 
      timer.Stop();
      timer.Print();
 
-     cout << endl << "Zv = " << V->GetZv() << " cm" << endl;
-     cout << "ZRes = " << V->GetZRes()*10000 << " microns" << endl;
-     cout << "ZSNR = " << V->GetZSNR() <<endl;
-     cout << endl << "Yv = " << V->GetYv() << " cm"  << endl;
-     cout << "YRes = " << V->GetYRes()*10000 << " microns"  << endl;
-     cout << "YSNR = " << V->GetYSNR() << endl;
      cout << endl << "Xv = " << V->GetXv() << " cm" << endl;
-     cout << "XRes = " << V->GetXRes()*10000 << " microns"  << endl;
-     cout << "XSNR = " << V->GetXSNR() << endl;
-  
+     cout << "X resolution = " << V->GetXRes()*10000 << " microns"  << endl;
+     cout << "Signal/Noise for X = " << V->GetXSNR() << endl;
+     cout << endl << "Yv = " << V->GetYv() << " cm"  << endl;
+     cout << "Y resolution = " << V->GetYRes()*10000 << " microns"  << endl;
+     cout << "Signal/Noise for Y = " << V->GetYSNR() << endl;
+     cout << endl << "Zv = " << V->GetZv() << " cm" << endl;
+     cout << "Z Resolution = " << V->GetZRes()*10000 << " microns" << endl;
+     cout << "Signal/Noise for Z = " << V->GetZSNR() <<endl;
+                
      delete V;
-   
   } 
   
-  file->Close();  
+  file->Close(); 
 }