BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnFDPoint.h
Go to the documentation of this file.
1
2
#ifndef BMNFDPOINT_H
3
#define BMNFDPOINT_H
4
5
#include "FairMCPoint.h"
6
#include "
Rtypes.h
"
7
#include "
TLorentzVector.h
"
8
#include "
TObject.h
"
9
#include "
TParticle.h
"
10
#include "
TVector3.h
"
11
#include "TVirtualMC.h"
12
13
using namespace
std;
14
15
class
BmnFDPoint
:
public
FairMCPoint
16
{
17
18
public
:
19
/** Default constructor **/
20
BmnFDPoint
();
21
22
BmnFDPoint
(
Int_t
trackID,
23
Int_t
detID,
24
Int_t
copyNo,
25
TVector3
posIn,
26
TVector3
posOut,
27
TVector3
momIn,
28
TVector3
momOut,
29
Double_t
tof,
30
Double_t
length,
31
Double_t
eLoss,
32
Int_t
isPrimary,
33
Double_t
charge,
34
Int_t
pdgId,
35
Double_t
lightYield,
36
Double_t
timeIn,
37
Double_t
timeOut,
38
Double_t
lengthtrack);
39
// UInt_t EventId,
40
/** Copy constructor **/
41
BmnFDPoint
(
const
BmnFDPoint
& point) { *
this
= point; };
42
43
/** Destructor **/
44
virtual
~BmnFDPoint
();
45
46
/** Accessors **/
47
Short_t
GetCopy
()
const
{
return
nCopy
; };
48
// Short_t GetCopyMother() const {return nCopyMother; };
49
50
Int_t
GetIsPrimary
() {
return
fIsPrimary
; }
51
Double_t
GetCharge
() {
return
fCharge
; }
52
Double_t
GetPdgId
() {
return
fPdgId
; }
53
Double_t
GetTimeIn
()
const
{
return
fTimeIn
; }
54
Double_t
GetTimeOut
()
const
{
return
fTimeOut
; }
55
Double_t
GetLengthtrack
()
const
{
return
fLengthtrack
; }
56
57
Double_t
GetPxOut
()
const
{
return
fPxOut
; }
58
Double_t
GetPyOut
()
const
{
return
fPyOut
; }
59
Double_t
GetPzOut
()
const
{
return
fPzOut
; }
60
61
void
MomentumOut
(
TVector3
& mom) { mom.
SetXYZ
(
fPxOut
,
fPyOut
,
fPzOut
); }
62
63
Double_t
GetXOut
()
const
{
return
fXOut
; }
64
Double_t
GetYOut
()
const
{
return
fYOut
; }
65
Double_t
GetZOut
()
const
{
return
fZOut
; }
66
67
void
PositionOut
(
TVector3
& pos) { pos.
SetXYZ
(
fXOut
,
fYOut
,
fZOut
); }
68
69
// ---------------------------------------------------------
70
Float_t
GetLightYield
()
const
{
return
fLightYield
; }
71
72
// void GetPolarisation(TVector3 &v) const;
73
74
/** Modifiers **/
75
void
SetCopy
(
Short_t
i
) {
nCopy
=
i
; };
76
// void SetCopyMother(Short_t i) { nCopyMother = i; };
77
78
// void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz) {fVx=vx; fVy=vy; fVz=vz;}
79
80
/** Output to screen **/
81
virtual
void
Print
(
const
Option_t
* opt)
const
;
82
83
protected
:
84
Double_t
fXOut
,
fYOut
,
fZOut
;
85
Double_t
fPxOut
,
fPyOut
,
fPzOut
;
86
87
Short_t
nCopy
;
// Copy number
88
// Short_t nCopyMother; // Copy number of mother volume
89
90
Int_t
fIsPrimary
;
91
Double_t
fCharge
;
92
Int_t
fPdgId
;
93
Float_t
fLightYield
;
94
Double_t
fTimeIn
;
95
Double_t
fTimeOut
;
96
Double_t
fLengthtrack
;
97
98
ClassDef
(
BmnFDPoint
, 5)
99
// 4
100
};
101
102
#endif
i
int i
Definition
P4_F32vec4.h:22
Int_t
int Int_t
Float_t
float Float_t
Short_t
short Short_t
Double_t
double Double_t
Option_t
const char Option_t
Rtypes.h
ClassDef
#define ClassDef(name, id)
TLorentzVector.h
TObject.h
TParticle.h
TVector3.h
BmnFDPoint::GetPdgId
Double_t GetPdgId()
Definition
BmnFDPoint.h:52
BmnFDPoint::fPxOut
Double_t fPxOut
Definition
BmnFDPoint.h:85
BmnFDPoint::GetPyOut
Double_t GetPyOut() const
Definition
BmnFDPoint.h:58
BmnFDPoint::GetTimeIn
Double_t GetTimeIn() const
Definition
BmnFDPoint.h:53
BmnFDPoint::fLengthtrack
Double_t fLengthtrack
Definition
BmnFDPoint.h:96
BmnFDPoint::fXOut
Double_t fXOut
Definition
BmnFDPoint.h:84
BmnFDPoint::GetPzOut
Double_t GetPzOut() const
Definition
BmnFDPoint.h:59
BmnFDPoint::BmnFDPoint
BmnFDPoint(const BmnFDPoint &point)
Copy constructor.
Definition
BmnFDPoint.h:41
BmnFDPoint::~BmnFDPoint
virtual ~BmnFDPoint()
Destructor.
Definition
BmnFDPoint.cxx:72
BmnFDPoint::fTimeIn
Double_t fTimeIn
Definition
BmnFDPoint.h:94
BmnFDPoint::GetLengthtrack
Double_t GetLengthtrack() const
Definition
BmnFDPoint.h:55
BmnFDPoint::fPyOut
Double_t fPyOut
Definition
BmnFDPoint.h:85
BmnFDPoint::MomentumOut
void MomentumOut(TVector3 &mom)
Definition
BmnFDPoint.h:61
BmnFDPoint::GetPxOut
Double_t GetPxOut() const
Definition
BmnFDPoint.h:57
BmnFDPoint::fZOut
Double_t fZOut
Definition
BmnFDPoint.h:84
BmnFDPoint::fIsPrimary
Int_t fIsPrimary
Definition
BmnFDPoint.h:90
BmnFDPoint::fCharge
Double_t fCharge
Definition
BmnFDPoint.h:91
BmnFDPoint::fPzOut
Double_t fPzOut
Definition
BmnFDPoint.h:85
BmnFDPoint::GetIsPrimary
Int_t GetIsPrimary()
Definition
BmnFDPoint.h:50
BmnFDPoint::BmnFDPoint
BmnFDPoint()
Default constructor.
Definition
BmnFDPoint.cxx:12
BmnFDPoint::SetCopy
void SetCopy(Short_t i)
Modifiers.
Definition
BmnFDPoint.h:75
BmnFDPoint::nCopy
Short_t nCopy
Definition
BmnFDPoint.h:87
BmnFDPoint::GetCopy
Short_t GetCopy() const
Accessors.
Definition
BmnFDPoint.h:47
BmnFDPoint::fYOut
Double_t fYOut
Definition
BmnFDPoint.h:84
BmnFDPoint::PositionOut
void PositionOut(TVector3 &pos)
Definition
BmnFDPoint.h:67
BmnFDPoint::GetXOut
Double_t GetXOut() const
Definition
BmnFDPoint.h:63
BmnFDPoint::GetLightYield
Float_t GetLightYield() const
Definition
BmnFDPoint.h:70
BmnFDPoint::fLightYield
Float_t fLightYield
Definition
BmnFDPoint.h:93
BmnFDPoint::fPdgId
Int_t fPdgId
Definition
BmnFDPoint.h:92
BmnFDPoint::GetYOut
Double_t GetYOut() const
Definition
BmnFDPoint.h:64
BmnFDPoint::GetCharge
Double_t GetCharge()
Definition
BmnFDPoint.h:51
BmnFDPoint::Print
virtual void Print(const Option_t *opt) const
Output to screen.
Definition
BmnFDPoint.cxx:76
BmnFDPoint::fTimeOut
Double_t fTimeOut
Definition
BmnFDPoint.h:95
BmnFDPoint::GetTimeOut
Double_t GetTimeOut() const
Definition
BmnFDPoint.h:54
BmnFDPoint::GetZOut
Double_t GetZOut() const
Definition
BmnFDPoint.h:65
FairMCPoint
TVector3
TVector3::SetXYZ
void SetXYZ(Double_t x, Double_t y, Double_t z)
detectors
FD
BmnFDPoint.h
Generated on
for BmnRoot by
1.17.0