AliPhysics  59e0e03 (59e0e03)
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, AliMCEvent *mcEvent)
 
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 SetLightOutput (Bool_t flag)
 
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
 
Bool_t fDoLightOutput
 switch for running light output, kFALSE -> normal mode, kTRUE -> light mode More...
 
AliPIDResponse * fPIDResponse
 
AliESDtrackCuts * fEsdTrackCuts
 
Double_t fEtaCut
 
Double_t fEtaShift
 
Bool_t fDoEtaCut
 
Double_t fPtCut
 
Double_t fMinClsTPC
 
Double_t fChi2PerClsTPC
 
Bool_t fRequireTPCRefit
 
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
 
Double_t fMaxDCAToVertexZ
 
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 121 of file AliPrimaryPionCuts.cxx.

AliPrimaryPionCuts::AliPrimaryPionCuts ( const AliPrimaryPionCuts )
private

Member Function Documentation

Bool_t AliPrimaryPionCuts::dEdxCuts ( AliVTrack *  track)

Cut functions.


Definition at line 379 of file AliPrimaryPionCuts.cxx.

Referenced by PionIsSelected().

Bool_t AliPrimaryPionCuts::DoMassCut ( )
inline

Definition at line 122 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::DoWeights ( )
inline

Definition at line 121 of file AliPrimaryPionCuts.h.

TList* AliPrimaryPionCuts::GetCutHistograms ( )
inline

Definition at line 99 of file AliPrimaryPionCuts.h.

TString AliPrimaryPionCuts::GetCutNumber ( )


Definition at line 1093 of file AliPrimaryPionCuts.cxx.

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

Double_t AliPrimaryPionCuts::GetEtaCut ( )
inline

Definition at line 119 of file AliPrimaryPionCuts.h.

Double_t AliPrimaryPionCuts::GetMassCut ( )
inline

Definition at line 116 of file AliPrimaryPionCuts.h.

Double_t AliPrimaryPionCuts::GetNFindableClustersTPC ( AliESDtrack *  lTrack)


Definition at line 468 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 1100 of file AliPrimaryPionCuts.cxx.

AliPrimaryPionCuts * AliPrimaryPionCuts::GetStandardCuts2010pp ( )
static


Definition at line 1110 of file AliPrimaryPionCuts.cxx.

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


Definition at line 443 of file AliPrimaryPionCuts.cxx.

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

Definition at line 135 of file AliPrimaryPionCuts.cxx.

Bool_t AliPrimaryPionCuts::InitializeCutsFromCutString ( const TString  analysisCutSelection)


Definition at line 496 of file AliPrimaryPionCuts.cxx.

Referenced by GetStandardCuts2010PbPb(), and GetStandardCuts2010pp().

Bool_t AliPrimaryPionCuts::InitPIDResponse ( )

Definition at line 261 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 296 of file AliPrimaryPionCuts.cxx.

Bool_t AliPrimaryPionCuts::PionIsSelectedMC ( Int_t  labelParticle,
AliMCEvent *  mcEvent 
)


Definition at line 277 of file AliPrimaryPionCuts.cxx.

void AliPrimaryPionCuts::PrintCuts ( )


Definition at line 599 of file AliPrimaryPionCuts.cxx.

void AliPrimaryPionCuts::PrintCutsWithValues ( )


Definition at line 607 of file AliPrimaryPionCuts.cxx.

Referenced by InitializeCutsFromCutString().

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


Set individual cut ID

Definition at line 529 of file AliPrimaryPionCuts.cxx.

Referenced by InitializeCutsFromCutString().

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


Definition at line 951 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetEtaCut ( Int_t  etaCut)


Definition at line 878 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

void AliPrimaryPionCuts::SetEtaShift ( Double_t  etaShift)
inline

Definition at line 113 of file AliPrimaryPionCuts.h.

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

Definition at line 98 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::SetITSClusterCut ( Int_t  clsITSCut)


Definition at line 750 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetITSdEdxCutPionLine ( Int_t  ededxSigmaCut)


Definition at line 639 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

void AliPrimaryPionCuts::SetLightOutput ( Bool_t  flag)
inline

Definition at line 95 of file AliPrimaryPionCuts.h.

Bool_t AliPrimaryPionCuts::SetMassCut ( Int_t  massCut)


Definition at line 1041 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 925 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTOFPionPIDCut ( Int_t  TOFelectronPID)


Definition at line 994 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTPCClusterCut ( Int_t  clsTPCCut)


Definition at line 801 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::SetTPCdEdxCutPionLine ( Int_t  pidedxSigmaCut)


Definition at line 695 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Bool_t AliPrimaryPionCuts::TrackIsSelected ( AliESDtrack *  lTrack)


Definition at line 352 of file AliPrimaryPionCuts.cxx.

Referenced by PionIsSelected().

Bool_t AliPrimaryPionCuts::UpdateCutString ( )


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

Definition at line 483 of file AliPrimaryPionCuts.cxx.

Referenced by SetCut().

Member Data Documentation

Double_t AliPrimaryPionCuts::fChi2PerClsTPC
protected

Definition at line 136 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

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

Definition at line 159 of file AliPrimaryPionCuts.h.

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

TString AliPrimaryPionCuts::fCutStringRead
protected

Definition at line 160 of file AliPrimaryPionCuts.h.

Referenced by GetCutNumber(), and InitializeCutsFromCutString().

Bool_t AliPrimaryPionCuts::fDodEdxSigmaITSCut
protected

Definition at line 139 of file AliPrimaryPionCuts.h.

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

Bool_t AliPrimaryPionCuts::fDodEdxSigmaTPCCut
protected

Definition at line 140 of file AliPrimaryPionCuts.h.

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

Bool_t AliPrimaryPionCuts::fDoEtaCut
protected
Bool_t AliPrimaryPionCuts::fDoLightOutput
protected

switch for running light output, kFALSE -> normal mode, kTRUE -> light mode

Definition at line 127 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms().

Bool_t AliPrimaryPionCuts::fDoMassCut
protected

Definition at line 151 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetMassCut().

Bool_t AliPrimaryPionCuts::fDoTOFsigmaCut
protected

Definition at line 141 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues().

Bool_t AliPrimaryPionCuts::fDoWeights
protected

Definition at line 153 of file AliPrimaryPionCuts.h.

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

Definition at line 132 of file AliPrimaryPionCuts.h.

Referenced by PionIsSelectedMC(), and TrackIsSelected().

const char * AliPrimaryPionCuts::fgkCutNames
static
Initial value:
= {
"kEtaCut",
"kClsITSCut",
"kClsTPCCut",
"kDCAcut",
"kPtCut",
"kPiDedxSigmaITSCut",
"kPiDedxSigmaTPCCut",
"kPiTOFSigmaCut",
"kMassCut"
}

Definition at line 67 of file AliPrimaryPionCuts.h.

Referenced by PrintCuts().

TH1F* AliPrimaryPionCuts::fHistCutIndex
protected

Definition at line 161 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH1F* AliPrimaryPionCuts::fHistdEdxCuts
protected

Definition at line 162 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistITSdEdxafter
protected

Definition at line 164 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistITSdEdxbefore
protected

Definition at line 163 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TList* AliPrimaryPionCuts::fHistograms
protected

Definition at line 126 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTOFafter
protected

Definition at line 170 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTOFbefore
protected

Definition at line 169 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxafter
protected

Definition at line 166 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxbefore
protected

Definition at line 165 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxSignalafter
protected

Definition at line 168 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTPCdEdxSignalbefore
protected

Definition at line 167 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitCutHistograms().

TH2F* AliPrimaryPionCuts::fHistTrackDCAxyPtafter
protected

Definition at line 172 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAxyPtbefore
protected

Definition at line 171 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAzPtafter
protected

Definition at line 174 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackDCAzPtbefore
protected

Definition at line 173 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackNFindClsPtTPCafter
protected

Definition at line 176 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

TH2F* AliPrimaryPionCuts::fHistTrackNFindClsPtTPCbefore
protected

Definition at line 175 of file AliPrimaryPionCuts.h.

Referenced by InitCutHistograms(), and PionIsSelected().

Double_t AliPrimaryPionCuts::fMassCut
protected

Definition at line 152 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetMassCut().

Double_t AliPrimaryPionCuts::fMaxDCAToVertexZ
protected

Definition at line 154 of file AliPrimaryPionCuts.h.

Referenced by SetDCACut().

Double_t AliPrimaryPionCuts::fMinClsTPC
protected

Definition at line 135 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

Double_t AliPrimaryPionCuts::fMinClsTPCToF
protected

Definition at line 138 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineITS
protected

Definition at line 142 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineTOF
protected

Definition at line 146 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaAbovePionLineTPC
protected

Definition at line 144 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineITS
protected

Definition at line 143 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineTOF
protected

Definition at line 147 of file AliPrimaryPionCuts.h.

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

Double_t AliPrimaryPionCuts::fPIDnSigmaBelowPionLineTPC
protected

Definition at line 145 of file AliPrimaryPionCuts.h.

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

AliPIDResponse* AliPrimaryPionCuts::fPIDResponse
protected

Definition at line 128 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and InitPIDResponse().

Double_t AliPrimaryPionCuts::fPtCut
protected

Definition at line 134 of file AliPrimaryPionCuts.h.

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

Bool_t AliPrimaryPionCuts::fRequireTOF
protected

Definition at line 150 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and SetTOFPionPIDCut().

Bool_t AliPrimaryPionCuts::fRequireTPCRefit
protected

Definition at line 137 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

TString AliPrimaryPionCuts::fStringITSClusterCut
protected

Definition at line 178 of file AliPrimaryPionCuts.h.

Referenced by PrintCutsWithValues(), and SetITSClusterCut().

Bool_t AliPrimaryPionCuts::fUseCorrectedTPCClsInfo
protected

Definition at line 148 of file AliPrimaryPionCuts.h.

Referenced by GetNFindableClustersTPC(), and SetTPCClusterCut().

Bool_t AliPrimaryPionCuts::fUseTOFpid
protected

Definition at line 149 of file AliPrimaryPionCuts.h.

Referenced by dEdxCuts(), and SetTOFPionPIDCut().


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