]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSMeanVertexer.cxx
Checking RecoParam before creating the ITSdebug.root file (A. Dainese)
[u/mrichter/AliRoot.git] / ITS / AliITSMeanVertexer.cxx
index 157bb2aa076aa10d012f385c6d4cac0082cfdcc7..b4ccaab9378e70e6bb2688807acda76f377f26a6 100644 (file)
@@ -68,8 +68,12 @@ fFilterOnTracklets(0)
   fVertexXY = new TH2F("VertexXY","Vertex Diamond (Y vs X)",
                       2*(Int_t)(xLimit/xDelta),-xLimit,xLimit,
                       2*(Int_t)(yLimit/yDelta),-yLimit,yLimit);
+  fVertexXY->SetXTitle("X , cm");
+  fVertexXY->SetYTitle("Y , cm");
+  fVertexXY->SetOption("colz");
   fVertexZ  = new TH1F("VertexZ"," Longitudinal Vertex Profile",
                       2*(Int_t)(zLimit/zDelta),-zLimit,zLimit);
+  fVertexZ->SetXTitle("Z , cm");
 }
 
 //______________________________________________________________________
@@ -129,6 +133,8 @@ Bool_t AliITSMeanVertexer::Reconstruct(AliRawReader *rawReader, Bool_t mode){
   else {
   // Run standard vertexer3d
     AliITSVertexer3D *vertexer2 = new AliITSVertexer3D();
+    vertexer2->SetDetTypeRec(fDetTypeRec);
+    vertexer2->SetComputeMultiplicity(kTRUE);
     vtx = vertexer2->FindVertexForCurrentEvent(clustersTree);
     AliMultiplicity *mult = vertexer2->GetMultiplicity();
     delete vertexer2;