![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Class for PID cuts. More...
#include <AliESDpidCuts.h>
Public Member Functions | |
AliESDpidCuts (const Char_t *name="AliESDpidCuts", const Char_t *title="") | |
AliESDpidCuts (const AliESDpidCuts &ref) | |
AliESDpidCuts & | operator= (const AliESDpidCuts &ref) |
virtual | ~AliESDpidCuts () |
virtual void | Init () |
virtual void | Copy (TObject &c) const |
virtual Long64_t | Merge (TCollection *coll) |
Bool_t | HasHistograms () const |
void | DefineHistograms (Color_t color=kRed) |
void | DrawHistograms () |
void | SaveHistograms (const Char_t *location=NULL) |
virtual Bool_t | IsSelected (TObject *) |
virtual Bool_t | IsSelected (TList *) |
virtual Bool_t | AcceptTrack (const AliESDtrack *track, const AliESDEvent *event) |
void | SetPIDResponse (AliPIDResponse *pidresponse) |
AliPIDResponse * | GetPIDresponse () |
void | SetTPCclusterRatioCut (Float_t clr) |
void | SetTPCnSigmaCut (AliPID::EParticleType itype, Float_t nSigma) |
void | SetTPCnSigmaCut (AliPID::EParticleType itype, Float_t negSigma, Float_t posSigma) |
void | SetTOFnSigmaCut (AliPID::EParticleType itype, Float_t nSigma) |
void | SetTOFnSigmaCut (AliPID::EParticleType itype, Float_t negSigma, Float_t posSigma) |
void | SetMinMomentumTOF (Float_t mom) |
![]() | |
AliAnalysisCuts () | |
AliAnalysisCuts (const char *name, const char *title) | |
AliAnalysisCuts (const AliAnalysisCuts &obj) | |
AliAnalysisCuts & | operator= (const AliAnalysisCuts &obj) |
virtual | ~AliAnalysisCuts () |
virtual void | SetFilterMask (UInt_t mask) |
virtual UInt_t | GetFilterMask () const |
virtual void | SetSelected (Bool_t dec) |
virtual UInt_t | Selected () const |
virtual TList * | GetOutput () |
virtual TObject * | GetStatistics (Option_t *) const |
![]() | |
AliVCuts () | |
AliVCuts (const char *name, const char *title) | |
virtual | ~AliVCuts () |
AliVCuts (const AliVCuts &evt) | |
AliVCuts & | operator= (const AliVCuts &evt) |
virtual UInt_t | GetSelectionMask (const TObject *) |
Protected Attributes | |
AliPIDResponse * | fPIDresponse |
! PID helper (n-sigma-cut) More... | |
Char_t | fTPCsigmaCutRequired |
Sigma cut Requirement for TPC and Particle Species. More... | |
Char_t | fTOFsigmaCutRequired |
Sigma cut Requirement for TOF and Particle Species. More... | |
Float_t | fCutTPCnSigma [AliPID::kSPECIES *2] |
Species dependent cut on the distance to the TPC dE/dx line. More... | |
Float_t | fCutTOFnSigma [AliPID::kSPECIES *2] |
Species dependent cut on the distance to the TOF calculated time of flight line. More... | |
Float_t | fCutTPCclusterRatio |
Cut on Ratio of found clusters with repect to findable clusters in the TPC. More... | |
Float_t | fMinMomentumTOF |
Apply TOF PID only above a certain momentum. More... | |
TH1I * | fHcutStatistics |
Cut Statistics. More... | |
TH2I * | fHcutCorrelation |
Cut Correlation. More... | |
TH1F * | fHclusterRatio [2] |
TPC cluster Ratio. More... | |
TH1F * | fHnSigmaTPC [AliPID::kSPECIES][2] |
TPC n-sigma cut. More... | |
TH1F * | fHnSigmaTOF [AliPID::kSPECIES][2] |
TOF n-sigma cut. More... | |
Static Protected Attributes | |
static const Int_t | kNcuts = 3 |
Number of Cuts. More... | |
Private Types | |
enum | { kHasHistograms = BIT(17) } |
Class for PID cuts.
Cuts the track based on numbers of sigmas in the detectors TPC and TOF The sigma cuts can be applied symmetrically or assymetrically
Definition at line 28 of file AliESDpidCuts.h.
|
private |
Enumerator | |
---|---|
kHasHistograms |
Definition at line 29 of file AliESDpidCuts.h.
AliESDpidCuts::AliESDpidCuts | ( | const Char_t * | name = "AliESDpidCuts" , |
const Char_t * | title = "" |
||
) |
Default constructor
Definition at line 40 of file AliESDpidCuts.cxx.
AliESDpidCuts::AliESDpidCuts | ( | const AliESDpidCuts & | ref | ) |
Copy constructor
Definition at line 61 of file AliESDpidCuts.cxx.
|
virtual |
Destructor
Definition at line 98 of file AliESDpidCuts.cxx.
|
virtual |
Check whether the tracks survived the cuts
Definition at line 233 of file AliESDpidCuts.cxx.
Referenced by IsSelected().
|
virtual |
void AliESDpidCuts::DefineHistograms | ( | Color_t | color = kRed | ) |
Swich on QA and create the histograms
Definition at line 203 of file AliESDpidCuts.cxx.
Referenced by HasHistograms().
void AliESDpidCuts::DrawHistograms | ( | ) |
Draw the Histograms
Definition at line 351 of file AliESDpidCuts.cxx.
Referenced by HasHistograms().
|
inline |
Definition at line 51 of file AliESDpidCuts.h.
|
inline |
Definition at line 42 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), Merge(), and SaveHistograms().
|
virtual |
Init function, get PID response from the Analysis Manager
Reimplemented from AliAnalysisCuts.
Definition at line 112 of file AliESDpidCuts.cxx.
Referenced by AcceptTrack().
|
virtual |
Select Track
Reimplemented from AliAnalysisCuts.
Definition at line 125 of file AliESDpidCuts.cxx.
Referenced by HasHistograms().
|
inlinevirtual |
Implements AliAnalysisCuts.
Definition at line 47 of file AliESDpidCuts.h.
|
virtual |
Merge Cut objects
Reimplemented from AliAnalysisCuts.
Definition at line 172 of file AliESDpidCuts.cxx.
AliESDpidCuts & AliESDpidCuts::operator= | ( | const AliESDpidCuts & | ref | ) |
Assignment operator
Definition at line 89 of file AliESDpidCuts.cxx.
void AliESDpidCuts::SaveHistograms | ( | const Char_t * | location = NULL | ) |
Save the histograms to a file
Definition at line 317 of file AliESDpidCuts.cxx.
Referenced by HasHistograms().
|
inline |
Definition at line 58 of file AliESDpidCuts.h.
|
inline |
Definition at line 50 of file AliESDpidCuts.h.
|
inline |
symmetric sigma cut for TOF PID
Definition at line 101 of file AliESDpidCuts.h.
Referenced by SetTPCclusterRatioCut().
|
inline |
assymetric sigma cut for TOF PID
Definition at line 110 of file AliESDpidCuts.h.
|
inline |
Definition at line 53 of file AliESDpidCuts.h.
|
inline |
symmetric sigma cut for TPC PID
Definition at line 83 of file AliESDpidCuts.h.
Referenced by SetTPCclusterRatioCut().
|
inline |
assymetric sigma cut for TPC PID
Definition at line 92 of file AliESDpidCuts.h.
|
protected |
Species dependent cut on the distance to the TOF calculated time of flight line.
Definition at line 66 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), and SetTOFnSigmaCut().
|
protected |
Cut on Ratio of found clusters with repect to findable clusters in the TPC.
Definition at line 67 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), Copy(), and SetTPCclusterRatioCut().
|
protected |
Species dependent cut on the distance to the TPC dE/dx line.
Definition at line 65 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), and SetTPCnSigmaCut().
|
protected |
TPC cluster Ratio.
Definition at line 74 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), DefineHistograms(), DrawHistograms(), Merge(), SaveHistograms(), and ~AliESDpidCuts().
|
protected |
Cut Correlation.
Definition at line 73 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), DefineHistograms(), DrawHistograms(), Merge(), SaveHistograms(), and ~AliESDpidCuts().
|
protected |
Cut Statistics.
Definition at line 72 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), DefineHistograms(), DrawHistograms(), Merge(), and SaveHistograms().
|
protected |
TOF n-sigma cut.
Definition at line 76 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), DefineHistograms(), DrawHistograms(), Merge(), SaveHistograms(), and ~AliESDpidCuts().
|
protected |
TPC n-sigma cut.
Definition at line 75 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), DefineHistograms(), DrawHistograms(), Merge(), SaveHistograms(), and ~AliESDpidCuts().
|
protected |
Apply TOF PID only above a certain momentum.
Definition at line 68 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), Copy(), and SetMinMomentumTOF().
|
protected |
! PID helper (n-sigma-cut)
Definition at line 62 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), AliESDpidCuts(), Copy(), GetPIDresponse(), Init(), and SetPIDResponse().
|
protected |
Sigma cut Requirement for TOF and Particle Species.
Definition at line 64 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), Copy(), and SetTOFnSigmaCut().
|
protected |
Sigma cut Requirement for TPC and Particle Species.
Definition at line 63 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), Copy(), and SetTPCnSigmaCut().
|
staticprotected |
Number of Cuts.
Definition at line 61 of file AliESDpidCuts.h.
Referenced by AcceptTrack(), and DefineHistograms().