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
15
using namespace
std
;
16
17
//_____________________________________________________________________________
18
THaTrackingModule::THaTrackingModule
() : fTrk(nullptr)
19
{
20
// Normal constructor.
21
22
}
23
24
//_____________________________________________________________________________
25
void
THaTrackingModule::TrkIfoClear
()
26
{
27
fTrkIfo
.
Clear
();
28
fTrk
=
nullptr
;
29
}
30
31
//_____________________________________________________________________________
32
const
RVarDef*
THaTrackingModule::GetRVarDef
()
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
//_____________________________________________________________________________
54
ClassImp
(
THaTrackingModule
)
THaTrackingModule.h
THaTrackInfo::Clear
void Clear(Option_t *opt="")
Definition
THaTrackInfo.h:86
THaTrackingModule
Definition
THaTrackingModule.h:15
THaTrackingModule::fTrk
THaTrack * fTrk
Definition
THaTrackingModule.h:30
THaTrackingModule::THaTrackingModule
THaTrackingModule()
Definition
THaTrackingModule.cxx:18
THaTrackingModule::GetRVarDef
static const RVarDef * GetRVarDef()
Definition
THaTrackingModule.cxx:32
THaTrackingModule::TrkIfoClear
void TrkIfoClear()
Definition
THaTrackingModule.cxx:25
THaTrackingModule::fTrkIfo
THaTrackInfo fTrkIfo
Definition
THaTrackingModule.h:29
std
STL namespace.
ClassImp
ClassImp(TPyArg)
Podd
THaTrackingModule.cxx
Generated by
1.9.8