]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARTvertex.h
All cross-sections in mb.
[u/mrichter/AliRoot.git] / START / AliSTARTvertex.h
index eea93d296c5f1e1290fffa2957ebd2c25736251e..16b0ff942d38dd55659c9b79b3e01e4168ae9901 100644 (file)
@@ -4,27 +4,28 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
-#include "AliSTART.h"
+
+
+
+#include <AliESD.h>
 
 //___________________________________________
 class AliSTARTvertex   : public TObject {
 
 
 ////////////////////////////////////////////////////////////////////////
- private:
-  Int_t fZposition;        // Z position of vertex
-
  public:
-    AliSTARTvertex() {}
-    AliSTARTvertex(Int_t *);
-    void Reconstruct();
-    Int_t GetVertex();
-    virtual ~AliSTARTvertex() {}
-    void Set(Int_t);
+  AliSTARTvertex():TObject(),fZposition(0) {}
+  virtual ~AliSTARTvertex() {}
+
+  void Reconstruct(AliRunLoader* runLoader, AliESD *pESD);
+
+  Float_t GetVertex() const {return fZposition;}
+  void SetVertex(Float_t zPosition) {fZposition=zPosition;}
+
+ private:
+    Float_t fZposition;        // Z position of vertex (mm)
 
     ClassDef(AliSTARTvertex,1)  //Reconstructive vertex (Header) object 
 };
-inline Int_t AliSTARTvertex::GetVertex(){return fZposition;}
-inline void AliSTARTvertex::Set(Int_t Z_position)
-  {fZposition=Z_position;}
 #endif