CID 21240: Uninitialized scalar field (UNINIT_CTOR)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 31 May 2013 07:52:23 +0000 (07:52 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 31 May 2013 07:52:23 +0000 (07:52 +0000)
PYTHIA8/pythia8175/include/PhaseSpace.h

index 8b18dae..af2803e 100644 (file)
@@ -457,7 +457,43 @@ class PhaseSpace2to3diffractive : public PhaseSpace {
 public:
 
   // Constructor.
-  PhaseSpace2to3diffractive() {}
+ PhaseSpace2to3diffractive():
+  PomFlux(0),
+    epsilonPF(0), 
+    alphaPrimePF(0), 
+    s1(0),
+    s2(0), 
+    m5min(0), 
+    s5min(0), 
+    bSlope1(0), 
+    bSlope2(0), 
+    bSlope(0), 
+    xIntPF(0), 
+    xIntInvPF(0), 
+    xtCorPF(0), 
+    mp24DL(0), 
+    coefDL(0),
+    epsMBR(0), 
+    alphMBR(0), 
+    m2minMBR(0), 
+    dyminMBR(0), 
+    dyminSigMBR(0), 
+    dyminInvMBR(0), 
+    dpepmax(0), 
+    t1(0), 
+    t2(0)
+ {
+   for (int i = 0; i < 2; i++)
+     { 
+       tLow[i]       = 0.;
+       tUpp[i]       = 0.;
+       bMin[i]       = 0.; 
+       tAux[i]       = 0.;
+       probSlope1[i] = 0.; 
+       tAux1[i]      = 0.; 
+       tAux2[i]      = 0.;
+     }
+ }
 
   // Construct the trial or final event kinematics.
   virtual bool setupSampling();