CbmRoot
CbmTrackParam.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmTrackParam header file -----
3
// ----- Created 05/02/16 by T. Ablyazimov -----
4
// -------------------------------------------------------------------------
5
14
#ifndef CBMLTRACKPARAM_H_
15
#define CBMLTRACKPARAM_H_ 1
16
17
#include <Rtypes.h>
// for ClassDef
18
#include <RtypesCore.h>
// for Double_t
19
20
#include <FairTrackParam.h>
// for FairTrackParam
21
22
class
CbmTrackParam
:
public
FairTrackParam {
23
public
:
24
CbmTrackParam
()
25
:
fPx
(0)
26
,
fPy
(0)
27
,
fPz
(0)
28
,
fDpx
(0)
29
,
fDpy
(0)
30
,
fDpz
(0)
31
,
fTime
(0.)
32
,
fDTime
(0.) {}
33
void
34
Set
(
const
FairTrackParam& ftp, Double_t time = 0., Double_t timeError = 0.);
35
void
SetTime
(Double_t time, Double_t timeError = 0.) {
36
fTime
= time;
37
fDTime
= timeError;
38
}
39
Double_t
GetPx
()
const
{
return
fPx
; }
40
Double_t
GetPy
()
const
{
return
fPy
; }
41
Double_t
GetPz
()
const
{
return
fPz
; }
42
Double_t
GetDpx
()
const
{
return
fDpx
; }
43
Double_t
GetDpy
()
const
{
return
fDpy
; }
44
Double_t
GetDpz
()
const
{
return
fDpz
; }
45
Double_t
GetTime
()
const
{
return
fTime
; }
46
Double_t
GetDTime
()
const
{
return
fDTime
; }
47
48
private
:
49
Double_t
fPx
;
50
Double_t
fPy
;
51
Double_t
fPz
;
52
Double_t
fDpx
;
53
Double_t
fDpy
;
54
Double_t
fDpz
;
55
Double_t
fTime
;
56
Double_t
fDTime
;
57
ClassDef
(
CbmTrackParam
, 2);
58
};
59
60
61
#endif
CbmTrackParam::GetPx
Double_t GetPx() const
Definition:
CbmTrackParam.h:39
CbmTrackParam::fTime
Double_t fTime
Definition:
CbmTrackParam.h:55
CbmTrackParam::fDpy
Double_t fDpy
Definition:
CbmTrackParam.h:53
CbmTrackParam::fPx
Double_t fPx
Definition:
CbmTrackParam.h:49
CbmTrackParam::ClassDef
ClassDef(CbmTrackParam, 2)
CbmTrackParam::Set
void Set(const FairTrackParam &ftp, Double_t time=0., Double_t timeError=0.)
Definition:
CbmTrackParam.cxx:12
CbmTrackParam::CbmTrackParam
CbmTrackParam()
Definition:
CbmTrackParam.h:24
CbmTrackParam::GetDTime
Double_t GetDTime() const
Definition:
CbmTrackParam.h:46
CbmTrackParam::GetPy
Double_t GetPy() const
Definition:
CbmTrackParam.h:40
CbmTrackParam::GetDpz
Double_t GetDpz() const
Definition:
CbmTrackParam.h:44
CbmTrackParam::fDpz
Double_t fDpz
Definition:
CbmTrackParam.h:54
CbmTrackParam::SetTime
void SetTime(Double_t time, Double_t timeError=0.)
Definition:
CbmTrackParam.h:35
CbmTrackParam::fPz
Double_t fPz
Definition:
CbmTrackParam.h:51
CbmTrackParam::GetTime
Double_t GetTime() const
Definition:
CbmTrackParam.h:45
CbmTrackParam::fDTime
Double_t fDTime
Definition:
CbmTrackParam.h:56
CbmTrackParam
Definition:
CbmTrackParam.h:22
CbmTrackParam::GetPz
Double_t GetPz() const
Definition:
CbmTrackParam.h:41
CbmTrackParam::GetDpy
Double_t GetDpy() const
Definition:
CbmTrackParam.h:43
CbmTrackParam::fPy
Double_t fPy
Definition:
CbmTrackParam.h:50
CbmTrackParam::GetDpx
Double_t GetDpx() const
Definition:
CbmTrackParam.h:42
CbmTrackParam::fDpx
Double_t fDpx
Definition:
CbmTrackParam.h:52
core
data
global
CbmTrackParam.h
Generated on Wed Oct 28 2020 15:11:47 for CbmRoot by
1.8.18