]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALHadronCorrectionv1.h
Transient pointer to AliRunDigitizer
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALHadronCorrectionv1.h
index e2d4549e978d9ca59afadef1f437d69a442b49e0..1eea00a85a010aa82d66e242b2d149f0da2048c4 100755 (executable)
@@ -21,19 +21,23 @@ class AliEMCALHadronCorrectionv1: public AliEMCALHadronCorrection {
     Double_t GetEnergy(const Double_t pmom, const Double_t eta) 
        {return GetEnergy(pmom,eta,7);}
     
-    void SetGeometry(TString name); 
-    void SetGeometry(AliEMCALGeometry *geometry); 
+    void SetGeometry(TString name, Double_t fs = 1.); 
     virtual ~AliEMCALHadronCorrectionv1() {}
  protected:
     AliEMCALHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction");
     
 //    AliEMCALHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction",AliEMCALGeometry *geometry = NULL);
+    void SetGeometry(AliEMCALGeometry *geometry);
+    
  private:
-    void SetParameters(TString name = "");
+    void SetParameters(TString name = "") {;}
+    
     static AliEMCALHadronCorrectionv1* fHadrCorr;
     Double_t fPar[6];
+    Float_t  fSamplingFraction;
+    
     
-    ClassDef(AliEMCALHadronCorrectionv1,1) // Hadron correction for EMC (version for MDC)
+    ClassDef(AliEMCALHadronCorrectionv1,2) // Hadron correction for EMC (version for MDC)
 };
 
 #endif // ALIEMCALHADRONCORRECTIONV1_H