Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVertexModule.cxx
Go to the documentation of this file.
1//*-- Author : Ole Hansen 17-Mar-03
2
4//
5// THaVertexModule
6//
7// Base class for a "vertex" processing module, which is a
8// specialized physics module.
9//
11
12#include "THaVertexModule.h"
13#include "VarDef.h"
14#include "DataType.h" // for kBig
15
16using namespace std;
17
18//_____________________________________________________________________________
20{
21 // Normal constructor.
22
23}
24
25//_____________________________________________________________________________
27{
28 // Reset vertex object
29
31 fVertexError.SetXYZ(1.0,1.0,1.0);
32 fVertexOK = false;
33}
34
35//_____________________________________________________________________________
37{
38 // Return definition block of global variables for this object
39
40 static const RVarDef vars[] = {
41 { "x", "vertex x-position", "fVertex.fX" },
42 { "y", "vertex y-position", "fVertex.fY" },
43 { "z", "vertex z-position", "fVertex.fZ" },
44 { "ok", "Data valid (1=ok)", "fVertexOK" },
45 { nullptr }
46 };
47 return vars;
48}
49
50
51//_____________________________________________________________________________
const Data_t kBig
Definition DataType.h:15
virtual void VertexClear()
static const RVarDef * GetRVarDef()
void SetXYZ(Double_t x, Double_t y, Double_t z)
STL namespace.
ClassImp(TPyArg)