Removing warnings (icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Dec 2003 16:00:52 +0000 (16:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Dec 2003 16:00:52 +0000 (16:00 +0000)
STEER/AliGenerator.h
THijing/AliGenHijing.cxx
THijing/AliGenHijing.h

index 9d36f9f..54638ba 100644 (file)
@@ -81,7 +81,7 @@ class AliGenerator : public TNamed, public AliRndm
   // Collision Geometry
     virtual Bool_t ProvidesCollisionGeometry() const {return kFALSE;}
     virtual Bool_t NeedsCollisionGeometry()    const {return kFALSE;}    
-    virtual AliCollisionGeometry* CollisionGeometry() {return fCollisionGeometry;}
+    virtual AliCollisionGeometry* CollisionGeometry() const {return fCollisionGeometry;}
     virtual void SetCollisionGeometry(AliCollisionGeometry* geom) {fCollisionGeometry = geom;}
  protected:
     virtual  void  PushTrack(Int_t done, Int_t parent, Int_t pdg,
index cceca2f..b1167c5 100644 (file)
@@ -581,7 +581,7 @@ Bool_t AliGenHijing::CheckTrigger()
 }
 
 
-void AliGenHijing::Copy(AliGenHijing &) const
+void AliGenHijing::Copy(TObject &) const
 {
   Fatal("Copy","Not implemented!\n");
 }
index 73376e2..c8d02bc 100644 (file)
@@ -80,7 +80,6 @@ class AliGenHijing : public AliGenMC
 
 // Physics Routines
     virtual Bool_t ProvidesCollisionGeometry() const {return kTRUE;}
-    virtual AliCollisionGeometry* CollisionGeometry() const {return fCollisionGeometry;}
     virtual void EvaluateCrossSections();
     virtual TGraph* CrossSection()     {return fDsigmaDb;}
     virtual TGraph* BinaryCollisions() {return fDnDb;}
@@ -91,7 +90,7 @@ class AliGenHijing : public AliGenMC
     Bool_t SelectFlavor(Int_t pid);
     void   MakeHeader();
  private:
-    void Copy(AliGenHijing &rhs) const;
+    void Copy(TObject &rhs) const;
 
  protected:
     TString     fFrame;         // Reference frame