Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-27 07:03:42

0001 ///////////////////////////////////////////////////////////////////////////
0002 //
0003 //    Copyright 2010
0004 //
0005 //    This file is part of starlight.
0006 //
0007 //    starlight is free software: you can redistribute it and/or modify
0008 //    it under the terms of the GNU General Public License as published by
0009 //    the Free Software Foundation, either version 3 of the License, or
0010 //    (at your option) any later version.
0011 //
0012 //    starlight is distributed in the hope that it will be useful,
0013 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
0014 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0015 //    GNU General Public License for more details.
0016 //
0017 //    You should have received a copy of the GNU General Public License
0018 //    along with starlight. If not, see <http://www.gnu.org/licenses/>.
0019 //
0020 ///////////////////////////////////////////////////////////////////////////
0021 //
0022 // File and Version Information:
0023 // $Rev:: 133                         $: revision of last commit
0024 // $Author:: odjuvsla                 $: author of last commit
0025 // $Date:: 2013-09-05 21:08:42 +0100 #$: date of last commit
0026 //
0027 // Description:
0028 //
0029 //
0030 //
0031 ///////////////////////////////////////////////////////////////////////////
0032 
0033 
0034 #include "starlightparticle.h"
0035 
0036 
0037 starlightParticle::starlightParticle() :
0038    lorentzVector()
0039    ,_vertex(0,0,0,0)
0040    ,_pdgCode(0)
0041    ,_charge(-999)
0042    ,_mass(-1)
0043    ,_firstParent(0)
0044    ,_lastParent(0)
0045    ,_firstDaughter(0)
0046    ,_lastDaughter(0)
0047    ,_status(0)
0048 { }
0049 
0050 
0051 starlightParticle::starlightParticle(double px, double py, double pz, double e, double mass, int pdgCode, short charge,
0052                      double vx, double vy, double vz, double vt,
0053                      int firstParent, int lastParent, int firstDaughter, int lastDaughter, int status) :
0054 lorentzVector(px, py, pz, e)
0055 ,_vertex(vx,vy,vz,vt)
0056 ,_pdgCode(pdgCode)
0057 ,_charge(charge)
0058 ,_mass(mass)
0059 ,_firstParent(firstParent)
0060 ,_lastParent(lastParent)
0061 ,_firstDaughter(firstDaughter)
0062 ,_lastDaughter(lastDaughter)
0063 ,_status(status)
0064 { }
0065 
0066 
0067 starlightParticle::~starlightParticle()
0068 { }