]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adapted to the suggestions made by R. Brun
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2001 14:31:16 +0000 (14:31 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2001 14:31:16 +0000 (14:31 +0000)
ITS/AliITSVertex.cxx
ITS/AliITSVertex.h
ITS/VertexMacro.C

index 71f38d717640e43267d903787a1efb7edae1e85a..d25666537a88b13c139575959cce7211d15dea63 100644 (file)
@@ -122,9 +122,9 @@ void AliITSVertex::Exec(){
    
    if(hITSz1->GetMean()<0) Vzero[2] = -Vzero[2];
    
-   cout << "\nXvzero: " << Vzero[0] << " cm" << "";
+   /*cout << "\nXvzero: " << Vzero[0] << " cm" << "";
    cout << "\nYvzero: " << Vzero[1] << " cm" << "";
-   cout << "\nZvzero: " << Vzero[2] << " cm" << "\n";
+   cout << "\nZvzero: " << Vzero[2] << " cm" << "\n";*/
 
    delete hITSz1;
 
@@ -228,7 +228,7 @@ void AliITSVertex::Exec(){
 
 //------------------ Correlation between rec points ----------------------
     
-   cout << "\nNo. of Points on the two pixel layers: "<<np1<<" "<<np2<<endl; 
+   //cout << "\nNo. of Points on the two pixel layers: "<<np1<<" "<<np2<<endl; 
 
    for(j=0; j<(np2)-1; j++) {
          for(k=0; k<(np1)-1; k++) { 
@@ -259,13 +259,13 @@ void AliITSVertex::Exec(){
       }
    }
    
-   cout << "f1 " <<f1 <<endl;
+   /*cout << "f1 " <<f1 <<endl;
    cout << "f2 " <<f2 <<endl;
    cout << "GetMaximumBin " <<hITSZv->GetMaximumBin() <<endl;
    cout << "nbin " <<nbin <<endl;
    cout << "max " << hITSZv->GetBinContent(BinMax)<<endl;
    cout << "sigma " <<sigma <<endl;
-   cout << "Fondo " <<   MediaFondo<< endl;
+   cout << "Fondo " <<   MediaFondo<< endl;*/
    
    TF1 *fz = new TF1 ("fz","([0]*exp(-0.5*((x-[1])/[2])*((x-[1])/[2])))+[3]",a,b);  
    
index a8376848f6ffd60a4750516ecc89e117a0f29395..159ad0723c18c5d6bc2a24374fe22dc0b6430779 100644 (file)
@@ -17,7 +17,7 @@ class AliITSVertex : public TObject  {
  
         AliITSVertex();
         virtual ~AliITSVertex();
-       void Exec();
+                 void Exec();
         Double_t PhiFunc(Float_t p[]);
 
 //      This class determines 3D vertex position, resolution and signal 
index f6549faff8a3ebc977166aedef7d72edebb31cff..d58901f621c95505de9bef15598d0653bc2c7585 100644 (file)
@@ -44,6 +44,7 @@ void VertexMacro(Int_t evNumber1=0,Int_t evNumber2=0) {
      timer.Start();
 
      AliITSVertex *V = new AliITSVertex();
+         V->Exec();
 
      timer.Stop();
      timer.Print();