AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliPrimaryPionCuts Class Reference

#include <AliPrimaryPionCuts.h>

Inheritance diagram for AliPrimaryPionCuts:

Public Types

enum  cutIds {
  kEtaCut, kClsITSCut, kClsTPCCut, kDCACut,
  kPtCut, kPidedxSigmaITSCut, kPidedxSigmaTPCCut, kPiTOFSigmaPID,
  kMassCut, kNCuts
}
 
enum  pionCuts {
  kPionIn =0, kNoTracks, kTrackCuts, kdEdxCuts,
  kPionOut
}
 

Public Member Functions

Bool_t SetCutIds (TString cutString)
 
Bool_t SetCut (cutIds cutID, Int_t cut)
 
More...
 
Bool_t UpdateCutString ()
 
More...
 
Bool_t InitializeCutsFromCutString (const TString analysisCutSelection)
 
More...
 
 AliPrimaryPionCuts (const char *name="PionCuts", const char *title="Pion Cuts")
 
virtual ~AliPrimaryPionCuts ()
 
virtual Bool_t IsSelected (TObject *)
 
virtual Bool_t IsSelected (TList *)
 
TString GetCutNumber ()
 
More...
 
Bool_t PionIsSelectedMC (Int_t labelParticle, AliStack *fMCStack)
 
More...
 
Bool_t TrackIsSelected (AliESDtrack *lTrack)
 
More...
 
Bool_t PionIsSelected (AliESDtrack *lTrack)
 
More...
 
Bool_t InitPIDResponse ()
 
void SetPIDResponse (AliPIDResponse *pidResponse)
 
AliPIDResponse * GetPIDResponse ()
 
void PrintCuts ()
 
More...
 
void PrintCutsWithValues ()
 
More...
 
void InitCutHistograms (TString name="", Bool_t preCut=kTRUE, TString cutName="")
 
void SetFillCutHistograms (TString name="", Bool_t preCut=kTRUE, TString cutName="")
 
TListGetCutHistograms ()
 
Bool_t dEdxCuts (AliVTrack *track)
 Cut functions. More...
 
Bool_t SetTPCdEdxCutPionLine (Int_t pidedxSigmaCut)
 
More...
 
Bool_t SetITSdEdxCutPionLine (Int_t ededxSigmaCut)
 
More...
 
Bool_t SetITSClusterCut (Int_t clsITSCut)
 
More...
 
Bool_t SetTPCClusterCut (Int_t clsTPCCut)
 
More...
 
Bool_t SetEtaCut (Int_t etaCut)
 
More...
 
Bool_t SetPtCut (Int_t ptCut)
 
More...
 
Bool_t SetDCACut (Int_t dcaCut)
 
More...
 
void SetEtaShift (Double_t etaShift)
 
Bool_t SetTOFPionPIDCut (Int_t TOFelectronPID)
 
More...
 
Bool_t SetMassCut (Int_t massCut)
 
More...
 
Double_t GetMassCut ()
 
Double_t GetEtaCut ()
 
Double_t GetNFindableClustersTPC (AliESDtrack *lTrack)
 
More...
 
Bool_t DoWeights ()
 
Bool_t DoMassCut ()
 

Static Public Member Functions

static AliPrimaryPionCutsGetStandardCuts2010PbPb ()
 
More...
 
static AliPrimaryPionCutsGetStandardCuts2010pp ()
 
More...
 
static AliVTrack * GetTrack (AliVEvent *event, Int_t label)
 
More...
 

Public Attributes

Int_t fCuts [kNCuts]
 

Static Public Attributes

static const char * fgkCutNames [kNCuts]
 

Protected Attributes

TListfHistograms
 
AliPIDResponse * fPIDResponse
 
AliESDtrackCuts * fEsdTrackCuts
 
Double_t fEtaCut
 
Double_t fEtaShift
 
Bool_t fDoEtaCut
 
Double_t fPtCut
 
Double_t fMinClsTPC
 
Double_t fMinClsTPCToF
 
Bool_t fDodEdxSigmaITSCut
 
Bool_t fDodEdxSigmaTPCCut
 
Bool_t fDoTOFsigmaCut
 
Double_t fPIDnSigmaAbovePionLineITS
 
Double_t fPIDnSigmaBelowPionLineITS
 
Double_t fPIDnSigmaAbovePionLineTPC
 
Double_t fPIDnSigmaBelowPionLineTPC
 
Double_t fPIDnSigmaAbovePionLineTOF
 
Double_t fPIDnSigmaBelowPionLineTOF
 
Bool_t fUseCorrectedTPCClsInfo
 
Bool_t fUseTOFpid
 
Bool_t fRequireTOF
 
Bool_t fDoMassCut
 
Double_t fMassCut
 
Bool_t fDoWeights
 
TObjString * fCutString
 
TString fCutStringRead
 
TH1F * fHistCutIndex
 
TH1F * fHistdEdxCuts
 
TH2FfHistITSdEdxbefore
 
TH2FfHistITSdEdxafter
 
TH2FfHistTPCdEdxbefore
 
TH2FfHistTPCdEdxafter
 
TH2FfHistTPCdEdxSignalbefore
 
TH2FfHistTPCdEdxSignalafter
 
TH2FfHistTOFbefore
 
TH2FfHistTOFafter
 
TH2FfHistTrackDCAxyPtbefore
 
TH2FfHistTrackDCAxyPtafter
 
TH2FfHistTrackDCAzPtbefore
 
TH2FfHistTrackDCAzPtafter
 
TH2FfHistTrackNFindClsPtTPCbefore
 
TH2FfHistTrackNFindClsPtTPCafter
 
TString fStringITSClusterCut
 

Private Member Functions

 AliPrimaryPionCuts (const AliPrimaryPionCuts &)
 
AliPrimaryPionCutsoperator= (const AliPrimaryPionCuts &)
 

Detailed Description

Definition at line 35 of file AliPrimaryPionCuts.h.

Member Enumeration Documentation

Enumerator
kEtaCut 
kClsITSCut 
kClsTPCCut 
kDCACut 
kPtCut 
kPidedxSigmaITSCut 
kPidedxSigmaTPCCut 
kPiTOFSigmaPID 
kMassCut 
kNCuts 

Definition at line 40 of file AliPrimaryPionCuts.h.

Enumerator
kPionIn 
kNoTracks 
kTrackCuts 
kdEdxCuts 
kPionOut 

Definition at line 54 of file AliPrimaryPionCuts.h.

Constructor & Destructor Documentation

AliPrimaryPionCuts::AliPrimaryPionCuts ( const char *  name = "PionCuts",
const char *  title = "Pion Cuts" 
)

Definition at line 62 of file AliPrimaryPionCuts.cxx.

Referenced by GetStandardCuts2010PbPb(), and GetStandardCuts2010pp().

AliPrimaryPionCuts::~AliPrimaryPionCuts ( )
virtual

Definition at line 117 of file AliPrimaryPionCuts.cxx.

AliPrimaryPionCuts::AliPrimaryPionCuts ( const AliPrimaryPionCuts )
private

Member Function Documentation

Bool_t AliPrimaryPionCuts::dEdxCuts ( AliVTrack *  track)

Cut functions.


Definition at line 373 of file AliPrimaryPionCuts.cxx.

Referenced by PionIsSelected().

Bool_t AliPrimaryPionCuts::DoMassCut ( )
inline

Definition at line 120 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::DoWeights ( )
inline

Definition at line 119 of file AliPrimaryPionCuts.h.

TList* AliPrimaryPionCuts::GetCutHistograms ( )
inline

Definition at line 97 of file AliPrimaryPionCuts.h.

TString AliPrimaryPionCuts::GetCutNumber ( )


Definition at line 1047 of file AliPrimaryPionCuts.cxx.

Referenced by AliPrimaryPionCuts(), InitCutHistograms(), and UpdateCutString().

Double_t AliPrimaryPionCuts::GetEtaCut ( )
inline

Definition at line 117 of file AliPrimaryPionCuts.h.

Double_t AliPrimaryPionCuts::GetMassCut ( )
inline

Definition at line 114 of file AliPrimaryPionCuts.h.

Double_t AliPrimaryPionCuts::GetNFindableClustersTPC ( AliESDtrack *  lTrack)


Definition at line 462 of file AliPrimaryPionCuts.cxx.

Referenced by PionIsSelected(), and TrackIsSelected().

AliPIDResponse* AliPrimaryPionCuts::GetPIDResponse ( )
inline

Definition at line 90 of file AliPrimaryPionCuts.h.

AliPrimaryPionCuts * AliPrimaryPionCuts::GetStandardCuts2010PbPb ( )
static


Definition at line 1054 of file AliPrimaryPionCuts.cxx.

AliPrimaryPionCuts * AliPrimaryPionCuts::GetStandardCuts2010pp ( )
static


Definition at line 1064 of file AliPrimaryPionCuts.cxx.

AliVTrack * AliPrimaryPionCuts::GetTrack ( AliVEvent *  event,
Int_t  label 
)
static


Definition at line 437 of file AliPrimaryPionCuts.cxx.

void AliPrimaryPionCuts::InitCutHistograms ( TString  name = "",
Bool_t  preCut = kTRUE,
TString  cutName = "" 
)

Definition at line 131 of file AliPrimaryPionCuts.cxx.

Bool_t AliPrimaryPionCuts::InitializeCutsFromCutString ( const TString  analysisCutSelection)


Definition at line 490 of file AliPrimaryPionCuts.cxx.

Referenced by GetStandardCuts2010PbPb(), and GetStandardCuts2010pp().

Bool_t AliPrimaryPionCuts::InitPIDResponse ( )

Definition at line 255 of file AliPrimaryPionCuts.cxx.

Referenced by AliPrimaryPionCuts(), and dEdxCuts().

virtual Bool_t AliPrimaryPionCuts::IsSelected ( TObject )
inlinevirtual

Definition at line 76 of file AliPrimaryPionCuts.h.

virtual Bool_t AliPrimaryPionCuts::IsSelected ( TList )
inlinevirtual

Definition at line 77 of file AliPrimaryPionCuts.h.

AliPrimaryPionCuts& AliPrimaryPionCuts::operator= ( const AliPrimaryPionCuts )
private
Bool_t AliPrimaryPionCuts::PionIsSelected ( AliESDtrack *  lTrack)


Definition at line 290 of file AliPrimaryPionCuts.cxx.

Bool_t AliPrimaryPionCuts::PionIsSelectedMC ( Int_t  labelParticle,
AliStack *  fMCStack 
)


Definition at line 271 of file AliPrimaryPionCuts.cxx.

void AliPrimaryPionCuts::PrintCuts ( )


Definition at line 593 of file AliPrimaryPionCuts.cxx.

void AliPrimaryPionCuts::PrintCutsWithValues ( )


Definition at line 601 of file AliPrimaryPionCuts.cxx.

Referenced by InitializeCutsFromCutString().

Bool_t AliPrimaryPionCuts::SetCut ( cutIds  cutID,
Int_t  cut 
)


Set individual cut ID

Definition at line 523 of file AliPrimaryPionCuts.cxx.

Referenced by InitializeCutsFromCutString().

Bool_t AliPrimaryPionCuts::SetCutIds ( TString  cutString)
Bool_t AliPrimaryPionCuts::SetDCACut ( Int_t  dcaCut)


Definition at line 924 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetEtaCut ( Int_t  etaCut)


Definition at line 854 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

void AliPrimaryPionCuts::SetEtaShift ( Double_t  etaShift)
inline

Definition at line 111 of file AliPrimaryPionCuts.h.

void AliPrimaryPionCuts::SetFillCutHistograms ( TString  name = "",
Bool_t  preCut = kTRUE,
TString  cutName = "" 
)
inline

Definition at line 96 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::SetITSClusterCut ( Int_t  clsITSCut)


Definition at line 741 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetITSdEdxCutPionLine ( Int_t  ededxSigmaCut)


Definition at line 630 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetMassCut ( Int_t  massCut)


Definition at line 1003 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

void AliPrimaryPionCuts::SetPIDResponse ( AliPIDResponse *  pidResponse)
inline

Definition at line 89 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::SetPtCut ( Int_t  ptCut)


Definition at line 901 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTOFPionPIDCut ( Int_t  TOFelectronPID)


Definition at line 956 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTPCClusterCut ( Int_t  clsTPCCut)


Definition at line 792 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTPCdEdxCutPionLine ( Int_t  pidedxSigmaCut)


Definition at line 686 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::TrackIsSelected ( AliESDtrack *  lTrack)


Definition at line 346 of file AliPrimaryPionCuts.cxx.

Referenced by PionIsSelected().

Bool_t AliPrimaryPionCuts::UpdateCutString ( )


Update the cut string (if it has been created yet)

Definition at line 477 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Member Data Documentation

Int_t AliPrimaryPionCuts::fCuts[kNCuts]
TObjString* AliPrimaryPionCuts::fCutString
protected

Definition at line 153 of file AliPrimaryPionCuts.h.

Referenced by AliPrimaryPionCuts(), UpdateCutString(), and ~AliPrimaryPionCuts().

TString AliPrimaryPionCuts::fCutStringRead
protected

Definition at line 154 of file AliPrimaryPionCuts.h.

Referenced by GetCutNumber(), and InitializeCutsFromCutString().

Bool_t AliPrimaryPionCuts::fDodEdxSigmaITSCut
protected

Definition at line 134 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetITSdEdxCutPionLine().

Bool_t AliPrimaryPionCuts::fDodEdxSigmaTPCCut
protected

Definition at line 135 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetTPCdEdxCutPionLine().

Bool_t AliPrimaryPionCuts::fDoEtaCut
protected
Bool_t AliPrimaryPionCuts::fDoMassCut
protected

Definition at line 146 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetMassCut().

Bool_t AliPrimaryPionCuts::fDoTOFsigmaCut
protected

Definition at line 136 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues().

Bool_t AliPrimaryPionCuts::fDoWeights
protected

Definition at line 148 of file AliPrimaryPionCuts.h.

AliESDtrackCuts* AliPrimaryPionCuts::fEsdTrackCuts
protected
Double_t AliPrimaryPionCuts::fEtaCut
protected
Double_t AliPrimaryPionCuts::fEtaShift
protected

Definition at line 129 of file AliPrimaryPionCuts.h.

Referenced by PionIsSelectedMC(), and TrackIsSelected().

const char* AliPrimaryPionCuts::fgkCutNames[kNCuts]
static

Definition at line 67 of file AliPrimaryPionCuts.h.

Referenced by PrintCuts().

TH1F* AliPrimaryPionCuts::fHistCutIndex
protected

Definition at line 155 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH1F* AliPrimaryPionCuts::fHistdEdxCuts
protected

Definition at line 156 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistITSdEdxafter
protected

Definition at line 158 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistITSdEdxbefore
protected

Definition at line 157 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TList* AliPrimaryPionCuts::fHistograms
protected

Definition at line 124 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTOFafter
protected

Definition at line 164 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTOFbefore
protected

Definition at line 163 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxafter
protected

Definition at line 160 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxbefore
protected

Definition at line 159 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxSignalafter
protected

Definition at line 162 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxSignalbefore
protected

Definition at line 161 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTrackDCAxyPtafter
protected

Definition at line 166 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAxyPtbefore
protected

Definition at line 165 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAzPtafter
protected

Definition at line 168 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAzPtbefore
protected

Definition at line 167 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackNFindClsPtTPCafter
protected

Definition at line 170 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackNFindClsPtTPCbefore
protected

Definition at line 169 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

Double_t AliPrimaryPionCuts::fMassCut
protected

Definition at line 147 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetMassCut().

Double_t AliPrimaryPionCuts::fMinClsTPC
protected

Definition at line 132 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

Double_t AliPrimaryPionCuts::fMinClsTPCToF
protected

Definition at line 133 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), SetTPCClusterCut(), and TrackIsSelected().

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineITS
protected

Definition at line 137 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetITSdEdxCutPionLine().

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineTOF
protected

Definition at line 141 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetTOFPionPIDCut().

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineTPC
protected

Definition at line 139 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetTPCdEdxCutPionLine().

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineITS
protected

Definition at line 138 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetITSdEdxCutPionLine().

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineTOF
protected

Definition at line 142 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetTOFPionPIDCut().

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineTPC
protected

Definition at line 140 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), PrintCutsWithValues(), and SetTPCdEdxCutPionLine().

AliPIDResponse* AliPrimaryPionCuts::fPIDResponse
protected

Definition at line 125 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitPIDResponse().

Double_t AliPrimaryPionCuts::fPtCut
protected

Definition at line 131 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), SetPtCut(), and TrackIsSelected().

Bool_t AliPrimaryPionCuts::fRequireTOF
protected

Definition at line 145 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and SetTOFPionPIDCut().

TString AliPrimaryPionCuts::fStringITSClusterCut
protected

Definition at line 172 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetITSClusterCut().

Bool_t AliPrimaryPionCuts::fUseCorrectedTPCClsInfo
protected

Definition at line 143 of file AliPrimaryPionCuts.h.

Referenced by GetNFindableClustersTPC(), and SetTPCClusterCut().

Bool_t AliPrimaryPionCuts::fUseTOFpid
protected

Definition at line 144 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and SetTOFPionPIDCut().


The documentation for this class was generated from the following files: