Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaTrackingModule.cxx
Go to the documentation of this file.
1//*-- Author : Ole Hansen 23-May-03
2
4//
5// THaTrackingModule
6//
7// Base class for a "track" processing module, which is a
8// specialized physics module.
9//
11
12#include "THaTrackingModule.h"
13#include "VarDef.h"
14
15using namespace std;
16
17//_____________________________________________________________________________
19{
20 // Normal constructor.
21
22}
23
24//_____________________________________________________________________________
26{
27 fTrkIfo.Clear();
28 fTrk = nullptr;
29}
30
31//_____________________________________________________________________________
33{
34 // Return definition block of global variables for the fTrkIfo object
35
36 static const RVarDef vars[] = {
37 { "x", "Target x coordinate", "fTrkIfo.fX"},
38 { "y", "Target y coordinate", "fTrkIfo.fY"},
39 { "th", "Tangent of target theta angle", "fTrkIfo.fTheta"},
40 { "ph", "Tangent of target phi angle", "fTrkIfo.fPhi"},
41 { "dp", "Target delta", "fTrkIfo.fDp"},
42 { "p", "Lab momentum (GeV)", "fTrkIfo.fP"},
43 { "px", "Lab momentum x (GeV)", "fTrkIfo.GetPx()"},
44 { "py", "Lab momentum y (GeV)", "fTrkIfo.GetPy()"},
45 { "pz", "Lab momentum z (GeV)", "fTrkIfo.GetPz()"},
46 { "ok", "Data valid status flag (1=ok)", "fTrkIfo.fOK"},
47 { nullptr }
48 };
49
50 return vars;
51}
52
53//_____________________________________________________________________________
void Clear(Option_t *opt="")
static const RVarDef * GetRVarDef()
STL namespace.
ClassImp(TPyArg)