Declaring some methods constant.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Mar 2003 14:35:57 +0000 (14:35 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Mar 2003 14:35:57 +0000 (14:35 +0000)
THijing/AliGenHijing.h

index 20bce42..e2b5db7 100644 (file)
@@ -82,8 +82,8 @@ class AliGenHijing : public AliGenMC
     
 
 // Physics Routines
-    virtual Bool_t ProvidesCollisionGeometry() {return kTRUE;}
-    virtual AliCollisionGeometry* CollisionGeometry() {return fCollisionGeometry;}
+    virtual Bool_t ProvidesCollisionGeometry() const {return kTRUE;}
+    virtual AliCollisionGeometry* CollisionGeometry() const {return fCollisionGeometry;}
     virtual void EvaluateCrossSections();
     virtual void Boost();
     virtual TGraph* CrossSection()     {return fDsigmaDb;}