FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
hyp
THParticle.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// ----- CbmHyppoint header file -----
3
// ----- Created by A.Sanchez -----
4
// ------------------------------------------------------------------------
5
6
#ifndef THPARTICLE_H
7
#define THPARTICLE_H
8
9
#include "TObject.h"
10
#include "TVector3.h"
11
#include "TLorentzVector.h"
12
#include "TParticle.h"
13
#include "TString.h"
14
15
16
17
18
using namespace
std
;
19
20
class
THParticle
:
public
TParticle
21
{
22
23
public
:
24
26
THParticle
();
27
28
29
30
31
THParticle
(Int_t pdg, Int_t
status
,
32
Int_t evtID,
33
Int_t index,
Double_t
mass,
34
Int_t A, Int_t
Z
,Int_t H,
35
const
TLorentzVector &
p
,
36
const
TLorentzVector &
v
);
37
39
THParticle
(
const
THParticle
&
point
) :
40
TParticle(point),
41
fstatus(point.fstatus),
42
fEventID(point.fEventID),
43
fpdgCode(point.fpdgCode),
44
fCalcMass(point.fCalcMass),
45
fVx(point.fVx),
46
fVy(point.fVy),
47
fVz(point.fVz),
48
fIndex(point.fIndex),
49
fA(point.fA),
50
fZ
(point.
fZ
),
51
fH(point.fH)
52
{
return
; }
53
54
56
virtual
~
THParticle
();
57
58
60
Int_t
GetPdgCode
()
const
{
return
fpdgCode; }
61
Int_t
GetEventID
()
const
{
return
fEventID; };
62
Int_t
GetIndex
()
const
{
return
fIndex; };
63
Double_t
GetCalcMass
()
const
{
return
fCalcMass; }
64
65
Int_t
GetA
()
const
{
return
fA; };
66
Int_t
GetZ
()
const
{
return
fZ
; };
67
Int_t
GetH
()
const
{
return
fH; };
68
69
Double_t
Vx
()
const
{
return
fVx; };
70
Double_t
Vy
()
const
{
return
fVy; };
71
Double_t
Vz
()
const
{
return
fVz; };
72
73
74
77
void
SetEventID
(Int_t
ev
) { fEventID =
ev
; };
78
void
SetIndex
(Int_t
id
) { fIndex = id; };
79
80
81
83
virtual
void
Print
(
const
Option_t* opt)
const
;
84
85
86
protected
:
87
Int_t
fstatus
;
88
Int_t
fEventID
;
// Event ID
89
Int_t
fpdgCode
;
// PDG code of the particle
90
91
Double_t
fCalcMass
;
//,fPx,fPy,fPz; // Calculated mass
92
Double_t
fVx,fVy,
fVz
;
93
94
95
Int_t fIndex,fA,
fZ
,fH;
96
97
98
ClassDef(
THParticle
,1)
99
100
};
101
102
103
104
#endif
Print
MechFsc Print()
THParticle::GetZ
Int_t GetZ() const
Definition:
THParticle.h:66
THParticle::Vy
Double_t Vy() const
Definition:
THParticle.h:70
THParticle::Vz
Double_t Vz() const
Definition:
THParticle.h:71
ev
int ev
Definition:
GammaSpectraAnalysis.C:44
THParticle::THParticle
THParticle(const THParticle &point)
Definition:
THParticle.h:39
std
Definition:
MvdMQ/run/runFileSampler.cxx:18
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
v
__m128 v
Definition:
P4_F32vec4.h:4
p
Double_t p
Definition:
anasim.C:58
THParticle::fCalcMass
Double_t fCalcMass
Definition:
THParticle.h:91
THParticle::GetA
Int_t GetA() const
Definition:
THParticle.h:65
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
THParticle::fEventID
Int_t fEventID
Definition:
THParticle.h:88
point
TClonesArray * point
Definition:
anaLmdDigi.C:29
THParticle::fstatus
Int_t fstatus
Definition:
THParticle.h:87
THParticle::SetEventID
void SetEventID(Int_t ev)
Definition:
THParticle.h:77
THParticle::GetEventID
Int_t GetEventID() const
Definition:
THParticle.h:61
THParticle::fpdgCode
Int_t fpdgCode
Definition:
THParticle.h:89
THParticle::fVz
Double_t fVz
Definition:
THParticle.h:92
THParticle::Vx
Double_t Vx() const
Definition:
THParticle.h:69
THParticle::GetIndex
Int_t GetIndex() const
Definition:
THParticle.h:62
THParticle::fZ
Int_t fZ
Definition:
THParticle.h:95
Z
double Z
Definition:
anaLmdDigi.C:68
THParticle::SetIndex
void SetIndex(Int_t id)
Definition:
THParticle.h:78
THParticle::GetPdgCode
Int_t GetPdgCode() const
Definition:
THParticle.h:60
THParticle
Definition:
THParticle.h:20
THParticle::GetCalcMass
Double_t GetCalcMass() const
Definition:
THParticle.h:63
status
int status[10]
Definition:
f_Init.h:28
THParticle::GetH
Int_t GetH() const
Definition:
THParticle.h:67
Generated on Sun Aug 18 2019 03:02:04 for FairRoot/PandaRoot by
1.8.8