]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliV0vertexer.h
Additional protection
[u/mrichter/AliRoot.git] / ITS / AliV0vertexer.h
index 621bca75f811092f868ba9613e6ed9f912e44852..6ddf03aa14faa3963d6fe3d80e67ca45e91b4362 100644 (file)
@@ -5,7 +5,7 @@
 
 //------------------------------------------------------------------
 //                    V0 Vertexer Class
-//
+//            reads tracks writes out V0 vertices
 //   Origin: Iouri Belikov, IReS, Strasbourg, Jouri.Belikov@cern.ch 
 //------------------------------------------------------------------
 
@@ -13,6 +13,7 @@
 
 class TTree;
 class AliITStrackV2;
+class AliESD;
 
 //_____________________________________________________________________________
 class AliV0vertexer : public TObject {
@@ -22,11 +23,13 @@ public:
   void SetCuts(const Double_t cuts[7]);
   void SetVertex(Double_t *vtx) { fX=vtx[0]; fY=vtx[1]; fZ=vtx[2]; }
 
+  Int_t Tracks2V0vertices(AliESD *event);
+
   Int_t Tracks2V0vertices(TTree *in, TTree *out);
-  Double_t PropagateToDCA(AliITStrackV2 *nt, AliITStrackV2 *pt);
+  Double_t PropagateToDCA(AliITStrackV2 *nt, AliITStrackV2 *pt) const;
 
   void GetCuts(Double_t cuts[7]) const;
-  void GetVertex(Double_t *vtx) { vtx[0]=fX; vtx[1]=fY; vtx[2]=fZ; }
+  void GetVertex(Double_t *vtx) const { vtx[0]=fX; vtx[1]=fY; vtx[2]=fZ; }
 
 private: