Correct overloading of virtual functions in the derived classes (icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 19 Nov 2005 10:00:05 +0000 (10:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 19 Nov 2005 10:00:05 +0000 (10:00 +0000)
TRD/AliTRDclusterizerMI.h
TRD/AliTRDsimpleMC.h

index e305d8f..7a1f936 100644 (file)
@@ -23,9 +23,9 @@ class AliTRDclusterizerMI : public AliTRDclusterizerV1 {
   virtual ~AliTRDclusterizerMI();
   virtual Bool_t   MakeClusters(); 
   void MakeCluster(Double_t * padSignal, Double_t * pos, Double_t &sigma, Double_t & relpad);
-  virtual void AddCluster(Double_t*, int, float, Int_t*, Double_t*, int) {};
+  virtual void    AddCluster(Double_t *pos, Int_t det, Double_t amp, Int_t *tracks
+                            , Double_t *sig, Int_t iType, Float_t center = 0){}
   AliTRDclusterMI *  AddCluster();
-  virtual void    AddCluster(Double_t*, Int_t, Double_t, Int_t*, Double_t*, Int_t) { };
   void SetCluster(AliTRDclusterMI * cl, Double_t *pos, Int_t det, Double_t amp
                  , Int_t *tracks, Double_t *sig, Int_t iType, Double_t sigmay,Double_t relpos);
  protected:
index 3d32d87..d283ace 100644 (file)
@@ -173,6 +173,14 @@ class AliTRDsimpleMC : public TVirtualMC {
   virtual Int_t         GetNStep() const                                                  { return fNStep;   };
   virtual Int_t         GetMaxNStep() const                                               { return 0;  };
   virtual Int_t         GetMedium() const                                                 { return 0;  };
+  virtual Bool_t GetMedium(const TString& /*volumeName*/,
+                          TString& /*name*/, Int_t& /*imed*/,
+                          Int_t& /*nmat*/, Int_t& /*isvol*/, Int_t& /*ifield*/,
+                          Double_t& /*fieldm*/, Double_t& /*tmaxfd*/, Double_t& /*stemax*/,
+                          Double_t& /*deemax*/, Double_t& /*epsil*/, Double_t& /*stmin*/,
+                          TArrayD& /*par*/) {
+   return kFALSE;
+}   
 
   // Dynamic properties
   virtual void          TrackPosition(TLorentzVector& position) const;