AliPhysics  8d00e07 (8d00e07)
AliCFVertexingHFCascade.h
Go to the documentation of this file.
1 #ifndef ALICFVERTEXINGHFCASCADE_H
2 #define ALICFVERTEXINGHFCASCADE_H
3 
4 /**************************************************************************
5  * Copyright(c) 1998-2011, ALICE Experiment at CERN, All rights reserved. *
6  * *
7  * Author: The ALICE Off-line Project. *
8  * Contributors are mentioned in the code where appropriate. *
9  * *
10  * Permission to use, copy, modify and distribute this software and its *
11  * documentation strictly for non-commercial purposes is hereby granted *
12  * without fee, provided that the above copyright notice appears in all *
13  * copies and that both the copyright notice and this permission notice *
14  * appear in the supporting documentation. The authors make no claims *
15  * about the suitability of this software for any purpose. It is *
16  * provided "as is" without express or implied warranty. *
17  **************************************************************************/
18 
19 //-----------------------------------------------------------------------
25 //-----------------------------------------------------------------------
26 
27 
28 #include "AliCFVertexingHF.h"
29 #include "AliAODRecoDecayHF.h"
30 #include "AliAODRecoCascadeHF.h"
32 
33 class AliAODMCParticle;
34 class TClonesArray;
35 class AliCFVertexingHF;
36 class AliESDtrack;
37 class TDatabasePDG;
38 class AliPIDResponse;
39 
41  public:
42 
44  AliCFVertexingHFCascade(TClonesArray *mcArray, UShort_t originDselection);
45 
46  //virtual ~AliCFVertexingHFCascade(){};
47 
48 
50  Bool_t GetRecoValuesFromCandidate(Double_t* /*vectorReco*/ ) const;
52 
54  //Bool_t EvaluateIfD0toKpi(AliAODMCParticle* neutralDaugh, Double_t* VectorD0)const;
55  Bool_t EvaluateIfCorrectNeutrDaugh(AliAODMCParticle* neutralDaugh, Double_t* VectorD0)const;
56 
57  void SetPtAccCut(Float_t* ptAccCut);
58  void SetEtaAccCut(Float_t* etaAccCut);
59  void SetAccCut(Float_t* ptAccCut, Float_t* etaAccCut);
60  void SetAccCut();
61 
62  Double_t GetEtaProng(Int_t iProng)const;
63  Double_t GetPtProng(Int_t iProng) const;
64 
71  void SetPrimaryVertex(AliAODVertex* vtx) {fPrimVtx = vtx;}
72 
73  Int_t GetPDGcascade() const {return fPDGcascade;}
74  Int_t GetPDGbachelor() const {return fPDGbachelor;}
79  AliAODVertex* GetPrimaryVertex() const {return fPrimVtx;}
80 
81  Bool_t CheckAdditionalCuts(AliPIDResponse* pidResponse) const;
82 
83  void SetUseCutsForTMVA(Bool_t useCutsForTMVA) {fUseCutsForTMVA = useCutsForTMVA;}
85 
88 
89  protected:
90 
91 
92  private:
95 
102  AliAODVertex* fPrimVtx;
106 
108  ClassDef(AliCFVertexingHFCascade,4);
109 };
111 
112 #endif
Int_t pdg
AliAODVertex * GetPrimaryVertex() const
Bool_t GetRecoValuesFromCandidate(Double_t *) const
double Double_t
Definition: External.C:58
Int_t fPDGneutrDaughPositive
pdg code of the V0
Double_t GetPtProng(Int_t iProng) const
Class for HF corrections as a function of many variables and steps For D* and other cascades...
AliAODVertex * fPrimVtx
pdg code of the negative daughter of the V0
Int_t fPDGbachelor
pdg code of the cascade
AliCFVertexingHFCascade & operator=(const AliCFVertexingHFCascade &other)
TCanvas * c
Definition: TestFitELoss.C:172
void SetPDGneutrDaughNegative(Int_t pdg)
void SetEtaAccCut(Float_t *etaAccCut)
void SetPtAccCut(Float_t *ptAccCut)
Double_t GetEtaProng(Int_t iProng) const
int Int_t
Definition: External.C:63
Int_t fPDGneutrDaughForMC
pdg code of the V0
float Float_t
Definition: External.C:68
void SetUseCutsForTMVA(Bool_t useCutsForTMVA)
void SetPrimaryVertex(AliAODVertex *vtx)
Int_t fPDGneutrDaughNegative
pdg code of the positive daughter of the V0
void SetCutOnMomConservation(Float_t cut)
Bool_t GetGeneratedValuesFromMCParticle(Double_t *)
Bool_t fUseCutsForTMVA
primaryVertex
Int_t fPDGneutrDaugh
pdg code of the bachelor
Bool_t CheckAdditionalCuts(AliPIDResponse *pidResponse) const
Bool_t GetCutOnMomConservation() const
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53
Bool_t EvaluateIfCorrectNeutrDaugh(AliAODMCParticle *neutralDaugh, Double_t *VectorD0) const
Bool_t SetRecoCandidateParam(AliAODRecoDecayHF *recoCand)
void SetPDGneutrDaughPositive(Int_t pdg)
Class for HF corrections as a function of many variables and step.