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 b121ec3..ea2a807 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 89b0945..0a859e5 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 2321abb..f982cdd 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.),