EffC++ warnings corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 10:18:02 +0000 (10:18 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 10:18:02 +0000 (10:18 +0000)
TDPMjet/AliGenDPMjetEventHeader.cxx
TDPMjet/AliGenDPMjetEventHeader.h
TDPMjet/TDPMjet.cxx

index b121ec3e5b100401d6f033d0ffb7ad8138d2364e..ea2a8071c72bace4fba4a476749536e88412a28b 100644 (file)
 #include "AliGenDPMjetEventHeader.h"
 ClassImp(AliGenDPMjetEventHeader)
 
+AliGenDPMjetEventHeader::AliGenDPMjetEventHeader():
+    AliGenEventHeader(),
+    AliCollisionGeometry(),
+    fTotalEnergy(0.),
+    fTrials(0), 
+    fProcessType(0)
+{
+    // Default constructor
+}
 
+
+AliGenDPMjetEventHeader::AliGenDPMjetEventHeader(const char* name):
+    AliGenEventHeader(name),
+    AliCollisionGeometry(),
+    fTotalEnergy(0.),
+    fTrials(0), 
+    fProcessType(0)
+{
+    // Constructor
+}
index 89b09450dfdeafe425872ea0fc15a29c34f847ed..0a859e59d9e108543fdaaf15fd0bbb904d0ecc6e 100644 (file)
 class AliGenDPMjetEventHeader : public AliGenEventHeader, public AliCollisionGeometry
 {
  public:
-
-  AliGenDPMjetEventHeader(const char* name){;}
-  AliGenDPMjetEventHeader(){;}
-  virtual ~AliGenDPMjetEventHeader() {}
+    AliGenDPMjetEventHeader(const char* name);
+    AliGenDPMjetEventHeader();
+    virtual ~AliGenDPMjetEventHeader() {}
 
   // Getters
   Float_t TotalEnergy()  {return fTotalEnergy;} 
index 2321abb5b0c596d7e475364bd3bee07e2a11f1c5..f982cddf7f9e4ddf4e1ca993f5cbd4e9503d4fe1 100644 (file)
@@ -126,6 +126,7 @@ TDPMjet::TDPMjet(DpmProcess_t  iproc, Int_t Ip=208, Int_t Ipz=82, Int_t It=208,
       fIt(It),
       fItz(Itz),
       fEpn(Epn),
+      fPpn(0.),
       fCMEn(CMEn),
       fIdp(0),
       fBmin(0.),