CbmRoot
Loading...
Searching...
No Matches
CbmTrackParam.h
Go to the documentation of this file.
1
/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Timur Ablyazimov, Florian Uhlig [committer] */
4
5
// -------------------------------------------------------------------------
6
// ----- CbmTrackParam header file -----
7
// ----- Created 05/02/16 by T. Ablyazimov -----
8
// -------------------------------------------------------------------------
9
18
#ifndef CBMLTRACKPARAM_H_
19
#define CBMLTRACKPARAM_H_ 1
20
21
#include <FairTrackParam.h>
// for FairTrackParam
22
23
#include <Rtypes.h>
// for ClassDef
24
25
class
CbmTrackParam
:
public
FairTrackParam {
26
public
:
27
CbmTrackParam
() :
fPx
(0),
fPy
(0),
fPz
(0),
fDpx
(0),
fDpy
(0),
fDpz
(0),
fTime
(0.),
fDTime
(0.) {}
28
void
Set
(
const
FairTrackParam& ftp,
double
time = 0.,
double
timeError = 0.);
29
void
SetTime
(
double
time,
double
timeError = 0.)
30
{
31
fTime
= time;
32
fDTime
= timeError;
33
}
34
double
GetPx
()
const
{
return
fPx
; }
35
double
GetPy
()
const
{
return
fPy
; }
36
double
GetPz
()
const
{
return
fPz
; }
37
double
GetDpx
()
const
{
return
fDpx
; }
38
double
GetDpy
()
const
{
return
fDpy
; }
39
double
GetDpz
()
const
{
return
fDpz
; }
40
double
GetTime
()
const
{
return
fTime
; }
41
double
GetDTime
()
const
{
return
fDTime
; }
42
43
private
:
44
double
fPx
;
45
double
fPy
;
46
double
fPz
;
47
double
fDpx
;
48
double
fDpy
;
49
double
fDpz
;
50
double
fTime
;
51
double
fDTime
;
52
ClassDef
(
CbmTrackParam
, 2);
53
};
54
55
56
#endif
CbmTrackParam
Definition
CbmTrackParam.h:25
CbmTrackParam::fDpx
double fDpx
Definition
CbmTrackParam.h:47
CbmTrackParam::fPz
double fPz
Definition
CbmTrackParam.h:46
CbmTrackParam::GetDpy
double GetDpy() const
Definition
CbmTrackParam.h:38
CbmTrackParam::CbmTrackParam
CbmTrackParam()
Definition
CbmTrackParam.h:27
CbmTrackParam::GetPz
double GetPz() const
Definition
CbmTrackParam.h:36
CbmTrackParam::GetDpx
double GetDpx() const
Definition
CbmTrackParam.h:37
CbmTrackParam::SetTime
void SetTime(double time, double timeError=0.)
Definition
CbmTrackParam.h:29
CbmTrackParam::fPy
double fPy
Definition
CbmTrackParam.h:45
CbmTrackParam::fDpz
double fDpz
Definition
CbmTrackParam.h:49
CbmTrackParam::fDTime
double fDTime
Definition
CbmTrackParam.h:51
CbmTrackParam::GetPx
double GetPx() const
Definition
CbmTrackParam.h:34
CbmTrackParam::fPx
double fPx
Definition
CbmTrackParam.h:44
CbmTrackParam::GetDTime
double GetDTime() const
Definition
CbmTrackParam.h:41
CbmTrackParam::GetPy
double GetPy() const
Definition
CbmTrackParam.h:35
CbmTrackParam::ClassDef
ClassDef(CbmTrackParam, 2)
CbmTrackParam::GetDpz
double GetDpz() const
Definition
CbmTrackParam.h:39
CbmTrackParam::fTime
double fTime
Definition
CbmTrackParam.h:50
CbmTrackParam::Set
void Set(const FairTrackParam &ftp, double time=0., double timeError=0.)
Definition
CbmTrackParam.cxx:15
CbmTrackParam::GetTime
double GetTime() const
Definition
CbmTrackParam.h:40
CbmTrackParam::fDpy
double fDpy
Definition
CbmTrackParam.h:48
core
data
global
CbmTrackParam.h
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0