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
16
using namespace
std
;
17
18
//_____________________________________________________________________________
19
THaVertexModule::THaVertexModule
() : fVertexOK(false)
20
{
21
// Normal constructor.
22
23
}
24
25
//_____________________________________________________________________________
26
void
THaVertexModule::VertexClear
()
27
{
28
// Reset vertex object
29
30
fVertex
.
SetXYZ
(
kBig
,
kBig
,
kBig
);
31
fVertexError
.
SetXYZ
(1.0,1.0,1.0);
32
fVertexOK
=
false
;
33
}
34
35
//_____________________________________________________________________________
36
const
RVarDef*
THaVertexModule::GetRVarDef
()
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
//_____________________________________________________________________________
52
ClassImp
(
THaVertexModule
)
DataType.h
kBig
const Data_t kBig
Definition
DataType.h:15
THaVertexModule.h
THaVertexModule
Definition
THaVertexModule.h:14
THaVertexModule::fVertex
TVector3 fVertex
Definition
THaVertexModule.h:27
THaVertexModule::VertexClear
virtual void VertexClear()
Definition
THaVertexModule.cxx:26
THaVertexModule::THaVertexModule
THaVertexModule()
Definition
THaVertexModule.cxx:19
THaVertexModule::fVertexOK
Bool_t fVertexOK
Definition
THaVertexModule.h:29
THaVertexModule::GetRVarDef
static const RVarDef * GetRVarDef()
Definition
THaVertexModule.cxx:36
THaVertexModule::fVertexError
TVector3 fVertexError
Definition
THaVertexModule.h:28
TVector3::SetXYZ
void SetXYZ(Double_t x, Double_t y, Double_t z)
std
STL namespace.
ClassImp
ClassImp(TPyArg)
Podd
THaVertexModule.cxx
Generated by
1.9.8