1 #ifndef ALICFVERTEXINGHF3PRONG_H
2 #define ALICFVERTEXINGHF3PRONG_H
4 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ///////////////////////////////////////////////////////////////////
11 // Class to compute variables for correction framework //
12 // for 3-body decays of D mesons (D+, Ds, Lc) //
13 // in bins of cut variables //
14 // Origin: Francesco Prino (prino@to.infn.it) //
15 // Renu Bala (bala@to.infn.it) //
17 ///////////////////////////////////////////////////////////////////
19 #include "AliCFVertexingHF.h"
20 #include "AliAODRecoDecayHF.h"
21 #include "AliAODRecoDecayHF3Prong.h"
23 class AliAODMCParticle;
25 class AliCFVertexingHF;
29 class AliCFVertexingHF3Prong : public AliCFVertexingHF{
32 AliCFVertexingHF3Prong(Int_t decay,UInt_t resonantDecay);
33 AliCFVertexingHF3Prong(Int_t decay);
34 AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay);
35 AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay,UInt_t resonantDecay);
36 virtual ~AliCFVertexingHF3Prong(){};
40 Bool_t GetGeneratedValuesFromMCParticle(Double_t* /*vectorMC*/);
41 Bool_t GetRecoValuesFromCandidate(Double_t* /*vectorReco*/ ) const;
42 Bool_t CheckMCChannelDecay()const;
44 Bool_t SetRecoCandidateParam(AliAODRecoDecayHF *recoCand);
45 virtual void SetDecay3Prong(Int_t decay){fDecay=decay;}
46 Bool_t CheckLc3Prong() const;
47 void SetResonantDecay(UInt_t resonantDecay) {fResonantDecay = resonantDecay;}
48 UInt_t GetResonantDecay() const {return fResonantDecay;}
50 void SetGeneratedDsOption(Int_t opt) {fGenDsOption=opt;}
51 Int_t GetGeneratedDsOption() const {return fGenDsOption;}
53 enum EDsSel {kCountAllDsKKpi=0, kCountPhipi=1, kCountK0stK=2, kCountResonant=3, kCountNonResonant=4};
60 AliCFVertexingHF3Prong(const AliCFVertexingHF3Prong& c);
61 AliCFVertexingHF3Prong& operator= (const AliCFVertexingHF3Prong& other);
63 Int_t fDecay; // decay mode id
64 Int_t fGenDsOption; // option for selection Ds (see enum)
65 UInt_t fResonantDecay; // resonant decay for which to run the CF
67 ClassDef(AliCFVertexingHF3Prong, 3);