ROOT logo
AliRoot » PWGJE » USERTASKS » AliIDFFUtils

class AliIDFFUtils

Function Members (Methods)

public:
AliIDFFUtils()
AliIDFFUtils(const AliIDFFUtils&)
~AliIDFFUtils()
static voidFillTHn(THnSparseD* hh, Double_t jetpt, const AliAODTrack* trackk, AliAODEvent* aodevt, Int_t tofmode)
static THnSparseD*GetTHn(const TString name)
AliIDFFUtils&operator=(const AliIDFFUtils&)
static Bool_tTPCCutMIGeo(const AliAODTrack* track, const AliVEvent* evt, TTreeStream* streamer = 0x0)
static Bool_tTPCCutPIDN(const AliAODTrack* track)
private:
static Int_tCombineTPCTOF(Int_t ktpc, Int_t ktof)
static Int_tNx()
static Int_tPDG2Type(Int_t pdg)
static Int_tTOFType(const AliAODTrack* trackptr, Int_t tofmode)
static Int_tTPCType(const AliAODTrack* trackptr)
static Double_tXmax()
static Double_tXmin()

Data Members

public:
enum TYPEID { kNOTACCEPTED
kNOINFO
kNOTSELECTED
kPROTON
kPION
kKAON
kELECTRON
};
public:
static AliPIDResponse*fPid

Class Charts

Inheritance Chart:
AliIDFFUtils

Function documentation

Int_t PDG2Type(Int_t pdg)
conversion from pdg code to local definition of particle type

THnSparseD * GetTHn(const TString name)
Int_t TPCType(const AliAODTrack* trackptr)
return the (locally defined) particle type judged by TPC
use tofmode for TPC mode

Int_t TOFType(const AliAODTrack* trackptr, Int_t tofmode)
return the (locally defined) particle type judged by TOF

Int_t CombineTPCTOF(Int_t ktpc, Int_t ktof)
tpc and tof, if <0 only noinfo or notselected
void FillTHn(THnSparseD* hh, Double_t jetpt, const AliAODTrack* trackk, AliAODEvent* aodevt, Int_t tofmode)
fill variables

Bool_t TPCCutPIDN(const AliAODTrack* track)
TPC Cut kPIDN

Bool_t TPCCutMIGeo(const AliAODTrack* track, const AliVEvent* evt, TTreeStream* streamer = 0x0)
TPC Cut MIGeo

Double_t Xmin()
{return -1;}
Double_t Xmax()
{return 2;}
Int_t Nx()
{return 300;}