AliPhysics  41af4b0 (41af4b0)
AliRDHFCutsD0toKpi Class Reference

#include <AliRDHFCutsD0toKpi.h>

Inheritance diagram for AliRDHFCutsD0toKpi:

Public Types

enum  EBayesianStrategy { kBayesMomentum, kBayesWeight, kBayesWeightNoFilter, kBayesSimple }
 
enum  EBayesianCondition { kMaxProb, kAbovePrior, kThreshold }
 
- Public Types inherited from AliRDHFCuts
enum  ECentrality {
  kCentOff, kCentV0M, kCentTRK, kCentTKL,
  kCentCL1, kCentZNA, kCentZPA, kCentV0A,
  kCentCL0, kCentInvalid
}
 
enum  ESelLevel { kAll, kTracks, kPID, kCandidate }
 
enum  EPileup { kNoPileupSelection, kRejectPileupEvent, kRejectTracksFromPileupVertex, kRejectMVPileupEvent }
 
enum  ESele {
  kD0toKpiCuts, kD0toKpiPID, kD0fromDstarCuts, kD0fromDstarPID,
  kDplusCuts, kDplusPID, kDsCuts, kDsPID,
  kLcCuts, kLcPID, kDstarCuts, kDstarPID,
  kLctoV0Cuts, kDplustoK0sCuts, kDstoK0sCuts
}
 
enum  ERejBits {
  kNotSelTrigger, kNoVertex, kTooFewVtxContrib, kZVtxOutFid,
  kPileup, kOutsideCentrality, kPhysicsSelection, kBadSPDVertex,
  kZVtxSPDOutFid, kCentralityFlattening, kBadTrackV0Correl, kMismatchOldNewCentrality,
  kBadTrackVertex
}
 
enum  EV0sel { kAllV0s = 0, kOnlyOfflineV0s = 1, kOnlyOnTheFlyV0s = 2 }
 

Public Member Functions

 AliRDHFCutsD0toKpi (const char *name="CutsD0toKpi")
 
virtual ~AliRDHFCutsD0toKpi ()
 
 AliRDHFCutsD0toKpi (const AliRDHFCutsD0toKpi &source)
 
AliRDHFCutsD0toKpioperator= (const AliRDHFCutsD0toKpi &source)
 
virtual void GetCutVarsForOpt (AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
 
virtual void GetCutVarsForOpt (AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters, AliAODEvent *aod)
 
virtual Int_t IsSelected (TObject *obj, Int_t selectionLevel)
 
virtual Int_t IsSelected (TObject *obj, Int_t selectionLevel, AliAODEvent *aod)
 
virtual Int_t IsSelectedCombPID (AliAODRecoDecayHF *d)
 
virtual void CalculateBayesianWeights (AliAODRecoDecayHF *d)
 
Float_t GetMassCut (Int_t iPtBin=0) const
 
Float_t GetDCACut (Int_t iPtBin=0) const
 
Int_t CombineSelectionLevels (Int_t selectionvalTrack, Int_t selectionvalCand, Int_t selectionvalPID) const
 
virtual Bool_t IsInFiducialAcceptance (Double_t pt, Double_t y) const
 
virtual void SetStandardCutsPP2010 ()
 
virtual void SetStandardCutsPP2010vsMult ()
 
virtual void SetStandardCutsPP2011_276TeV ()
 
virtual void SetStandardCutsPbPb2010 ()
 
virtual void SetStandardCutsPbPb2011 ()
 
void SetStandardCutsPbPb2010Peripherals ()
 
virtual Int_t IsSelectedPID (AliAODRecoDecayHF *rd)
 
Int_t IsSelectedPIDdefault (AliAODRecoDecayHF *rd)
 
Int_t IsSelectedSpecialCuts (AliAODRecoDecayHF *d) const
 
void SetUseSpecialCuts (Bool_t useSpecialCuts)
 
void Setd0MeasMinusExpCut (UInt_t nPtBins, Float_t *cutval)
 
void SetFlatd0MeasMinusExpCut (Float_t value)
 
void SetImpParDCut (UInt_t nPtBins, Float_t *cutval)
 
void SetFlatImpParDCut (Float_t value)
 
void SetMaximumPtSpecialCuts (Double_t pt)
 
void SetMaximumPforPID (Double_t p)
 
Double_t GetMaximumPforPID ()
 
Double_t GetMaximumPtSpecialCuts () const
 
void SetLowPt (Bool_t lowpt, Double_t ptlow=2.)
 
Bool_t GetUseSpecialCuts () const
 
void SetUseDefaultPID (Bool_t defPID)
 
Bool_t GetIsUsedDefPID ()
 
Double_t GetPtForPIDtight () const
 
void SetUseKF (Bool_t useKF)
 
Bool_t GetIsUsedKF () const
 
void SetWeightsPositive (Double_t *weights)
 
Double_tGetWeightsPositive () const
 
void SetWeightsNegative (Double_t *weights)
 
Double_tGetWeightsNegative () const
 
void SetBayesianStrategy (Int_t strat)
 
Int_t GetBayesianStrategy () const
 
void SetBayesianCondition (Int_t cond)
 
Int_t GetBayesianCondition () const
 
void SetCombPID (Bool_t CombPID)
 
Bool_t GetCombPID () const
 
void SetBayesProbThreshold (Double_t thresh)
 
Double_t GetBayesProbThreshold () const
 
virtual void PrintAll () const
 
- Public Member Functions inherited from AliRDHFCuts
 AliRDHFCuts (const Char_t *name="RDHFCuts", const Char_t *title="")
 
virtual ~AliRDHFCuts ()
 
 AliRDHFCuts (const AliRDHFCuts &source)
 
AliRDHFCutsoperator= (const AliRDHFCuts &source)
 
void SetMinCentrality (Float_t minCentrality=0.)
 
void SetMaxCentrality (Float_t maxCentrality=100.)
 
void SetMultSelectionObjectName (TString str)
 
void SetMinVtxType (Int_t type=3)
 
void SetUseEventsWithOnlySPDVertex (Bool_t flag=kTRUE)
 
void SetMinVtxContr (Int_t contr=1)
 
void SetMaxVtxRdChi2 (Float_t chi2=1e6)
 
void SetMaxVtxZ (Float_t z=1e6)
 
void SetMinSPDMultiplicity (Int_t mult=0)
 
void SetMaxVtxChi2PileupMV (Float_t chi2=5.)
 
void SetMinWeightedDzVtxPileupMV (Float_t min=15.)
 
void SetRejectPlpFromDifferentBCMV (Bool_t ok=kTRUE)
 
void SetTriggerMask (ULong64_t mask=0)
 
void SetUseOnlyOneTrigger (Bool_t onlyOne)
 
ULong64_t GetTriggerMask ()
 
Bool_t GetUseOnlyOneTrigger ()
 
void SetUseAnyTrigger ()
 
void EnableMBTrigger ()
 
void ResetMaskAndEnableMBTrigger ()
 
void SetUseMBTriggerExclusively ()
 
void EnableCentralTrigger ()
 
void ResetMaskAndEnableCentralTrigger ()
 
void SetUseCentralTriggerExclusively ()
 
void EnableSemiCentralTrigger ()
 
void ResetMaskAndEnableSemiCentralTrigger ()
 
void SetUseSemiCentralTriggerExclusively ()
 
void EnableEMCALTrigger ()
 
void ResetMaskAndEnableEMCALTrigger ()
 
void SetUseEMCALTriggerExclusively ()
 
void SetUseInt1TriggerPP2012 ()
 Setters (helpers) for pp 2012 data. More...
 
void SetUseInt7TriggerPP2012 ()
 
void SetUseInt8TriggerPP2012 ()
 
void SetUseEMCAL7TriggerPP2012 ()
 
void SetUseEMCAL8TriggerPP2012 ()
 
void SetUseEMCALJET7TriggerPP2012 ()
 
void SetUseEMCALJET8TriggerPP2012 ()
 
void SetUseEMCALGA7TriggerPP2012 ()
 
void SetUseEMCALGA8TriggerPP2012 ()
 
void SetUseSPI7TriggerPP2012 ()
 
void SetUseSPI8TriggerPP2012 ()
 
void SetUseHighMult7TriggerPP2012 ()
 
void SetUseHighMult8TriggerPP2012 ()
 
void SetUseV0ANDSelectionOffline (Bool_t flag=kFALSE)
 
void SetMaxDifferenceTRKV0Centraltity (Double_t maxd=5.)
 
void SetNotUseCutOnTRKVsV0Centraltity ()
 
void SetRemoveTrackletOutliers (Bool_t opt)
 
void SetCutOnzVertexSPD (Int_t opt)
 
void SetTriggerClass (TString trclass0, TString trclass1="")
 
void ApplySPDDeadPbPb2011 ()
 
void ApplySPDMisalignedCutPP2012 ()
 
void SetVarsForOpt (Int_t nVars, Bool_t *forOpt)
 
void SetGlobalIndex ()
 
void SetGlobalIndex (Int_t nVars, Int_t nptBins)
 
void SetVarNames (Int_t nVars, TString *varNames, Bool_t *isUpperCut)
 
void SetPtBins (Int_t nPtBinLimits, Float_t *ptBinLimits)
 
void SetCuts (Int_t nVars, Int_t nPtBins, Float_t **cutsRD)
 
void SetCuts (Int_t glIndex, Float_t *cutsRDGlob)
 
void AddTrackCuts (const AliESDtrackCuts *cuts)
 
void SetUsePID (Bool_t flag=kTRUE)
 
void SetUseAOD049 (Bool_t flag=kTRUE)
 
void SetKinkRejection (Bool_t flag=kTRUE)
 
void SetUseTrackSelectionWithFilterBits (Bool_t flag=kTRUE)
 
void SetUseCentrality (Int_t flag=1)
 
void SetPidHF (AliAODPidHF *pidObj)
 see enum below More...
 
void SetRemoveDaughtersFromPrim (Bool_t removeDaughtersPrim)
 
void SetMinPtCandidate (Double_t ptCand=-1.)
 
void SetMaxPtCandidate (Double_t ptCand=1000.)
 
void SetMaxRapidityCandidate (Double_t ycand)
 
void SetOptPileup (Int_t opt=0)
 
void ConfigurePileupCuts (Int_t minContrib=3, Float_t minDz=0.6)
 
void SetUseMultDepPileupCut (Bool_t opt=kTRUE)
 
void SetHistoForCentralityFlattening (TH1F *h, Double_t minCentr, Double_t maxCentr, Double_t centrRef=0., Int_t switchTRand=0)
 
void SetMinCrossedRowsTPCPtDep (const char *rows="")
 
void SetMinRatioClsOverCrossRowsTPC (Float_t ratio=0.)
 
void SetMinRatioSignalNOverCrossRowsTPC (Float_t ratio=0.)
 
void SetUseTPCtrackCutsOnThisDaughter (Bool_t flag=kTRUE)
 
AliAODPidHFGetPidHF () const
 
Float_tGetPtBinLimits () const
 
Int_t GetNPtBins () const
 
Int_t GetNVars () const
 
TStringGetVarNames () const
 
Bool_tGetVarsForOpt () const
 
Int_t GetNVarsForOpt () const
 
const Float_tGetCuts () const
 
void GetCuts (Float_t **&cutsRD) const
 
Float_t GetCutValue (Int_t iVar, Int_t iPtBin) const
 
Double_t GetMaxVtxZ () const
 
Float_t GetCentrality (AliAODEvent *aodEvent)
 
Float_t GetCentrality (AliAODEvent *aodEvent, AliRDHFCuts::ECentrality estimator)
 
Float_t GetCentralityOldFramework (AliAODEvent *aodEvent, AliRDHFCuts::ECentrality estimator)
 
Bool_tGetIsUpperCut () const
 
AliESDtrackCuts * GetTrackCuts () const
 
virtual AliESDtrackCuts * GetTrackCutsSoftPi () const
 
virtual AliESDtrackCuts * GetTrackCutsV0daughters () const
 
Int_t GetGlobalIndex (Int_t iVar, Int_t iPtBin) const
 
void GetVarPtIndex (Int_t iGlob, Int_t &iVar, Int_t &iPtBin) const
 
Bool_t GetIsUsePID () const
 
Bool_t GetUseAOD049 () const
 
Bool_t GetUseKinkRejection () const
 
Bool_t GetUseEventsWithOnlySPDVertex () const
 
Bool_t GetUseTrackSelectionWithFilterBits () const
 
Bool_t GetIsPrimaryWithoutDaughters () const
 
Bool_t GetOptPileUp () const
 
Int_t GetUseCentrality () const
 
Float_t GetMinCentrality () const
 
Float_t GetMaxCentrality () const
 
TString GetMultSelectionObjectName () const
 
Double_t GetMinPtCandidate () const
 
Double_t GetMaxPtCandidate () const
 
TH1F * GetHistoForCentralityFlattening ()
 
void SetUseCentralityFlatteningInMC (Bool_t opt)
 
const char * GetMinCrossedRowsTPCPtDep () const
 
Float_t GetMinRatioClsOverCrossRowsTPC () const
 
Float_t GetMinRatioSignalNOverCrossRowsTPC () const
 
Bool_t GetUseTPCtrackCutsOnThisDaughter () const
 
Bool_t IsSelected (TObject *obj)
 
Bool_t IsSelected (TList *list)
 
Int_t IsEventSelectedInCentrality (AliVEvent *event)
 
Bool_t IsEventSelectedForCentrFlattening (Float_t centvalue)
 
Bool_t IsEventSelected (AliVEvent *event)
 
Bool_t AreDaughtersSelected (AliAODRecoDecayHF *rd, const AliAODEvent *aod=0x0) const
 
Bool_t IsDaughterSelected (AliAODTrack *track, const AliESDVertex *primary, AliESDtrackCuts *cuts, const AliAODEvent *aod=0x0) const
 
void SetupPID (AliVEvent *event)
 
Int_t PtBin (Double_t pt) const
 
void PrintTrigger () const
 
void SetWhyRejection (Int_t why)
 
Int_t GetWhyRejection () const
 
UInt_t GetEventRejectionBitMap () const
 
Bool_t IsEventRejectedDueToTrigger () const
 
Bool_t IsEventRejectedDueToNotRecoVertex () const
 
Bool_t IsEventRejectedDueToVertexContributors () const
 
Bool_t IsEventRejectedDueToMissingSPDVertex () const
 
Bool_t IsEventRejectedDueToZVertexOutsideFiducialRegion () const
 
Bool_t IsEventRejectedDueToPileup () const
 
Bool_t IsEventRejectedDueToCentrality () const
 
Bool_t IsEventRejectedDueToCentralityFlattening () const
 
Bool_t IsEventRejectedDueToTRKV0CentralityCorrel () const
 
Bool_t IsEventRejectedDueToBadTrackVertex () const
 
Bool_t IsEventRejectedDueToMismatchOldNewCentrality () const
 
Bool_t IsEventRejectedDuePhysicsSelection () const
 
Bool_t IsEventRejectedDueToBadPrimaryVertex () const
 
void SetFixRefs (Bool_t fix=kTRUE)
 
void SetUsePhysicsSelection (Bool_t use=kTRUE)
 
Bool_t GetUsePhysicsSelection () const
 
Bool_t CompareCuts (const AliRDHFCuts *obj) const
 
void MakeTable () const
 
Int_t GetIsSelectedCuts () const
 
Int_t GetIsSelectedPID () const
 
void SetUseMCVertex ()
 
Bool_t GetUseMCVertex () const
 
Bool_t RecalcOwnPrimaryVtx (AliAODRecoDecayHF *d, AliAODEvent *aod) const
 
Bool_t SetMCPrimaryVtx (AliAODRecoDecayHF *d, AliAODEvent *aod) const
 
void CleanOwnPrimaryVtx (AliAODRecoDecayHF *d, AliAODEvent *aod, AliAODVertex *origownvtx) const
 
Bool_t CountEventForNormalization () const
 
void SetKeepSignalMC ()
 
void SetSelectCandTrackSPDFirst (Bool_t flag, Double_t ptmax)
 Flag and pt-maximum to check if the candidate daughters fulfill the kFirst criteria. More...
 
Bool_t IsSelectCandTrackSPDFirst () const
 
Double_t IsMaxCandTrackSPDFirst () const
 
Bool_t CheckPtDepCrossedRows (TString rows, Bool_t print=kFALSE) const
 
void SetUseCutGeoNcrNcl (Bool_t opt)
 
void ConfigureCutGeoNcrNcl (Double_t dz, Double_t len, Double_t onept, Double_t fncr, Double_t fncl)
 
void SetZcutOnSPDvtx ()
 

Protected Member Functions

Int_t IsSelectedKF (AliAODRecoDecayHF2Prong *d, AliAODEvent *aod) const
 
- Protected Member Functions inherited from AliRDHFCuts
void SetNPtBins (Int_t nptBins)
 
void SetNVars (Int_t nVars)
 
Bool_t IsSignalMC (AliAODRecoDecay *d, AliAODEvent *aod, Int_t pdg) const
 
Bool_t RecomputePrimaryVertex (AliAODEvent *event) const
 

Protected Attributes

Bool_t fUseSpecialCuts
 
Bool_t fLowPt
 flag to switch on/off special cuts More...
 
Bool_t fDefaultPID
 flag to switch on/off different pid for low pt D0 More...
 
Bool_t fUseKF
 flag to switch on/off the default pid More...
 
Double_t fPtLowPID
 flag to switch on/off D0 selection via KF More...
 
UInt_t fUseImpParDCut
 transverse momentum below which the strong PID is applied More...
 
Float_tfMaxImpParD
 switch for cut on D0 ImpParXY; =0 –> not used, >0 value represents array size (it has to coincide with fnPtBins) More...
 
UInt_t fUsed0MeasMinusExpCut
 
Float_tfMaxd0MeasMinusExp
 switch for cut on d0meas-d0exp; =0 –> not used, >0 value represents array size (it has to coincide with fnPtBins) More...
 
Double_t fPtMaxSpecialCuts
 
Double_t fmaxPtrackForPID
 transverse momentum below which the special cuts are applied More...
 
Bool_t fCombPID
 max momentum for applying PID More...
 
Int_t fnSpecies
 switch for Bayesian More...
 
Double_tfWeightsPositive
 number of species (used only for array declaration) More...
 
Double_tfWeightsNegative
 
Double_t fProbThreshold
 
Int_t fBayesianStrategy
 
Int_t fBayesianCondition
 Switch for which Bayesian PID strategy to use. More...
 
- Protected Attributes inherited from AliRDHFCuts
Int_t fMinVtxType
 cuts on the event More...
 
Int_t fMinVtxContr
 0: not cut; 1: SPDZ; 2: SPD3D; 3: Tracks More...
 
Float_t fMaxVtxRedChi2
 minimum vertex contributors More...
 
Float_t fMaxVtxZ
 maximum chi2/ndf More...
 
Int_t fMinSPDMultiplicity
 maximum |z| of primary vertex More...
 
Float_t fMaxVtxChi2PileupMV
 SPD multiplicity. More...
 
Float_t fMinWDzPileupMV
 max chi2 per contributor of the pile-up vertex to consider (multi-vertexer). More...
 
Bool_t fRejectPlpFromDiffBCMV
 minimum weighted distance in Z between 2 vertices (multi-vertexer) More...
 
ULong64_t fTriggerMask
 flag to reject pileup from different BC (multi-vertexer) More...
 
Bool_t fUseOnlyOneTrigger
 trigger mask More...
 
TString fTriggerClass [2]
 flag to select one trigger only More...
 
AliESDtrackCuts * fTrackCuts
 quality cuts on the daughter tracks More...
 
Int_t fnPtBins
 cuts on the candidate More...
 
Int_t fnPtBinLimits
 number of pt bins for cuts More...
 
Float_tfPtBinLimits
 "number of limits", that is fnPtBins+1 More...
 
Int_t fnVars
 
TStringfVarNames
 number of cut vars for candidates More...
 
Int_t fnVarsForOpt
 
Bool_tfVarsForOpt
 number of cut vars to be optimized for candidates More...
 
Int_t fGlobalIndex
 
Float_tfCutsRD
 fnVars*fnPtBins More...
 
Bool_tfIsUpperCut
 
Bool_t fUsePID
 
Bool_t fUseAOD049
 enable PID usage (off by default) More...
 
AliAODPidHFfPidHF
 enable AOD049 centrality cleanup More...
 
Int_t fWhyRejection
 PID for heavy flavours manager. More...
 
UInt_t fEvRejectionBits
 used to code the step at which candidate was rejected More...
 
Bool_t fRemoveDaughtersFromPrimary
 
Bool_t fUseMCVertex
 flag to switch on the removal of duaghters from the primary vertex computation More...
 
Bool_t fUsePhysicsSelection
 use MC primary vertex More...
 
Int_t fOptPileup
 use Physics selection criteria More...
 
Int_t fMinContrPileup
 option for pielup selection More...
 
Float_t fMinDzPileup
 min. n. of tracklets in pileup vertex More...
 
Bool_t fUseMultDepPileupCut
 min deltaz between main and pileup vertices More...
 
Int_t fUseCentrality
 flag to use a multiplicity dependent pileup selection More...
 
Float_t fMinCentrality
 
Float_t fMaxCentrality
 minimum centrality for selected events More...
 
TString fMultSelectionObjectName
 maximum centrality for selected events More...
 
Bool_t fFixRefs
 name of the AliMultSelection object to be considered More...
 
Int_t fIsSelectedCuts
 fix the daughter track references More...
 
Int_t fIsSelectedPID
 outcome of cuts selection More...
 
Double_t fMinPtCand
 outcome of PID selection More...
 
Double_t fMaxPtCand
 minimum pt of the candidate More...
 
Double_t fMaxRapidityCand
 minimum pt of the candidate More...
 
Bool_t fKeepSignalMC
 max rapidity of candidate (if !=-999 overrides IsInFiducialAcceptance) More...
 
Bool_t fIsCandTrackSPDFirst
 IsSelected returns always kTRUE for MC signal. More...
 
Double_t fMaxPtCandTrackSPDFirst
 flag to select the track kFirst criteria for pt < ptlimit More...
 
Bool_t fApplySPDDeadPbPb2011
 maximum pt of the candidate for which to check if the daughters fulfill kFirst criteria More...
 
Bool_t fApplySPDMisalignedPP2012
 flag to apply SPD dead module map of PbPb2011 More...
 
Double_t fMaxDiffTRKV0Centr
 flag to apply cut on tracks crossing SPD misaligned modules for PP2012 data More...
 
Bool_t fRemoveTrackletOutliers
 Max. difference between TRK and V0 centrality (remove TPC pileup for PbPb 2011) More...
 
Int_t fCutOnzVertexSPD
 flag to apply cut on tracklets vs. centrality for 2011 data More...
 
Bool_t fKinkReject
 cut on zSPD vertex to remove outliers in centrality vs. tracklets (0=no cut, 1= cut at 12 cm, 2= cut on difference to z of vtx tracks, 3=cut on nsigma distance between SPD and track vertices More...
 
Bool_t fUseTrackSelectionWithFilterBits
 flag to reject kink daughters More...
 
Bool_t fUseCentrFlatteningInMC
 flag to enable/disable the check on filter bits More...
 
TH1F * fHistCentrDistr
 flag for enabling/diabling centrality flattening in MC More...
 
Float_t fCutRatioClsOverCrossRowsTPC
 histogram with reference centrality distribution for centrality distribution flattening More...
 
Float_t fCutRatioSignalNOverCrossRowsTPC
 min. value ratio NTPCClusters/NTPCCrossedRows, cut if !=0 More...
 
TString fCutMinCrossedRowsTPCPtDep
 min. value ratio TPCPointsUsedForPID/NTPCCrossedRows, cut if !=0 More...
 
TFormula * f1CutMinNCrossedRowsTPCPtDep
 pT-dep cut in TPC minimum n crossed rows More...
 
Bool_t fUseCutGeoNcrNcl
 pT-dep cut in TPC minimum n crossed rows More...
 
Double_t fDeadZoneWidth
 flag for enabling/disabling geometrical cut on TPC track More...
 
Double_t fCutGeoNcrNclLength
 1st parameter of GeoNcrNcl cut More...
 
Double_t fCutGeoNcrNclGeom1Pt
 2nd parameter of GeoNcrNcl cut More...
 
Double_t fCutGeoNcrNclFractionNcr
 3rd parameter of GeoNcrNcl cut More...
 
Double_t fCutGeoNcrNclFractionNcl
 4th parameter of GeoNcrNcl cut More...
 
Bool_t fUseV0ANDSelectionOffline
 5th parameter of GeoNcrNcl cut More...
 
Bool_t fUseTPCtrackCutsOnThisDaughter
 flag to apply V0AND selection offline More...
 
Bool_t fApplyZcutOnSPDvtx
 flag to apply TPC track quality cuts on specific D-meson daughter (used for different strategies for soft pion and D0daughters from Dstar decay) More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AliRDHFCuts
static Int_t CheckMatchingAODdeltaAODevents ()
 

Detailed Description

Definition at line 20 of file AliRDHFCutsD0toKpi.h.

Member Enumeration Documentation

Enumerator
kMaxProb 
kAbovePrior 
kThreshold 

Definition at line 98 of file AliRDHFCutsD0toKpi.h.

Enumerator
kBayesMomentum 
kBayesWeight 
kBayesWeightNoFilter 
kBayesSimple 

Definition at line 90 of file AliRDHFCutsD0toKpi.h.

Constructor & Destructor Documentation

AliRDHFCutsD0toKpi::AliRDHFCutsD0toKpi ( const char *  name = "CutsD0toKpi")

Definition at line 48 of file AliRDHFCutsD0toKpi.cxx.

AliRDHFCutsD0toKpi::~AliRDHFCutsD0toKpi ( )
virtual

Definition at line 182 of file AliRDHFCutsD0toKpi.cxx.

AliRDHFCutsD0toKpi::AliRDHFCutsD0toKpi ( const AliRDHFCutsD0toKpi source)

Definition at line 122 of file AliRDHFCutsD0toKpi.cxx.

Member Function Documentation

void AliRDHFCutsD0toKpi::CalculateBayesianWeights ( AliAODRecoDecayHF d)
virtual

Definition at line 2150 of file AliRDHFCutsD0toKpi.cxx.

Referenced by IsSelected(), and IsSelectedCombPID().

Int_t AliRDHFCutsD0toKpi::CombineSelectionLevels ( Int_t  selectionvalTrack,
Int_t  selectionvalCand,
Int_t  selectionvalPID 
) const
Int_t AliRDHFCutsD0toKpi::GetBayesianCondition ( ) const
inline

Definition at line 105 of file AliRDHFCutsD0toKpi.h.

Double_t AliRDHFCutsD0toKpi::GetBayesProbThreshold ( ) const
inline

Definition at line 109 of file AliRDHFCutsD0toKpi.h.

virtual void AliRDHFCutsD0toKpi::GetCutVarsForOpt ( AliAODRecoDecayHF d,
Float_t vars,
Int_t  nvars,
Int_t pdgdaughters 
)
inlinevirtual

Implements AliRDHFCuts.

Definition at line 33 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::GetCutVarsForOpt ( AliAODRecoDecayHF d,
Float_t vars,
Int_t  nvars,
Int_t pdgdaughters,
AliAODEvent aod 
)
virtual

Reimplemented from AliRDHFCuts.

Definition at line 261 of file AliRDHFCutsD0toKpi.cxx.

Float_t AliRDHFCutsD0toKpi::GetDCACut ( Int_t  iPtBin = 0) const
inline

Definition at line 47 of file AliRDHFCutsD0toKpi.h.

Referenced by AliAnalysisVertexingHF::FindCandidates().

Bool_t AliRDHFCutsD0toKpi::GetIsUsedDefPID ( )
inline

Definition at line 71 of file AliRDHFCutsD0toKpi.h.

Bool_t AliRDHFCutsD0toKpi::GetIsUsedKF ( ) const
inline

Definition at line 74 of file AliRDHFCutsD0toKpi.h.

Float_t AliRDHFCutsD0toKpi::GetMassCut ( Int_t  iPtBin = 0) const
inline
Double_t AliRDHFCutsD0toKpi::GetMaximumPforPID ( )
inline

Definition at line 66 of file AliRDHFCutsD0toKpi.h.

Double_t AliRDHFCutsD0toKpi::GetMaximumPtSpecialCuts ( ) const
inline

Definition at line 67 of file AliRDHFCutsD0toKpi.h.

Double_t AliRDHFCutsD0toKpi::GetPtForPIDtight ( ) const
inline

Definition at line 72 of file AliRDHFCutsD0toKpi.h.

Bool_t AliRDHFCutsD0toKpi::GetUseSpecialCuts ( ) const
inline

Definition at line 69 of file AliRDHFCutsD0toKpi.h.

Int_t AliRDHFCutsD0toKpi::IsSelected ( TObject obj,
Int_t  selectionLevel,
AliAODEvent aod 
)
virtual

Reimplemented from AliRDHFCuts.

Definition at line 366 of file AliRDHFCutsD0toKpi.cxx.

Int_t AliRDHFCutsD0toKpi::IsSelectedCombPID ( AliAODRecoDecayHF d)
virtual

Three possible Bayesian probability cuts: Picked using SetBayesianCondition(int).

A: Standard max. probability method (accept most likely species)

B: Accept if probability greater than prior

C: Accept if probability greater than user-defined threshold

Definition at line 1973 of file AliRDHFCutsD0toKpi.cxx.

Referenced by IsSelected(), and IsSelectedPID().

Int_t AliRDHFCutsD0toKpi::IsSelectedKF ( AliAODRecoDecayHF2Prong d,
AliAODEvent aod 
) const
protected

Definition at line 552 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetBayesProbThreshold(), and IsSelected().

Int_t AliRDHFCutsD0toKpi::IsSelectedPIDdefault ( AliAODRecoDecayHF rd)

Definition at line 970 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetDCACut(), and IsSelectedPID().

Int_t AliRDHFCutsD0toKpi::IsSelectedSpecialCuts ( AliAODRecoDecayHF d) const
AliRDHFCutsD0toKpi & AliRDHFCutsD0toKpi::operator= ( const AliRDHFCutsD0toKpi source)

Definition at line 150 of file AliRDHFCutsD0toKpi.cxx.

void AliRDHFCutsD0toKpi::SetBayesianCondition ( Int_t  cond)
inline

Definition at line 104 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::SetBayesianStrategy ( Int_t  strat)
inline

Definition at line 87 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::SetBayesProbThreshold ( Double_t  thresh)
inline

Definition at line 108 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::SetCombPID ( Bool_t  CombPID)
inline

Definition at line 106 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::Setd0MeasMinusExpCut ( UInt_t  nPtBins,
Float_t cutval 
)
void AliRDHFCutsD0toKpi::SetFlatd0MeasMinusExpCut ( Float_t  value)

Definition at line 207 of file AliRDHFCutsD0toKpi.cxx.

Referenced by SetUseSpecialCuts().

void AliRDHFCutsD0toKpi::SetFlatImpParDCut ( Float_t  value)

Definition at line 234 of file AliRDHFCutsD0toKpi.cxx.

Referenced by SetUseSpecialCuts().

void AliRDHFCutsD0toKpi::SetImpParDCut ( UInt_t  nPtBins,
Float_t cutval 
)
void AliRDHFCutsD0toKpi::SetLowPt ( Bool_t  lowpt,
Double_t  ptlow = 2. 
)
inline
void AliRDHFCutsD0toKpi::SetMaximumPforPID ( Double_t  p)
inline
void AliRDHFCutsD0toKpi::SetMaximumPtSpecialCuts ( Double_t  pt)
inline
void AliRDHFCutsD0toKpi::SetStandardCutsPbPb2010 ( )
virtual

Reimplemented from AliRDHFCuts.

Definition at line 1687 of file AliRDHFCutsD0toKpi.cxx.

Referenced by ConfigVertexingHF(), GetDCACut(), ModifyFromStandardCuts(), and SetStandardCutsPbPb2011().

void AliRDHFCutsD0toKpi::SetStandardCutsPbPb2010Peripherals ( )

Definition at line 1821 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetDCACut().

void AliRDHFCutsD0toKpi::SetStandardCutsPbPb2011 ( )
virtual
void AliRDHFCutsD0toKpi::SetStandardCutsPP2010vsMult ( )
virtual

Definition at line 1429 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetDCACut().

void AliRDHFCutsD0toKpi::SetStandardCutsPP2011_276TeV ( )
virtual

Definition at line 1563 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetDCACut(), and ModifyFromStandardCuts().

void AliRDHFCutsD0toKpi::SetUseKF ( Bool_t  useKF)

Definition at line 1256 of file AliRDHFCutsD0toKpi.cxx.

Referenced by GetPtForPIDtight().

void AliRDHFCutsD0toKpi::SetWeightsNegative ( Double_t weights)
inline

Definition at line 81 of file AliRDHFCutsD0toKpi.h.

void AliRDHFCutsD0toKpi::SetWeightsPositive ( Double_t weights)
inline

Definition at line 75 of file AliRDHFCutsD0toKpi.h.

Member Data Documentation

Int_t AliRDHFCutsD0toKpi::fBayesianCondition
protected

Switch for which Bayesian PID strategy to use.

Definition at line 141 of file AliRDHFCutsD0toKpi.h.

Referenced by GetBayesianCondition(), IsSelectedCombPID(), operator=(), and SetBayesianCondition().

Int_t AliRDHFCutsD0toKpi::fBayesianStrategy
protected
Bool_t AliRDHFCutsD0toKpi::fCombPID
protected

max momentum for applying PID

Definition at line 133 of file AliRDHFCutsD0toKpi.h.

Referenced by GetCombPID(), IsSelected(), IsSelectedPID(), operator=(), and SetCombPID().

Bool_t AliRDHFCutsD0toKpi::fDefaultPID
protected

flag to switch on/off different pid for low pt D0

Definition at line 119 of file AliRDHFCutsD0toKpi.h.

Referenced by GetIsUsedDefPID(), IsSelectedPID(), operator=(), and SetUseDefaultPID().

Bool_t AliRDHFCutsD0toKpi::fLowPt
protected

flag to switch on/off special cuts

Definition at line 118 of file AliRDHFCutsD0toKpi.h.

Referenced by IsSelectedPID(), operator=(), and SetLowPt().

Float_t* AliRDHFCutsD0toKpi::fMaxd0MeasMinusExp
protected

switch for cut on d0meas-d0exp; =0 –> not used, >0 value represents array size (it has to coincide with fnPtBins)

Definition at line 127 of file AliRDHFCutsD0toKpi.h.

Referenced by AliRDHFCutsD0toKpi(), IsSelected(), operator=(), PrintAll(), Setd0MeasMinusExpCut(), and ~AliRDHFCutsD0toKpi().

Float_t* AliRDHFCutsD0toKpi::fMaxImpParD
protected

switch for cut on D0 ImpParXY; =0 –> not used, >0 value represents array size (it has to coincide with fnPtBins)

Definition at line 125 of file AliRDHFCutsD0toKpi.h.

Referenced by AliRDHFCutsD0toKpi(), IsSelected(), operator=(), PrintAll(), SetImpParDCut(), and ~AliRDHFCutsD0toKpi().

Double_t AliRDHFCutsD0toKpi::fmaxPtrackForPID
protected

transverse momentum below which the special cuts are applied

if set to zero, used for all pt

Definition at line 131 of file AliRDHFCutsD0toKpi.h.

Referenced by GetMaximumPforPID(), IsSelectedPID(), operator=(), and SetMaximumPforPID().

Int_t AliRDHFCutsD0toKpi::fnSpecies
protected

switch for Bayesian

Definition at line 134 of file AliRDHFCutsD0toKpi.h.

Referenced by operator=().

Double_t AliRDHFCutsD0toKpi::fProbThreshold
protected
Double_t AliRDHFCutsD0toKpi::fPtLowPID
protected

flag to switch on/off D0 selection via KF

Definition at line 122 of file AliRDHFCutsD0toKpi.h.

Referenced by GetPtForPIDtight(), IsSelectedPID(), operator=(), and SetLowPt().

Double_t AliRDHFCutsD0toKpi::fPtMaxSpecialCuts
protected
UInt_t AliRDHFCutsD0toKpi::fUsed0MeasMinusExpCut
protected
UInt_t AliRDHFCutsD0toKpi::fUseImpParDCut
protected

transverse momentum below which the strong PID is applied

Definition at line 124 of file AliRDHFCutsD0toKpi.h.

Referenced by AliRDHFCutsD0toKpi(), IsSelected(), operator=(), PrintAll(), and SetImpParDCut().

Bool_t AliRDHFCutsD0toKpi::fUseKF
protected

flag to switch on/off the default pid

Definition at line 121 of file AliRDHFCutsD0toKpi.h.

Referenced by GetIsUsedKF(), IsSelected(), operator=(), and SetUseKF().

Bool_t AliRDHFCutsD0toKpi::fUseSpecialCuts
protected

Definition at line 117 of file AliRDHFCutsD0toKpi.h.

Referenced by GetUseSpecialCuts(), IsSelected(), operator=(), and SetUseSpecialCuts().

Double_t* AliRDHFCutsD0toKpi::fWeightsNegative
protected
Double_t* AliRDHFCutsD0toKpi::fWeightsPositive
protected

number of species (used only for array declaration)

Definition at line 135 of file AliRDHFCutsD0toKpi.h.

Referenced by AliRDHFCutsD0toKpi(), CalculateBayesianWeights(), GetWeightsPositive(), IsSelectedCombPID(), operator=(), SetWeightsPositive(), and ~AliRDHFCutsD0toKpi().


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