EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
starlightparticle.cpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file starlightparticle.cpp
1
2
//
3
// Copyright 2010
4
//
5
// This file is part of starlight.
6
//
7
// starlight is free software: you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
11
//
12
// starlight is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with starlight. If not, see <http://www.gnu.org/licenses/>.
19
//
21
//
22
// File and Version Information:
23
// $Rev:: 133 $: revision of last commit
24
// $Author:: odjuvsla $: author of last commit
25
// $Date:: 2013-09-05 21:08:42 +0100 #$: date of last commit
26
//
27
// Description:
28
//
29
//
30
//
32
33
34
#include "
starlightparticle.h
"
35
36
37
starlightParticle::starlightParticle
() :
38
lorentzVector
()
39
,
_vertex
(0,0,0,0)
40
,_pdgCode(0)
41
,_charge(-999)
42
,_mass(-1)
43
,_firstParent(0)
44
,_lastParent(0)
45
,_firstDaughter(0)
46
,_lastDaughter(0)
47
,_status(0)
48
{ }
49
50
51
starlightParticle::starlightParticle
(
double
px,
double
py,
double
pz,
double
e
,
double
mass
,
int
pdgCode,
short
charge
,
52
double
vx,
double
vy,
double
vz,
double
vt,
53
int
firstParent,
int
lastParent,
int
firstDaughter,
int
lastDaughter,
int
status) :
54
lorentzVector
(px, py, pz, e)
55
,
_vertex
(vx,vy,vz,vt)
56
,_pdgCode(pdgCode)
57
,_charge(charge)
58
,_mass(mass)
59
,_firstParent(firstParent)
60
,_lastParent(lastParent)
61
,_firstDaughter(firstDaughter)
62
,_lastDaughter(lastDaughter)
63
,_status(status)
64
{ }
65
66
67
starlightParticle::~starlightParticle
()
68
{ }
estarlight
blob
master
src
starlightparticle.cpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration