Removing warnings (icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Jun 2004 02:35:41 +0000 (02:35 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Jun 2004 02:35:41 +0000 (02:35 +0000)
EVGEN/AliGenHaloProtvino.cxx
EVGEN/AliGenHaloProtvino.h
EVGEN/AliSlowNucleonModel.h

index a757f5b..9270eeb 100644 (file)
@@ -410,7 +410,7 @@ Float_t AliGenHaloProtvino::GasPressureWeight(Float_t zPrimary)
     return weight;
 }
 
-void AliGenHaloProtvino::Draw()
+void AliGenHaloProtvino::Draw(Option_t *)
 {
 // Draws the gas pressure distribution
     Float_t z[400];
index 4961d72..bed0d49 100644 (file)
@@ -29,7 +29,7 @@ public:
     virtual void SetNskip(Int_t nskip) {fNskip = nskip;}
     virtual void SetRunPeriod(Int_t t = kY3D90) {fRunPeriod = t;}
     virtual void SetTimePerEvent(Float_t t = 1.e-4) {fTimePerEvent = t;}
-    virtual void Draw();
+    virtual void Draw(Option_t * opt="");
     AliGenHaloProtvino & operator=(const AliGenHaloProtvino & rhs);
 
 protected:
index ef2ca53..38b85a3 100644 (file)
@@ -15,7 +15,7 @@ public:
     virtual ~AliSlowNucleonModel(){;}
     virtual void GetNumberOfSlowNucleons(AliCollisionGeometry* /*geo*/,
                                         Int_t& /*ngp*/, Int_t& /*ngn*/,
-                                        Int_t& /*nbp*/, Int_t& /*nbn*/) {;}
+                                        Int_t& /*nbp*/, Int_t& /*nbn*/) const {;}
     
  protected:
   ClassDef(AliSlowNucleonModel,1) // Gray Particle Model