// class for PID with AliAODRecoDecayHF
// Authors: D. Caffarri caffarri@pd.infn.it, A.Dainese andrea.dainese@pd.infn.it, S. Dash dash@to.infn.it, F. Prino prino@to.infn.it, R. Romita r.romita@gsi.de, Y. Wang yifei@pi0.physi.uni-heidelberg.de P. Antonioli pietro.antonioli@bo.infn.it
//***********************************************************
+#include <TCanvas.h>
+
#include "AliAODPidHF.h"
#include "AliAODPid.h"
#include "AliPID.h"
return kFALSE;
}
+//--------------------------------------------------------------------------
+void AliAODPidHF::SetPriorDistribution(AliPID::EParticleType type,TH1F *prior){
+
+ //
+ // method setting the prior distributions to the AliPIDCombined object of the AliAODPidHF data member
+ // all the checks are done directly in the AliPIDCombined object
+ //
+
+ GetPidCombined()->SetPriorDistribution(type,prior);
+}
+//--------------------------------------------------------------------------
+void AliAODPidHF::DrawPrior(AliPID::EParticleType type){
+
+ //
+ // Drawing prior distribution for type "type"
+
+ new TCanvas();
+ GetPidCombined()->GetPriorDistribution(type)->Draw();
+}
void SetBetheBloch(AliTPCPIDResponse &tpcResp) const;
+ // method for AliPIDCombined object
+ void SetSelectedSpecies(Int_t ispecies = AliPID::kSPECIES){GetPidCombined()->SetSelectedSpecies(ispecies);};
+ void SetPriorDistribution(AliPID::EParticleType type,TH1F *prior);
+ void DrawPrior(AliPID::EParticleType type);
+
protected:
Int_t ApplyPidTPCRaw(AliAODTrack *track,Int_t specie) const;
// Author: A.Dainese, andrea.dainese@pd.infn.it
/////////////////////////////////////////////////////////////
#include <Riostream.h>
-#include <TCanvas.h>
#include "AliVEvent.h"
#include "AliESDEvent.h"
return kFALSE;
}
-//--------------------------------------------------------------------------
-void AliRDHFCuts::SetPriorDistribution(AliPID::EParticleType type,TH1F *prior){
-
- //
- // method setting the prior distributions to the AliPIDCombined object of the AliAODPidHF data member
- // all the checks are done directly in the AliPIDCombined object
- //
-
- fPidHF->GetPidCombined()->SetPriorDistribution(type,prior);
-}
-//--------------------------------------------------------------------------
-void AliRDHFCuts::DrawPrior(AliPID::EParticleType type){
-
- //
- // Drawing prior distribution for type "type"
-
- new TCanvas();
- fPidHF->GetPidCombined()->GetPriorDistribution(type)->Draw();
-}
void SetKeepSignalMC() {fKeepSignalMC=kTRUE; return;}
- // method for AliPIDCombined object of AliAODPidHF
- void SetSelectedSpecies(Int_t ispecies = AliPID::kSPECIES){fPidHF->GetPidCombined()->SetSelectedSpecies(ispecies);};
- void SetPriorDistribution(AliPID::EParticleType type,TH1F *prior);
- void DrawPrior(AliPID::EParticleType type);
protected: