CbmRoot
CbmPsdPoint.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmPsdPoint header file -----
3
// ----- Created 28/07/04 by V. Friese -----
4
// -------------------------------------------------------------------------
5
13
#ifndef CBMPSDPOINT_H
14
#define CBMPSDPOINT_H 1
15
16
#include <Rtypes.h>
// for ClassDef
17
#include <RtypesCore.h>
// for Int_t, Double_t, Option_t
18
#include <TVector3.h>
// for TVector3
19
20
#include <FairMCPoint.h>
// for FairMCPoint
21
22
#include <string>
// for string
23
24
class
CbmPsdPoint
:
public
FairMCPoint {
25
26
public
:
28
CbmPsdPoint
();
29
30
40
CbmPsdPoint
(Int_t trackID,
41
Int_t detID,
42
TVector3
pos
,
43
TVector3 mom,
44
Double_t tof,
45
Double_t length,
46
Double_t eLoss);
47
48
50
// CbmPsdPoint(const CbmPsdPoint& point) { *this = point; };
51
52
54
virtual
~CbmPsdPoint
();
55
56
58
virtual
void
Print
(
const
Option_t* opt)
const
;
59
61
void
SetModuleID
(Int_t mod) {
fModuleID
= mod; }
63
Int_t
GetModuleID
()
const
{
return
fModuleID
; }
64
65
std::string
ToString
()
const
;
66
67
private
:
68
Int_t
fModuleID
;
//number of module
69
70
71
ClassDef(
CbmPsdPoint
, 2)
72
};
73
74
75
#endif
CbmPsdPoint
Definition:
CbmPsdPoint.h:24
CbmPsdPoint::ToString
std::string ToString() const
Definition:
CbmPsdPoint.cxx:40
CbmPsdPoint::~CbmPsdPoint
virtual ~CbmPsdPoint()
Definition:
CbmPsdPoint.cxx:31
CbmPsdPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
CbmPsdPoint.cxx:36
CbmPsdPoint::GetModuleID
Int_t GetModuleID() const
Definition:
CbmPsdPoint.h:63
CbmPsdPoint::CbmPsdPoint
CbmPsdPoint()
Definition:
CbmPsdPoint.cxx:14
pos
TVector3 pos
Definition:
CbmMvdSensorDigiToHitTask.cxx:60
CbmPsdPoint::SetModuleID
void SetModuleID(Int_t mod)
Definition:
CbmPsdPoint.h:61
CbmPsdPoint::fModuleID
Int_t fModuleID
Definition:
CbmPsdPoint.h:68
core
data
psd
CbmPsdPoint.h
Generated on Wed Oct 28 2020 15:11:43 for CbmRoot by
1.8.18