#ifndef ROOT_THaVertexModule
#define ROOT_THaVertexModule

//////////////////////////////////////////////////////////////////////////
//
// THaVertexModule
//
//////////////////////////////////////////////////////////////////////////

#include "TVector3.h"

struct RVarDef;

class THaVertexModule {
  
public:
  virtual ~THaVertexModule();
  
  virtual const TVector3&   GetVertex()      const { return fVertex; }
  virtual const TVector3&   GetVertexError() const { return fVertexError; }
  virtual       Bool_t      HasVertex()      const { return fVertexOK; }
  virtual       void        VertexClear();
  static  const RVarDef*    GetRVarDef();

protected:

  TVector3  fVertex;      // Vertex position (m) 
  TVector3  fVertexError; // Uncertainties in fVertex coordinates
  Bool_t    fVertexOK;

  THaVertexModule();

  ClassDef(THaVertexModule,0)   //ABC for a vertex module

};

#endif

Last change: Sat Nov 7 21:26:56 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.