]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
CID 21230: Uninitialized scalar field (UNINIT_CTOR)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 15:10:55 +0000 (15:10 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 15:10:55 +0000 (15:10 +0000)
PYTHIA8/pythia8175/include/HelicityBasics.h

index 8da831a2d06e2c37ccde9e68573536bbbaa069db..49b7dc33896739c74bbcc2970c13d9f6775c6222 100644 (file)
@@ -190,7 +190,7 @@ public:
     double pyIn = 0., double pzIn = 0., double eIn = 0.,
     double mIn = 0., double scaleIn = 0., ParticleData* ptr = 0)
     : Particle(idIn, statusIn, mother1In, mother2In, daughter1In, daughter2In,
-    colIn, acolIn, pxIn, pyIn, pzIn, eIn, mIn, scaleIn) {
+              colIn, acolIn, pxIn, pyIn, pzIn, eIn, mIn, scaleIn), idx(0), direction(1) {
     if (ptr) { setPDTPtr(ptr); setPDEPtr(); }
     rho = vector< vector<complex> >(spinStates(), 
       vector<complex>(spinStates(), 0));
@@ -202,7 +202,7 @@ public:
     int daughter1In, int daughter2In, int colIn, int acolIn, Vec4 pIn, 
     double mIn = 0., double scaleIn = 0., ParticleData* ptr = 0)
     : Particle(idIn, statusIn, mother1In, mother2In, daughter1In, daughter2In,
-    colIn, acolIn, pIn, mIn, scaleIn) {
+              colIn, acolIn, pIn, mIn, scaleIn), idx(0), direction(1) {
     if (ptr) { setPDTPtr(ptr); setPDEPtr();}
     rho = vector< vector<complex> >(spinStates(), 
       vector<complex>(spinStates(), 0));
@@ -211,7 +211,7 @@ public:
     for (int i = 0; i < spinStates(); i++) { rho[i][i] = 0.5; D[i][i] = 1;}
     direction = 1; }
   HelicityParticle(const Particle& ptIn, ParticleData* ptr = 0) 
-    : Particle(ptIn) {
+    : Particle(ptIn), idx(0), direction(1) {
     if (ptr) { setPDTPtr(ptr); setPDEPtr();}
     rho = vector< vector<complex> >(spinStates(), 
       vector<complex>(spinStates(), 0));