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

#include <AliV0CutsStrange.h>

Inheritance diagram for AliV0CutsStrange:

Public Types

enum  cutIds {
  kv0FinderType, kclsTPCCut, kProtonPIDcut, kPionPIDcut,
  kNCuts
}
 
enum  V0Cuts {
  kV0In =0, kOnFly, kNoTracks, kNoV0,
  kSameSign, kdEdxCuts, kConvPointFail, kPhotonCuts,
  kEventPlane, kV0Out
}
 

Public Member Functions

 AliV0CutsStrange (const char *name="V0ReaderCutsStrange", const char *title="V0ReaderCutsStrange")
 
 AliV0CutsStrange (const AliV0CutsStrange &)
 
AliV0CutsStrangeoperator= (const AliV0CutsStrange &)
 
virtual ~AliV0CutsStrange ()
 
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...
 
Bool_t InitPIDResponse ()
 
void SetPIDResponse (AliPIDResponse *pidResponse)
 
AliPIDResponse * GetPIDResponse ()
 
TString GetCutNumber ()
 
More...
 
void PrintCuts ()
 
More...
 
void PrintCutsWithValues ()
 
More...
 
void InitCutHistograms (TString name="", Bool_t preCut=kTRUE)
 
void SetFillCutHistograms (TString name="", Bool_t preCut=kTRUE)
 
TListGetCutHistograms ()
 
void FillV0CutIndex (Int_t v0cut)
 
void SetV0ReaderName (TString name)
 
Bool_t PhotonIsSelectedMC (TParticle *particle, AliStack *fMCStack, Bool_t checkForConvertedGamma)
 
More...
 
AliVTrack * GetTrack (AliVEvent *event, Int_t label)
 
More...
 
AliESDtrack * GetESDTrack (AliESDEvent *event, Int_t label)
 
More...
 
Bool_t GetPIDpion (AliVTrack *fCurrentTrack)
 
More...
 
Bool_t GetPIDproton (AliVTrack *fCurrentTrack)
 
More...
 
Bool_t SetV0Finder (Int_t v0FinderType)
 
More...
 
Bool_t SetTPCClusterCut (Int_t clsTPCCut)
 
More...
 
Bool_t SetProtonPIDCut (Int_t pPIDcut)
 
More...
 
Bool_t SetPionPIDCut (Int_t pPIDcut)
 
More...
 
Bool_t SelectV0Finder (Bool_t onfly)
 
Int_t GetV0FinderSameSign ()
 
void SetIsQA (Bool_t isQA)
 
virtual Bool_t IsSelected (TObject *)
 
virtual Bool_t IsSelected (TList *)
 

Public Attributes

Int_t fCuts [kNCuts]
 

Static Public Attributes

static const char * fgkCutNames [kNCuts]
 

Protected Attributes

TListfHistograms
 
AliPIDResponse * fPIDResponse
 
TString fV0ReaderStrangeName
 
TObjString * fCutString
 
TString fCutStringRead
 
Bool_t fIsQA
 
Bool_t fUseOnFlyV0Finder
 
Int_t fUseOnFlyV0FinderSameSign
 
Double_t fUseCorrectedTPCClsInfo
 
Double_t fMinClsTPCToF
 
Double_t fMinClsTPC
 
Double_t fPIDTPCnSigmaProtonLow
 
Double_t fPIDTPCnSigmaProtonUp
 
Double_t fPIDTOFnSigmaProtonLow
 
Double_t fPIDTOFnSigmaProtonUp
 
Double_t fPIDTPCnSigmaPionLow
 
Double_t fPIDTPCnSigmaPionUp
 
Double_t fPIDTOFnSigmaPionLow
 
Double_t fPIDTOFnSigmaPionUp
 
TH1F * fHistoCutIndex
 
TH2FfHistodEdxCutsProton
 
TH2FfHistoTPCdEdxProtonBefore
 
TH2FfHistoTPCdEdxSigmaProtonBefore
 
TH2FfHistoTPCdEdxProtonAfter
 
TH2FfHistoTPCdEdxSigmaProtonAfter
 
TH2FfHistoTOFdEdxProtonBefore
 
TH2FfHistoTOFdEdxSigmaProtonBefore
 
TH2FfHistoTOFdEdxProtonAfter
 
TH2FfHistoTOFdEdxSigmaProtonAfter
 
TH2FfHistodEdxCutsPion
 
TH2FfHistoTPCdEdxPionBefore
 
TH2FfHistoTPCdEdxSigmaPionBefore
 
TH2FfHistoTPCdEdxPionAfter
 
TH2FfHistoTPCdEdxSigmaPionAfter
 
TH2FfHistoTOFdEdxPionBefore
 
TH2FfHistoTOFdEdxSigmaPionBefore
 
TH2FfHistoTOFdEdxPionAfter
 
TH2FfHistoTOFdEdxSigmaPionAfter
 
Bool_t fPreSelCut
 

Detailed Description

Definition at line 36 of file AliV0CutsStrange.h.

Member Enumeration Documentation

Enumerator
kv0FinderType 
kclsTPCCut 
kProtonPIDcut 
kPionPIDcut 
kNCuts 

Definition at line 39 of file AliV0CutsStrange.h.

Enumerator
kV0In 
kOnFly 
kNoTracks 
kNoV0 
kSameSign 
kdEdxCuts 
kConvPointFail 
kPhotonCuts 
kEventPlane 
kV0Out 

Definition at line 47 of file AliV0CutsStrange.h.

Constructor & Destructor Documentation

AliV0CutsStrange::AliV0CutsStrange ( const char *  name = "V0ReaderCutsStrange",
const char *  title = "V0ReaderCutsStrange" 
)

Definition at line 45 of file AliV0CutsStrange.cxx.

AliV0CutsStrange::AliV0CutsStrange ( const AliV0CutsStrange ref)

Definition at line 95 of file AliV0CutsStrange.cxx.

AliV0CutsStrange::~AliV0CutsStrange ( )
virtual

Definition at line 147 of file AliV0CutsStrange.cxx.

Member Function Documentation

void AliV0CutsStrange::FillV0CutIndex ( Int_t  v0cut)
inline

Definition at line 87 of file AliV0CutsStrange.h.

TList* AliV0CutsStrange::GetCutHistograms ( )
inline

Definition at line 86 of file AliV0CutsStrange.h.

TString AliV0CutsStrange::GetCutNumber ( )


Definition at line 264 of file AliV0CutsStrange.cxx.

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

AliESDtrack * AliV0CutsStrange::GetESDTrack ( AliESDEvent event,
Int_t  label 
)


Definition at line 460 of file AliV0CutsStrange.cxx.

Bool_t AliV0CutsStrange::GetPIDpion ( AliVTrack *  fCurrentTrack)


Definition at line 566 of file AliV0CutsStrange.cxx.

Bool_t AliV0CutsStrange::GetPIDproton ( AliVTrack *  fCurrentTrack)


Definition at line 618 of file AliV0CutsStrange.cxx.

AliPIDResponse* AliV0CutsStrange::GetPIDResponse ( )
inline

Definition at line 77 of file AliV0CutsStrange.h.

AliVTrack * AliV0CutsStrange::GetTrack ( AliVEvent *  event,
Int_t  label 
)


Definition at line 426 of file AliV0CutsStrange.cxx.

Int_t AliV0CutsStrange::GetV0FinderSameSign ( )
inline

Definition at line 109 of file AliV0CutsStrange.h.

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

Definition at line 157 of file AliV0CutsStrange.cxx.

Referenced by SetFillCutHistograms().

Bool_t AliV0CutsStrange::InitializeCutsFromCutString ( const TString  analysisCutSelection)


Definition at line 325 of file AliV0CutsStrange.cxx.

Bool_t AliV0CutsStrange::InitPIDResponse ( )

Definition at line 271 of file AliV0CutsStrange.cxx.

Referenced by AliV0CutsStrange(), GetPIDpion(), and GetPIDproton().

virtual Bool_t AliV0CutsStrange::IsSelected ( TObject )
inlinevirtual

Definition at line 113 of file AliV0CutsStrange.h.

virtual Bool_t AliV0CutsStrange::IsSelected ( TList )
inlinevirtual

Definition at line 114 of file AliV0CutsStrange.h.

AliV0CutsStrange& AliV0CutsStrange::operator= ( const AliV0CutsStrange )
Bool_t AliV0CutsStrange::PhotonIsSelectedMC ( TParticle *  particle,
AliStack *  fMCStack,
Bool_t  checkForConvertedGamma 
)


Definition at line 477 of file AliV0CutsStrange.cxx.

void AliV0CutsStrange::PrintCuts ( )


Definition at line 374 of file AliV0CutsStrange.cxx.

void AliV0CutsStrange::PrintCutsWithValues ( )


Definition at line 382 of file AliV0CutsStrange.cxx.

Referenced by InitializeCutsFromCutString().

Bool_t AliV0CutsStrange::SelectV0Finder ( Bool_t  onfly)
inline

Definition at line 105 of file AliV0CutsStrange.h.

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


Set individual cut ID

Definition at line 285 of file AliV0CutsStrange.cxx.

Referenced by InitializeCutsFromCutString().

Bool_t AliV0CutsStrange::SetCutIds ( TString  cutString)
void AliV0CutsStrange::SetFillCutHistograms ( TString  name = "",
Bool_t  preCut = kTRUE 
)
inline

Definition at line 85 of file AliV0CutsStrange.h.

void AliV0CutsStrange::SetIsQA ( Bool_t  isQA)
inline

Definition at line 111 of file AliV0CutsStrange.h.

void AliV0CutsStrange::SetPIDResponse ( AliPIDResponse *  pidResponse)
inline

Definition at line 76 of file AliV0CutsStrange.h.

Bool_t AliV0CutsStrange::SetPionPIDCut ( Int_t  pPIDcut)


Definition at line 741 of file AliV0CutsStrange.cxx.

Referenced by SetCut().

Bool_t AliV0CutsStrange::SetProtonPIDCut ( Int_t  pPIDcut)


Definition at line 717 of file AliV0CutsStrange.cxx.

Referenced by SetCut().

Bool_t AliV0CutsStrange::SetTPCClusterCut ( Int_t  clsTPCCut)


Definition at line 670 of file AliV0CutsStrange.cxx.

Referenced by SetCut().

Bool_t AliV0CutsStrange::SetV0Finder ( Int_t  v0FinderType)


Definition at line 396 of file AliV0CutsStrange.cxx.

Referenced by SetCut().

void AliV0CutsStrange::SetV0ReaderName ( TString  name)
inline

Definition at line 89 of file AliV0CutsStrange.h.

Bool_t AliV0CutsStrange::UpdateCutString ( )


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

Definition at line 362 of file AliV0CutsStrange.cxx.

Referenced by SetCut().

Member Data Documentation

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

Definition at line 121 of file AliV0CutsStrange.h.

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

TString AliV0CutsStrange::fCutStringRead
protected

Definition at line 122 of file AliV0CutsStrange.h.

Referenced by GetCutNumber(), and InitializeCutsFromCutString().

const char* AliV0CutsStrange::fgkCutNames[kNCuts]
static

Definition at line 71 of file AliV0CutsStrange.h.

Referenced by PrintCuts().

TH1F* AliV0CutsStrange::fHistoCutIndex
protected

Definition at line 145 of file AliV0CutsStrange.h.

Referenced by FillV0CutIndex(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistodEdxCutsPion
protected

Definition at line 155 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistodEdxCutsProton
protected

Definition at line 146 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), GetPIDproton(), and InitCutHistograms().

TList* AliV0CutsStrange::fHistograms
protected

Definition at line 117 of file AliV0CutsStrange.h.

Referenced by GetCutHistograms(), InitCutHistograms(), and SetFillCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxPionAfter
protected

Definition at line 162 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxPionBefore
protected

Definition at line 160 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxProtonAfter
protected

Definition at line 153 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxProtonBefore
protected

Definition at line 151 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxSigmaPionAfter
protected

Definition at line 163 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxSigmaPionBefore
protected

Definition at line 161 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxSigmaProtonAfter
protected

Definition at line 154 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTOFdEdxSigmaProtonBefore
protected

Definition at line 152 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxPionAfter
protected

Definition at line 158 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxPionBefore
protected

Definition at line 156 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxProtonAfter
protected

Definition at line 149 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxProtonBefore
protected

Definition at line 147 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxSigmaPionAfter
protected

Definition at line 159 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxSigmaPionBefore
protected

Definition at line 157 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxSigmaProtonAfter
protected

Definition at line 150 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

TH2F* AliV0CutsStrange::fHistoTPCdEdxSigmaProtonBefore
protected

Definition at line 148 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and InitCutHistograms().

Bool_t AliV0CutsStrange::fIsQA
protected

Definition at line 124 of file AliV0CutsStrange.h.

Referenced by InitCutHistograms(), and SetIsQA().

Double_t AliV0CutsStrange::fMinClsTPC
protected

Definition at line 132 of file AliV0CutsStrange.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

Double_t AliV0CutsStrange::fMinClsTPCToF
protected

Definition at line 131 of file AliV0CutsStrange.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

AliPIDResponse* AliV0CutsStrange::fPIDResponse
protected
Double_t AliV0CutsStrange::fPIDTOFnSigmaPionLow
protected

Definition at line 139 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and SetPionPIDCut().

Double_t AliV0CutsStrange::fPIDTOFnSigmaPionUp
protected

Definition at line 140 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and SetPionPIDCut().

Double_t AliV0CutsStrange::fPIDTOFnSigmaProtonLow
protected

Definition at line 135 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and SetProtonPIDCut().

Double_t AliV0CutsStrange::fPIDTOFnSigmaProtonUp
protected

Definition at line 136 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and SetProtonPIDCut().

Double_t AliV0CutsStrange::fPIDTPCnSigmaPionLow
protected

Definition at line 137 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and SetPionPIDCut().

Double_t AliV0CutsStrange::fPIDTPCnSigmaPionUp
protected

Definition at line 138 of file AliV0CutsStrange.h.

Referenced by GetPIDpion(), and SetPionPIDCut().

Double_t AliV0CutsStrange::fPIDTPCnSigmaProtonLow
protected

Definition at line 133 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and SetProtonPIDCut().

Double_t AliV0CutsStrange::fPIDTPCnSigmaProtonUp
protected

Definition at line 134 of file AliV0CutsStrange.h.

Referenced by GetPIDproton(), and SetProtonPIDCut().

Bool_t AliV0CutsStrange::fPreSelCut
protected

Definition at line 165 of file AliV0CutsStrange.h.

Double_t AliV0CutsStrange::fUseCorrectedTPCClsInfo
protected

Definition at line 130 of file AliV0CutsStrange.h.

Referenced by PrintCutsWithValues(), and SetTPCClusterCut().

Bool_t AliV0CutsStrange::fUseOnFlyV0Finder
protected

Definition at line 128 of file AliV0CutsStrange.h.

Referenced by SelectV0Finder(), and SetV0Finder().

Int_t AliV0CutsStrange::fUseOnFlyV0FinderSameSign
protected

Definition at line 129 of file AliV0CutsStrange.h.

Referenced by GetV0FinderSameSign(), and SetV0Finder().

TString AliV0CutsStrange::fV0ReaderStrangeName
protected

Definition at line 120 of file AliV0CutsStrange.h.

Referenced by GetTrack(), and SetV0ReaderName().


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