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 43d73c12399674281e7acca6df871aaed07325af..53bc53d3f59c7752bc5bdfa0f0c4736c2566b42d 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 939c81f5bd9a3c99734014cab8cd34535cb5dd92..61503d00bc0086e8ee13c9cf82577d82d7281b18 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 6da5fd2e94bc74265172484736a17166d811ed73..73630d158ee3f8623171d1b77ba7178682a7df7d 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());}