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

#include <AliAnalysisTaskCombinHF.h>

Inheritance diagram for AliAnalysisTaskCombinHF:

Public Types

enum  EMesonSpecies { kDzero, kDplus, kDstar, kDs }
 
enum  EPrompFd { kNone, kPrompt, kFeeddown, kBoth }
 
enum  EPIDstrategy { knSigma, kBayesianMaxProb, kBayesianThres }
 

Public Member Functions

 AliAnalysisTaskCombinHF ()
 
 AliAnalysisTaskCombinHF (Int_t meson, AliRDHFCuts *analysiscuts)
 
virtual ~AliAnalysisTaskCombinHF ()
 
virtual void UserCreateOutputObjects ()
 
virtual void Init ()
 
virtual void LocalInit ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 
virtual void FinishTaskOutput ()
 
void SetReadMC (Bool_t read)
 
void SetEventMixingWithCuts (Double_t maxDeltaVz, Double_t maxDeltaMult)
 
void SetEventMixingWithPools ()
 
void SetEventMixingOff ()
 
void SetNumberOfEventsForMixing (Int_t minn)
 
void ConfigureZVertPools (Int_t nPools, Double_t *zVertLimits)
 
void ConfigureMultiplicityPools (Int_t nPools, Double_t *multLimits)
 
void SelectPromptD ()
 
void SelectFeeddownD ()
 
void SelectPromptAndFeeddownD ()
 
void SetGoUpToQuark (Bool_t opt)
 
void SetKeepNegIDtracks (Bool_t nid)
 
void SetTrackCuts (AliESDtrackCuts *cuts)
 
void SetPionTrackCuts (AliESDtrackCuts *cuts)
 
void SetKaonTrackCuts (AliESDtrackCuts *cuts)
 
void SetCutOnKKInvMass (Double_t cut)
 
void SetPIDHF (AliAODPidHF *pid)
 
void SetRDHFCuts (AliRDHFCuts *cuts)
 
void SetFilterMask (UInt_t mask=16)
 
void SetAnalysisLevel (Int_t level)
 
void ConfigureRotation (Int_t n, Double_t phimin, Double_t phimax)
 
void ConfigureRotation3rdProng (Int_t n, Double_t phimin, Double_t phimax)
 
void SetMassWindow (Double_t minMass, Double_t maxMass)
 
void SetMaxPt (Double_t maxPt)
 
void SetPtBinWidth (Double_t binw)
 
void SetEtaAccCut (Double_t etacut)
 
void SetPtAccCut (Double_t ptcut)
 
void SetMultiplicityRange (Double_t mmin=-0.5, Double_t mmax=199.5)
 
void SetPIDstrategy (Int_t strat)
 
void SetMaxPforIDPion (Double_t maxpIdPion)
 
void SetMaxPforIDKaon (Double_t maxpIdKaon)
 
void SetPIDselCaseZero (Int_t strat)
 
void SetBayesThres (Double_t thresKaon, Double_t thresPion)
 
Bool_t IsTrackSelected (AliAODTrack *track)
 
Bool_t IsKaon (AliAODTrack *track)
 
Bool_t IsPion (AliAODTrack *track)
 
Bool_t SelectAODTrack (AliAODTrack *track, AliESDtrackCuts *cuts)
 
Bool_t FillHistos (Int_t pdgD, Int_t nProngs, AliAODRecoDecay *tmpRD, Double_t *px, Double_t *py, Double_t *pz, UInt_t *pdgdau, TClonesArray *arrayMC, Int_t *dgLabels)
 
void FillLSHistos (Int_t pdgD, Int_t nProngs, AliAODRecoDecay *tmpRD, Double_t *px, Double_t *py, Double_t *pz, UInt_t *pdgdau, Int_t charge)
 
void FillMEHistos (Int_t pdgD, Int_t nProngs, AliAODRecoDecay *tmpRD, Double_t *px, Double_t *py, Double_t *pz, UInt_t *pdgdau)
 
void FillMEHistosLS (Int_t pdgD, Int_t nProngs, AliAODRecoDecay *tmpRD, Double_t *px, Double_t *py, Double_t *pz, UInt_t *pdgdau, Int_t charge)
 
void FillGenHistos (TClonesArray *arrayMC, Bool_t isEvSel)
 
Bool_t CheckAcceptance (TClonesArray *arrayMC, Int_t nProng, Int_t *labDau)
 
Int_t GetPoolIndex (Double_t zvert, Double_t mult)
 
void ResetPool (Int_t poolIndex)
 
void DoMixingWithPools (Int_t poolIndex)
 
void DoMixingWithCuts ()
 
Bool_t CanBeMixed (Double_t zv1, Double_t zv2, Double_t mult1, Double_t mult2)
 

Private Member Functions

 AliAnalysisTaskCombinHF (const AliAnalysisTaskCombinHF &source)
 
AliAnalysisTaskCombinHFoperator= (const AliAnalysisTaskCombinHF &source)
 
Double_t ComputeInvMassKK (AliAODTrack *tr1, AliAODTrack *tr2) const
 

Private Attributes

TListfOutput
 ! list send on output slot 0 More...
 
TH1F * fHistNEvents
 !hist. for No. of events More...
 
TH2FfHistEventMultZv
 !hist. of evnt Mult vs. Zv for all events More...
 
TH2FfHistEventMultZvEvSel
 !hist. of evnt Mult vs. Zv for selected ev More...
 
TH1F * fHistTrackStatus
 !hist. of status of tracks More...
 
TH3FfHistTrackEtaMultZv
 
TH1F * fHistCheckOrigin
 !hist. of origin (c/b) of D meson More...
 
TH1F * fHistCheckOriginSel
 !hist. of origin (c/b) of D meson More...
 
TH1F * fHistCheckDecChan
 !hist. of decay channel of D meson More...
 
TH1F * fHistCheckDecChanAcc
 !hist. of decay channel of D meson in acc. More...
 
TH3FfPtVsYVsMultGen
 ! hist. of Y vs. Pt vs. Mult generated (all D) More...
 
TH3FfPtVsYVsMultGenLargeAcc
 ! hist. of Y vs. Pt vs. Mult generated (|y|<0.9) More...
 
TH3FfPtVsYVsMultGenLimAcc
 ! hist. of Y vs. Pt vs. Mult generated (|y|<0.5) More...
 
TH3FfPtVsYVsMultGenAcc
 ! hist. of Y vs. Pt vs. Mult generated (D in acc) More...
 
TH3FfPtVsYVsMultGenAccEvSel
 ! hist. of Y vs. Pt vs. Mult generated (D in acc, sel ev.) More...
 
TH3FfPtVsYVsMultReco
 ! hist. of Y vs. Pt vs. Mult generated (Reco D) More...
 
TH3FfMassVsPtVsY
 ! hist. of Y vs. Pt vs. Mass (all cand) More...
 
TH3FfMassVsPtVsYRot
 ! hist. of Y vs. Pt vs. Mass (rotations) More...
 
TH3FfMassVsPtVsYLSpp
 ! hist. of Y vs. Pt vs. Mass (like sign ++) More...
 
TH3FfMassVsPtVsYLSmm
 ! hist. of Y vs. Pt vs. Mass (like sign –) More...
 
TH3FfMassVsPtVsYSig
 ! hist. of Y vs. Pt vs. Mass (signal) More...
 
TH3FfMassVsPtVsYRefl
 ! hist. of Y vs. Pt vs. Mass (reflections) More...
 
TH3FfMassVsPtVsYBkg
 ! hist. of Y vs. Pt vs. Mass (background) More...
 
TH1F * fNSelected
 ! hist. of n. of selected D+ More...
 
TH1F * fNormRotated
 ! hist. rotated/selected D+ More...
 
TH1F * fDeltaMass
 ! hist. mass difference after rotations More...
 
THnSparse * fDeltaMassFullAnalysis
 ! hist. mass difference after rotations with more details More...
 
TH3FfMassVsPtVsYME
 ! hist. of Y vs. Pt vs. Mass (mixedevents) More...
 
TH3FfMassVsPtVsYMELSpp
 ! hist. of Y vs. Pt vs. Mass (mixedevents) More...
 
TH3FfMassVsPtVsYMELSmm
 ! hist. of Y vs. Pt vs. Mass (mixedevents) More...
 
TH2FfEventsPerPool
 ! hist with number of events per pool More...
 
TH2FfMixingsPerPool
 ! hist with number of mixings per pool More...
 
UInt_t fFilterMask
 
AliESDtrackCuts * fTrackCutsAll
 FilterMask. More...
 
AliESDtrackCuts * fTrackCutsPion
 
AliESDtrackCuts * fTrackCutsKaon
 pion track selection More...
 
Double_t fPhiMassCut
 kaon track selection More...
 
AliAODPidHFfPidHF
 cut on the KK inv mass for phi selection More...
 
AliRDHFCutsfAnalysisCuts
 PID configuration. More...
 
Double_t fMinMass
 Cuts for candidates. More...
 
Double_t fMaxMass
 minimum value of invariant mass More...
 
Double_t fMaxPt
 maximum value of invariant mass More...
 
Double_t fPtBinWidth
 maximum pT value for inv. mass histograms More...
 
Double_t fEtaAccCut
 width of pt bin (GeV/c) More...
 
Double_t fPtAccCut
 eta limits for acceptance step More...
 
Int_t fNRotations
 pt limits for acceptance step More...
 
Double_t fMinAngleForRot
 number of rotations More...
 
Double_t fMaxAngleForRot
 minimum angle for track rotation More...
 
Int_t fNRotations3
 maximum angle for track rotation More...
 
Double_t fMinAngleForRot3
 number of rotations (3rd prong) More...
 
Double_t fMaxAngleForRot3
 minimum angle for track rotation (3rd prong) More...
 
AliNormalizationCounterfCounter
 maximum angle for track rotation (3rd prong) More...
 
Int_t fMeson
 
Bool_t fReadMC
 mesonSpecies (see enum) More...
 
Int_t fPromptFeeddown
 flag for access to MC More...
 
Bool_t fGoUpToQuark
 flag to select prompt (1), feeddown (2) or all (3) More...
 
Int_t fFullAnalysis
 flag for definition of c,b origin More...
 
Int_t fPIDstrategy
 flag to set analysis level (0 is the fastest) More...
 
Double_t fmaxPforIDPion
 knSigma, kBayesianMaxProb, kBayesianThres More...
 
Double_t fmaxPforIDKaon
 flag for upper p limit for id band for pion More...
 
Bool_t fKeepNegID
 flag for upper p limit for id band for kaon More...
 
Int_t fPIDselCaseZero
 flag to keep also track with negative ID (default kFALSE, change it only if you know what you are doing) More...
 
Double_t fBayesThresKaon
 flag to change PID strategy More...
 
Double_t fBayesThresPion
 threshold for kaon identification via Bayesian PID More...
 
Int_t fDoEventMixing
 threshold for pion identification via Bayesian PID More...
 
Int_t fNumberOfEventsForMixing
 flag for event mixing More...
 
Double_t fMaxzVertDistForMix
 maximum number of events to be used in event mixing More...
 
Double_t fMaxMultDiffForMix
 cut on zvertex distance for event mixing with cuts More...
 
Int_t fNzVertPools
 cut on multiplicity difference for event mixing with cuts More...
 
Int_t fNzVertPoolsLimSize
 number of pools in z vertex for event mixing More...
 
Double_tfzVertPoolLims
 number of pools in z vertex for event mixing +1 More...
 
Int_t fNMultPools
 
Int_t fNMultPoolsLimSize
 number of pools in multiplicity for event mixing More...
 
Double_tfMultPoolLims
 number of pools in multiplicity for event mixing +1 More...
 
Int_t fNOfPools
 
TTree ** fEventBuffer
 number of pools More...
 
TObjString * fEventInfo
 
Double_t fVtxZ
 unique event Id for event mixing checks More...
 
Double_t fMultiplicity
 zVertex More...
 
Double_t fMinMultiplicity
 multiplicity More...
 
Double_t fMaxMultiplicity
 lower limit for multiplcities in MC histos More...
 
TObjArrayfKaonTracks
 upper limit for multiplcities in MC histos More...
 
TObjArrayfPionTracks
 array of kaon-compatible tracks (TLorentzVectors) More...
 

Detailed Description

Definition at line 25 of file AliAnalysisTaskCombinHF.h.

Member Enumeration Documentation

Enumerator
kDzero 
kDplus 
kDstar 
kDs 

Definition at line 125 of file AliAnalysisTaskCombinHF.h.

Enumerator
knSigma 
kBayesianMaxProb 
kBayesianThres 

Definition at line 127 of file AliAnalysisTaskCombinHF.h.

Enumerator
kNone 
kPrompt 
kFeeddown 
kBoth 

Definition at line 126 of file AliAnalysisTaskCombinHF.h.

Constructor & Destructor Documentation

AliAnalysisTaskCombinHF::AliAnalysisTaskCombinHF ( )

default constructor

Definition at line 49 of file AliAnalysisTaskCombinHF.cxx.

AliAnalysisTaskCombinHF::AliAnalysisTaskCombinHF ( Int_t  meson,
AliRDHFCuts analysiscuts 
)

standard constructor

Definition at line 139 of file AliAnalysisTaskCombinHF.cxx.

AliAnalysisTaskCombinHF::~AliAnalysisTaskCombinHF ( )
virtual

Destructor

Definition at line 232 of file AliAnalysisTaskCombinHF.cxx.

AliAnalysisTaskCombinHF::AliAnalysisTaskCombinHF ( const AliAnalysisTaskCombinHF source)
private

Member Function Documentation

Bool_t AliAnalysisTaskCombinHF::CanBeMixed ( Double_t  zv1,
Double_t  zv2,
Double_t  mult1,
Double_t  mult2 
)

check mixing

Definition at line 1178 of file AliAnalysisTaskCombinHF.cxx.

Referenced by DoMixingWithCuts().

Bool_t AliAnalysisTaskCombinHF::CheckAcceptance ( TClonesArray *  arrayMC,
Int_t  nProng,
Int_t labDau 
)

check if the decay products are in the good eta and pt range

Definition at line 1143 of file AliAnalysisTaskCombinHF.cxx.

Referenced by FillGenHistos().

Double_t AliAnalysisTaskCombinHF::ComputeInvMassKK ( AliAODTrack *  tr1,
AliAODTrack *  tr2 
) const
private

inv mass of KK

Definition at line 1419 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

void AliAnalysisTaskCombinHF::ConfigureMultiplicityPools ( Int_t  nPools,
Double_t multLimits 
)

Definition at line 302 of file AliAnalysisTaskCombinHF.cxx.

void AliAnalysisTaskCombinHF::ConfigureRotation ( Int_t  n,
Double_t  phimin,
Double_t  phimax 
)
inline

Definition at line 80 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::ConfigureRotation3rdProng ( Int_t  n,
Double_t  phimin,
Double_t  phimax 
)
inline

Definition at line 85 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::ConfigureZVertPools ( Int_t  nPools,
Double_t zVertLimits 
)

sets the pools for event mizing in zvertex

Definition at line 291 of file AliAnalysisTaskCombinHF.cxx.

void AliAnalysisTaskCombinHF::DoMixingWithCuts ( )

perform mixed event analysis

Definition at line 1185 of file AliAnalysisTaskCombinHF.cxx.

Referenced by FinishTaskOutput().

void AliAnalysisTaskCombinHF::DoMixingWithPools ( Int_t  poolIndex)

perform mixed event analysis

Definition at line 1281 of file AliAnalysisTaskCombinHF.cxx.

Referenced by FinishTaskOutput(), and UserExec().

void AliAnalysisTaskCombinHF::FillGenHistos ( TClonesArray *  arrayMC,
Bool_t  isEvSel 
)

Fill histos with generated quantities

Definition at line 833 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskCombinHF::FillHistos ( Int_t  pdgD,
Int_t  nProngs,
AliAODRecoDecay *  tmpRD,
Double_t px,
Double_t py,
Double_t pz,
UInt_t pdgdau,
TClonesArray *  arrayMC,
Int_t dgLabels 
)

Fill histos for candidates with proper charge sign

Definition at line 891 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

void AliAnalysisTaskCombinHF::FillLSHistos ( Int_t  pdgD,
Int_t  nProngs,
AliAODRecoDecay *  tmpRD,
Double_t px,
Double_t py,
Double_t pz,
UInt_t pdgdau,
Int_t  charge 
)

Fill histos for LS candidates

Definition at line 816 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

void AliAnalysisTaskCombinHF::FillMEHistos ( Int_t  pdgD,
Int_t  nProngs,
AliAODRecoDecay *  tmpRD,
Double_t px,
Double_t py,
Double_t pz,
UInt_t pdgdau 
)

Fill histos for candidates in MixedEvents

Definition at line 995 of file AliAnalysisTaskCombinHF.cxx.

Referenced by DoMixingWithCuts(), and DoMixingWithPools().

void AliAnalysisTaskCombinHF::FillMEHistosLS ( Int_t  pdgD,
Int_t  nProngs,
AliAODRecoDecay *  tmpRD,
Double_t px,
Double_t py,
Double_t pz,
UInt_t pdgdau,
Int_t  charge 
)

Fill histos for candidates in MixedEvents

Definition at line 1012 of file AliAnalysisTaskCombinHF.cxx.

Referenced by DoMixingWithCuts(), and DoMixingWithPools().

void AliAnalysisTaskCombinHF::FinishTaskOutput ( )
virtual

perform mixed event analysis

Definition at line 1403 of file AliAnalysisTaskCombinHF.cxx.

Int_t AliAnalysisTaskCombinHF::GetPoolIndex ( Double_t  zvert,
Double_t  mult 
)

check in which of the pools the current event falls

Definition at line 1155 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

virtual void AliAnalysisTaskCombinHF::Init ( )
inlinevirtual

Definition at line 34 of file AliAnalysisTaskCombinHF.h.

Referenced by LocalInit().

Bool_t AliAnalysisTaskCombinHF::IsKaon ( AliAODTrack *  track)

kaon selection cuts

Definition at line 1043 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskCombinHF::IsPion ( AliAODTrack *  track)

pion selection cuts

Definition at line 1084 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskCombinHF::IsTrackSelected ( AliAODTrack *  track)

track selection cuts

Definition at line 1030 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

virtual void AliAnalysisTaskCombinHF::LocalInit ( )
inlinevirtual

Definition at line 35 of file AliAnalysisTaskCombinHF.h.

AliAnalysisTaskCombinHF& AliAnalysisTaskCombinHF::operator= ( const AliAnalysisTaskCombinHF source)
private
void AliAnalysisTaskCombinHF::ResetPool ( Int_t  poolIndex)

delete the contets of the pool

Definition at line 1165 of file AliAnalysisTaskCombinHF.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskCombinHF::SelectAODTrack ( AliAODTrack *  track,
AliESDtrackCuts *  cuts 
)

AOD track selection

Definition at line 1127 of file AliAnalysisTaskCombinHF.cxx.

Referenced by IsKaon(), IsPion(), and IsTrackSelected().

void AliAnalysisTaskCombinHF::SelectFeeddownD ( )
inline

Definition at line 52 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SelectPromptAndFeeddownD ( )
inline

Definition at line 53 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SelectPromptD ( )
inline

Definition at line 51 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetAnalysisLevel ( Int_t  level)
inline

Definition at line 79 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetBayesThres ( Double_t  thresKaon,
Double_t  thresPion 
)
inline

Definition at line 104 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetCutOnKKInvMass ( Double_t  cut)
inline

Definition at line 68 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetEtaAccCut ( Double_t  etacut)
inline

Definition at line 93 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetEventMixingOff ( )
inline

Definition at line 46 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetEventMixingWithCuts ( Double_t  maxDeltaVz,
Double_t  maxDeltaMult 
)
inline

Definition at line 42 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetEventMixingWithPools ( )
inline

Definition at line 45 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetFilterMask ( UInt_t  mask = 16)
inline

Definition at line 78 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetGoUpToQuark ( Bool_t  opt)
inline

Definition at line 54 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetKaonTrackCuts ( AliESDtrackCuts *  cuts)
inline

Definition at line 64 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetKeepNegIDtracks ( Bool_t  nid)
inline

Definition at line 55 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetMassWindow ( Double_t  minMass,
Double_t  maxMass 
)
inline

Definition at line 90 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetMaxPforIDKaon ( Double_t  maxpIdKaon)
inline

Definition at line 102 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetMaxPforIDPion ( Double_t  maxpIdPion)
inline

Definition at line 101 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetMaxPt ( Double_t  maxPt)
inline

Definition at line 91 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetMultiplicityRange ( Double_t  mmin = -0.5,
Double_t  mmax = 199.5 
)
inline

Definition at line 95 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetNumberOfEventsForMixing ( Int_t  minn)
inline

Definition at line 47 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetPIDHF ( AliAODPidHF pid)
inline

Definition at line 71 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetPIDselCaseZero ( Int_t  strat)
inline

Definition at line 103 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetPIDstrategy ( Int_t  strat)
inline

Definition at line 100 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetPionTrackCuts ( AliESDtrackCuts *  cuts)
inline

Definition at line 60 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetPtAccCut ( Double_t  ptcut)
inline

Definition at line 94 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetPtBinWidth ( Double_t  binw)
inline

Definition at line 92 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetRDHFCuts ( AliRDHFCuts cuts)
inline

Definition at line 75 of file AliAnalysisTaskCombinHF.h.

void AliAnalysisTaskCombinHF::SetReadMC ( Bool_t  read)
inline

Definition at line 40 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::SetTrackCuts ( AliESDtrackCuts *  cuts)
inline

Definition at line 56 of file AliAnalysisTaskCombinHF.h.

Referenced by AddTaskCombinHF().

void AliAnalysisTaskCombinHF::Terminate ( Option_t option)
virtual

Terminate analysis

Definition at line 1434 of file AliAnalysisTaskCombinHF.cxx.

void AliAnalysisTaskCombinHF::UserCreateOutputObjects ( )
virtual

Create the output container

Definition at line 313 of file AliAnalysisTaskCombinHF.cxx.

void AliAnalysisTaskCombinHF::UserExec ( Option_t option)
virtual

Build the 3-track combinatorics (+-+ and -+-) for D+->Kpipi decays

Definition at line 532 of file AliAnalysisTaskCombinHF.cxx.

Member Data Documentation

AliRDHFCuts* AliAnalysisTaskCombinHF::fAnalysisCuts
private
Double_t AliAnalysisTaskCombinHF::fBayesThresKaon
private

flag to change PID strategy

Definition at line 202 of file AliAnalysisTaskCombinHF.h.

Referenced by SetBayesThres(), and UserExec().

Double_t AliAnalysisTaskCombinHF::fBayesThresPion
private

threshold for kaon identification via Bayesian PID

Definition at line 203 of file AliAnalysisTaskCombinHF.h.

Referenced by SetBayesThres(), and UserExec().

AliNormalizationCounter* AliAnalysisTaskCombinHF::fCounter
private

maximum angle for track rotation (3rd prong)

!Counter for normalization

Definition at line 189 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TH1F* AliAnalysisTaskCombinHF::fDeltaMass
private

! hist. mass difference after rotations

Definition at line 160 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

THnSparse* AliAnalysisTaskCombinHF::fDeltaMassFullAnalysis
private

! hist. mass difference after rotations with more details

Definition at line 161 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fDoEventMixing
private
Double_t AliAnalysisTaskCombinHF::fEtaAccCut
private

width of pt bin (GeV/c)

Definition at line 179 of file AliAnalysisTaskCombinHF.h.

Referenced by CheckAcceptance(), and SetEtaAccCut().

TTree** AliAnalysisTaskCombinHF::fEventBuffer
private

number of pools

! structure for event mixing

Definition at line 216 of file AliAnalysisTaskCombinHF.h.

Referenced by DoMixingWithCuts(), DoMixingWithPools(), FinishTaskOutput(), ResetPool(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TObjString* AliAnalysisTaskCombinHF::fEventInfo
private
TH2F* AliAnalysisTaskCombinHF::fEventsPerPool
private

! hist with number of events per pool

Definition at line 165 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), and UserExec().

UInt_t AliAnalysisTaskCombinHF::fFilterMask
private

Definition at line 167 of file AliAnalysisTaskCombinHF.h.

Referenced by IsTrackSelected(), and SetFilterMask().

Int_t AliAnalysisTaskCombinHF::fFullAnalysis
private

flag for definition of c,b origin

Definition at line 195 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), and SetAnalysisLevel().

Bool_t AliAnalysisTaskCombinHF::fGoUpToQuark
private

flag to select prompt (1), feeddown (2) or all (3)

Definition at line 194 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), FillHistos(), and SetGoUpToQuark().

TH1F* AliAnalysisTaskCombinHF::fHistCheckDecChan
private

!hist. of decay channel of D meson

Definition at line 143 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH1F* AliAnalysisTaskCombinHF::fHistCheckDecChanAcc
private

!hist. of decay channel of D meson in acc.

Definition at line 144 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH1F* AliAnalysisTaskCombinHF::fHistCheckOrigin
private

!hist. of origin (c/b) of D meson

Definition at line 141 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH1F* AliAnalysisTaskCombinHF::fHistCheckOriginSel
private

!hist. of origin (c/b) of D meson

Definition at line 142 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH2F* AliAnalysisTaskCombinHF::fHistEventMultZv
private

!hist. of evnt Mult vs. Zv for all events

Definition at line 137 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TH2F* AliAnalysisTaskCombinHF::fHistEventMultZvEvSel
private

!hist. of evnt Mult vs. Zv for selected ev

Definition at line 138 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TH1F* AliAnalysisTaskCombinHF::fHistNEvents
private

!hist. for No. of events

Definition at line 136 of file AliAnalysisTaskCombinHF.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fHistTrackEtaMultZv
private
TH1F* AliAnalysisTaskCombinHF::fHistTrackStatus
private

!hist. of status of tracks

Definition at line 139 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

TObjArray* AliAnalysisTaskCombinHF::fKaonTracks
private

upper limit for multiplcities in MC histos

Definition at line 222 of file AliAnalysisTaskCombinHF.h.

Referenced by ResetPool(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

Bool_t AliAnalysisTaskCombinHF::fKeepNegID
private

flag for upper p limit for id band for kaon

Definition at line 200 of file AliAnalysisTaskCombinHF.h.

Referenced by IsTrackSelected(), and SetKeepNegIDtracks().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsY
private

! hist. of Y vs. Pt vs. Mass (all cand)

Definition at line 151 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYBkg
private

! hist. of Y vs. Pt vs. Mass (background)

Definition at line 157 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYLSmm
private

! hist. of Y vs. Pt vs. Mass (like sign –)

Definition at line 154 of file AliAnalysisTaskCombinHF.h.

Referenced by FillLSHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYLSpp
private

! hist. of Y vs. Pt vs. Mass (like sign ++)

Definition at line 153 of file AliAnalysisTaskCombinHF.h.

Referenced by FillLSHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYME
private

! hist. of Y vs. Pt vs. Mass (mixedevents)

Definition at line 162 of file AliAnalysisTaskCombinHF.h.

Referenced by FillMEHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYMELSmm
private

! hist. of Y vs. Pt vs. Mass (mixedevents)

Definition at line 164 of file AliAnalysisTaskCombinHF.h.

Referenced by FillMEHistosLS(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYMELSpp
private

! hist. of Y vs. Pt vs. Mass (mixedevents)

Definition at line 163 of file AliAnalysisTaskCombinHF.h.

Referenced by FillMEHistosLS(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYRefl
private

! hist. of Y vs. Pt vs. Mass (reflections)

Definition at line 156 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYRot
private

! hist. of Y vs. Pt vs. Mass (rotations)

Definition at line 152 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fMassVsPtVsYSig
private

! hist. of Y vs. Pt vs. Mass (signal)

Definition at line 155 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

Double_t AliAnalysisTaskCombinHF::fMaxAngleForRot
private

minimum angle for track rotation

Definition at line 184 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation(), and FillHistos().

Double_t AliAnalysisTaskCombinHF::fMaxAngleForRot3
private

minimum angle for track rotation (3rd prong)

Definition at line 187 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation3rdProng(), and FillHistos().

Double_t AliAnalysisTaskCombinHF::fMaxMass
private

minimum value of invariant mass

Definition at line 176 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), FillLSHistos(), FillMEHistos(), FillMEHistosLS(), SetMassWindow(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskCombinHF::fMaxMultDiffForMix
private

cut on zvertex distance for event mixing with cuts

Definition at line 208 of file AliAnalysisTaskCombinHF.h.

Referenced by CanBeMixed(), and SetEventMixingWithCuts().

Double_t AliAnalysisTaskCombinHF::fMaxMultiplicity
private

lower limit for multiplcities in MC histos

Definition at line 221 of file AliAnalysisTaskCombinHF.h.

Referenced by SetMultiplicityRange(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskCombinHF::fmaxPforIDKaon
private

flag for upper p limit for id band for pion

Definition at line 199 of file AliAnalysisTaskCombinHF.h.

Referenced by IsKaon(), and SetMaxPforIDKaon().

Double_t AliAnalysisTaskCombinHF::fmaxPforIDPion
private

knSigma, kBayesianMaxProb, kBayesianThres

Definition at line 198 of file AliAnalysisTaskCombinHF.h.

Referenced by IsPion(), and SetMaxPforIDPion().

Double_t AliAnalysisTaskCombinHF::fMaxPt
private

maximum value of invariant mass

Definition at line 177 of file AliAnalysisTaskCombinHF.h.

Referenced by SetMaxPt(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskCombinHF::fMaxzVertDistForMix
private

maximum number of events to be used in event mixing

Definition at line 207 of file AliAnalysisTaskCombinHF.h.

Referenced by CanBeMixed(), and SetEventMixingWithCuts().

Int_t AliAnalysisTaskCombinHF::fMeson
private
Double_t AliAnalysisTaskCombinHF::fMinAngleForRot
private

number of rotations

Definition at line 183 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation(), and FillHistos().

Double_t AliAnalysisTaskCombinHF::fMinAngleForRot3
private

number of rotations (3rd prong)

Definition at line 186 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation3rdProng(), and FillHistos().

Double_t AliAnalysisTaskCombinHF::fMinMass
private
Double_t AliAnalysisTaskCombinHF::fMinMultiplicity
private

multiplicity

Definition at line 220 of file AliAnalysisTaskCombinHF.h.

Referenced by SetMultiplicityRange(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskCombinHF::fMixingsPerPool
private

! hist with number of mixings per pool

Definition at line 166 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Double_t AliAnalysisTaskCombinHF::fMultiplicity
private
Double_t* AliAnalysisTaskCombinHF::fMultPoolLims
private

number of pools in multiplicity for event mixing +1

Definition at line 214 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureMultiplicityPools(), GetPoolIndex(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fNMultPools
private
Int_t AliAnalysisTaskCombinHF::fNMultPoolsLimSize
private

number of pools in multiplicity for event mixing

Definition at line 213 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureMultiplicityPools(), and GetPoolIndex().

Int_t AliAnalysisTaskCombinHF::fNOfPools
private
TH1F* AliAnalysisTaskCombinHF::fNormRotated
private

! hist. rotated/selected D+

Definition at line 159 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fNRotations
private

pt limits for acceptance step

Definition at line 182 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation(), and FillHistos().

Int_t AliAnalysisTaskCombinHF::fNRotations3
private

maximum angle for track rotation

Definition at line 185 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureRotation3rdProng(), and FillHistos().

TH1F* AliAnalysisTaskCombinHF::fNSelected
private

! hist. of n. of selected D+

Definition at line 158 of file AliAnalysisTaskCombinHF.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fNumberOfEventsForMixing
private

flag for event mixing

Definition at line 206 of file AliAnalysisTaskCombinHF.h.

Referenced by DoMixingWithCuts(), SetNumberOfEventsForMixing(), and UserExec().

Int_t AliAnalysisTaskCombinHF::fNzVertPools
private

cut on multiplicity difference for event mixing with cuts

Definition at line 209 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureZVertPools(), DoMixingWithPools(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskCombinHF::fNzVertPoolsLimSize
private

number of pools in z vertex for event mixing

Definition at line 210 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureZVertPools(), and GetPoolIndex().

TList* AliAnalysisTaskCombinHF::fOutput
private

! list send on output slot 0

Definition at line 135 of file AliAnalysisTaskCombinHF.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

Double_t AliAnalysisTaskCombinHF::fPhiMassCut
private

kaon track selection

Definition at line 171 of file AliAnalysisTaskCombinHF.h.

Referenced by SetCutOnKKInvMass(), and UserExec().

AliAODPidHF* AliAnalysisTaskCombinHF::fPidHF
private

cut on the KK inv mass for phi selection

Definition at line 172 of file AliAnalysisTaskCombinHF.h.

Referenced by IsKaon(), IsPion(), SetPIDHF(), UserExec(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fPIDselCaseZero
private

flag to keep also track with negative ID (default kFALSE, change it only if you know what you are doing)

Definition at line 201 of file AliAnalysisTaskCombinHF.h.

Referenced by IsKaon(), IsPion(), and SetPIDselCaseZero().

Int_t AliAnalysisTaskCombinHF::fPIDstrategy
private

flag to set analysis level (0 is the fastest)

Definition at line 197 of file AliAnalysisTaskCombinHF.h.

Referenced by SetPIDstrategy(), and UserExec().

TObjArray* AliAnalysisTaskCombinHF::fPionTracks
private

array of kaon-compatible tracks (TLorentzVectors)

Definition at line 223 of file AliAnalysisTaskCombinHF.h.

Referenced by ResetPool(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCombinHF().

Int_t AliAnalysisTaskCombinHF::fPromptFeeddown
private

flag for access to MC

Definition at line 193 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), FillHistos(), SelectFeeddownD(), SelectPromptAndFeeddownD(), and SelectPromptD().

Double_t AliAnalysisTaskCombinHF::fPtAccCut
private

eta limits for acceptance step

Definition at line 180 of file AliAnalysisTaskCombinHF.h.

Referenced by CheckAcceptance(), and SetPtAccCut().

Double_t AliAnalysisTaskCombinHF::fPtBinWidth
private

maximum pT value for inv. mass histograms

Definition at line 178 of file AliAnalysisTaskCombinHF.h.

Referenced by SetPtBinWidth(), and UserCreateOutputObjects().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultGen
private

! hist. of Y vs. Pt vs. Mult generated (all D)

Definition at line 145 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultGenAcc
private

! hist. of Y vs. Pt vs. Mult generated (D in acc)

Definition at line 148 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultGenAccEvSel
private

! hist. of Y vs. Pt vs. Mult generated (D in acc, sel ev.)

Definition at line 149 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultGenLargeAcc
private

! hist. of Y vs. Pt vs. Mult generated (|y|<0.9)

Definition at line 146 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultGenLimAcc
private

! hist. of Y vs. Pt vs. Mult generated (|y|<0.5)

Definition at line 147 of file AliAnalysisTaskCombinHF.h.

Referenced by FillGenHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

TH3F* AliAnalysisTaskCombinHF::fPtVsYVsMultReco
private

! hist. of Y vs. Pt vs. Mult generated (Reco D)

Definition at line 150 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().

Bool_t AliAnalysisTaskCombinHF::fReadMC
private

mesonSpecies (see enum)

Definition at line 192 of file AliAnalysisTaskCombinHF.h.

Referenced by FillHistos(), SetReadMC(), UserCreateOutputObjects(), and UserExec().

AliESDtrackCuts* AliAnalysisTaskCombinHF::fTrackCutsAll
private

FilterMask.

Definition at line 168 of file AliAnalysisTaskCombinHF.h.

Referenced by IsTrackSelected(), SetTrackCuts(), and ~AliAnalysisTaskCombinHF().

AliESDtrackCuts* AliAnalysisTaskCombinHF::fTrackCutsKaon
private

pion track selection

Definition at line 170 of file AliAnalysisTaskCombinHF.h.

Referenced by IsKaon(), SetKaonTrackCuts(), and ~AliAnalysisTaskCombinHF().

AliESDtrackCuts* AliAnalysisTaskCombinHF::fTrackCutsPion
private

Definition at line 169 of file AliAnalysisTaskCombinHF.h.

Referenced by IsPion(), SetPionTrackCuts(), and ~AliAnalysisTaskCombinHF().

Double_t AliAnalysisTaskCombinHF::fVtxZ
private

unique event Id for event mixing checks

Definition at line 218 of file AliAnalysisTaskCombinHF.h.

Referenced by ResetPool(), UserCreateOutputObjects(), and UserExec().

Double_t* AliAnalysisTaskCombinHF::fzVertPoolLims
private

number of pools in z vertex for event mixing +1

Definition at line 211 of file AliAnalysisTaskCombinHF.h.

Referenced by ConfigureZVertPools(), GetPoolIndex(), UserCreateOutputObjects(), and ~AliAnalysisTaskCombinHF().


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