Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVertexModule.h
Go to the documentation of this file.
1#ifndef Podd_THaVertexModule_h_
2#define Podd_THaVertexModule_h_
3
5//
6// THaVertexModule
7//
9
10#include "TVector3.h"
11
12struct RVarDef;
13
15
16public:
17 virtual ~THaVertexModule() = default;
18
19 virtual const TVector3& GetVertex() const { return fVertex; }
20 virtual const TVector3& GetVertexError() const { return fVertexError; }
21 virtual Bool_t HasVertex() const { return fVertexOK; }
22 virtual void VertexClear();
23 static const RVarDef* GetRVarDef();
24
25protected:
26
27 TVector3 fVertex; // Vertex position (m)
28 TVector3 fVertexError; // Uncertainties in fVertex coordinates
30
32
33 ClassDef(THaVertexModule,1) //ABC for a vertex module
34
35};
36
37#endif
bool Bool_t
#define ClassDef(name, id)
virtual Bool_t HasVertex() const
virtual const TVector3 & GetVertex() const
virtual ~THaVertexModule()=default
virtual void VertexClear()
static const RVarDef * GetRVarDef()
virtual const TVector3 & GetVertexError() const