More EMCALgeometry replaced by AliJetDummyGeo
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Dec 2006 14:03:04 +0000 (14:03 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Dec 2006 14:03:04 +0000 (14:03 +0000)
JETAN/AliJetDummyGeo.h
JETAN/AliJetHadronCorrectionv1.cxx
JETAN/AliJetHadronCorrectionv1.h

index 43d73c1..53bc53d 100644 (file)
@@ -22,7 +22,7 @@ class AliJetDummyGeo : public TObject
     void    EtaPhiFromIndex(Int_t id, Float_t& eta, Float_t& phi);
     Int_t   TowerIndexFromEtaPhi2(Float_t eta, Float_t phi) {return 0;}
     void    GetTransformationForSM();
-    
+    Float_t GetSampling() {return 0.;}
     ClassDef(AliJetDummyGeo,1)
 };
  
index 939c81f..61503d0 100644 (file)
@@ -25,7 +25,8 @@
 
 // --- AliRoot header files ---
 //#include "../EMCAL/AliJetGeometry.h"
-#include "AliEMCALGeometry.h"
+#include "AliJetDummyGeo.h"
+//#include "AliEMCALGeometry.h"
 #include "AliJetHadronCorrectionv1.h"
 
 ClassImp(AliJetHadronCorrectionv1)
@@ -42,7 +43,7 @@ Double_t AliJetHadronCorrectionv1::fgParLookup[HCPARAMETERS][HCPARAMETERSETS] =
 
 AliJetHadronCorrectionv1* AliJetHadronCorrectionv1::fgHadrCorr = 0;
 
-void AliJetHadronCorrectionv1::SetGeometry(AliEMCALGeometry *geometry)
+void AliJetHadronCorrectionv1::SetGeometry(AliJetDummyGeo *geometry)
 {
   // Initialise EMCAL geometry
     if (!geometry)
index 6da5fd2..73630d1 100644 (file)
@@ -12,6 +12,8 @@
 #define HCPARAMETERSETS 2
 
 class AliEMCALGeometry;
+class AliJetDummyGeo;
+
 
 class AliJetHadronCorrectionv1 : public AliJetHadronCorrection 
 {
@@ -26,7 +28,7 @@ class AliJetHadronCorrectionv1 : public AliJetHadronCorrection
  protected:
   AliJetHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction");
   //    AliJetHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction",AliJetGeometry *geometry = NULL);
-  void SetGeometry(AliEMCALGeometry *geometry);
+  void SetGeometry(AliJetDummyGeo *geometry);
     
  private:
   void SetParameters(TString name = "") {Warning("SetParameter","Dummy method with argument %s",name.Data());}