Proper usage of the bayesian approach (Alis Rodriguez Manso)
[u/mrichter/AliRoot.git] / PWGCF / EBYE / BalanceFunctions / AliAnalysisTaskBF.h
index 3c3dac6..e822c0f 100755 (executable)
@@ -117,11 +117,11 @@ class AliAnalysisTaskBF : public AliAnalysisTaskSE {
   enum kParticleOfInterest { kMuon, kElectron, kPion, kKaon, kProton };  \r
 \r
   void SetUseBayesianPID(Double_t gMinProbabilityValue) {\r
-    fUsePID = kTRUE; fUsePIDPropabilities = kTRUE;\r
+    fUsePID = kTRUE; fUsePIDnSigma = kFALSE; fUsePIDPropabilities = kTRUE;\r
     fMinAcceptedPIDProbability = gMinProbabilityValue; }\r
 \r
   void SetUseNSigmaPID(Double_t gMaxNSigma) {\r
-    fUsePID = kTRUE; fUsePIDnSigma = kTRUE;\r
+    fUsePID = kTRUE; fUsePIDPropabilities = kFALSE; fUsePIDnSigma = kTRUE;\r
     fPIDNSigma = gMaxNSigma; }\r
 \r
   void SetParticleOfInterest(kParticleOfInterest poi) {\r
@@ -162,12 +162,14 @@ class AliAnalysisTaskBF : public AliAnalysisTaskSE {
   TH2D *fHistBetavsPTOFbeforePID;//\r
   TH2D *fHistProbTPCvsPtbeforePID; //\r
   TH2D *fHistProbTOFvsPtbeforePID;//\r
+  TH2D *fHistProbTPCTOFvsPtbeforePID;//\r
   TH2D *fHistNSigmaTPCvsPtbeforePID;//\r
   TH2D *fHistNSigmaTOFvsPtbeforePID;//\r
   TH2D *fHistdEdxVsPTPCafterPID;//\r
   TH2D *fHistBetavsPTOFafterPID;//\r
   TH2D *fHistProbTPCvsPtafterPID;//\r
   TH2D *fHistProbTOFvsPtafterPID;//\r
+  TH2D *fHistProbTPCTOFvsPtafterPID;//\r
   TH2D *fHistNSigmaTPCvsPtafterPID;//\r
   TH2D *fHistNSigmaTOFvsPtafterPID; //\r
 \r