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 a757f5b6a5eadbc43e56b76d5c2347e67387d258..9270eeb1d6bde580994587cd46a0ee9825723827 100644 (file)
@@ -410,7 +410,7 @@ Float_t AliGenHaloProtvino::GasPressureWeight(Float_t zPrimary)
     return weight;
 }
 
     return weight;
 }
 
-void AliGenHaloProtvino::Draw()
+void AliGenHaloProtvino::Draw(Option_t *)
 {
 // Draws the gas pressure distribution
     Float_t z[400];
 {
 // Draws the gas pressure distribution
     Float_t z[400];
index 4961d728da0b0efe1b43d8804671c78752f55724..bed0d49d2c1bf4edd09e3d4330a83e5085ddd779 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 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:
     AliGenHaloProtvino & operator=(const AliGenHaloProtvino & rhs);
 
 protected:
index ef2ca531535132e511447deae15d907a880b44db..38b85a3cfc5bda525e5442f826b8737d965c2459 100644 (file)
@@ -15,7 +15,7 @@ public:
     virtual ~AliSlowNucleonModel(){;}
     virtual void GetNumberOfSlowNucleons(AliCollisionGeometry* /*geo*/,
                                         Int_t& /*ngp*/, Int_t& /*ngn*/,
     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
     
  protected:
   ClassDef(AliSlowNucleonModel,1) // Gray Particle Model