]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/totEt/AliAnalysisHadEtCorrections.h
Changing particle codes and masses to static variables, fixing a bug in the backgroun...
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisHadEtCorrections.h
index 1c383f4c71296e4e04cd7f1268336a35eea6b5e3..db71a0d7ca220473bb7f1a944a96b4d80efcf2c9 100644 (file)
@@ -66,8 +66,8 @@ public:
     Float_t GetITSEfficiencyCorrectionProton(const float pT);
     Float_t GetITSEfficiencyCorrectionHadron(const float pT);
     //...and these guys are too
-    Float_t GetBackgroundCorrectionTPC(const float pT){return 1.0/(1.0-fBackgroundTPC->GetBinContent(fBackgroundTPC->FindBin(pT)));}
-    Float_t GetBackgroundCorrectionITS(const float pT){return 1.0/(1.0-fBackgroundITS->GetBinContent(fBackgroundITS->FindBin(pT)));}
+    Float_t GetBackgroundCorrectionTPC(const float pT){return (1.0-fBackgroundTPC->GetBinContent(fBackgroundTPC->FindBin(pT)));}
+    Float_t GetBackgroundCorrectionITS(const float pT){return (1.0-fBackgroundITS->GetBinContent(fBackgroundITS->FindBin(pT)));}
 
 
     void SetEtaCut(const Float_t val){fEtaCut=val;}