]>
Commit | Line | Data |
---|---|---|
7b54a483 | 1 | #ifndef ALIANALYSISTASKSEBTOJPSITOELE_H\r |
2 | #define ALIANALYSISTASKSEBTOJPSITOELE_H\r | |
3 | /* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *\r | |
4 | * See cxx source for full Copyright notice */\r | |
5 | \r | |
6 | //*************************************************************************\r | |
7 | // Class AliAnalysisTaskSEBtoJPSItoEle\r | |
8 | // AliAnalysisTaskSE for the reconstruction \r | |
9 | // of heavy-flavour decay candidates\r | |
10 | // Author: C.Di Giglio, carmelo.digiglio@ba.infn.it\r | |
11 | //*************************************************************************\r | |
12 | \r | |
13 | class TH1F;\r | |
14 | class TList;\r | |
15 | class AliAnalysisBtoJPSItoEle;\r | |
16 | #include <TClonesArray.h>\r | |
17 | #include <TNtuple.h>\r | |
18 | #include <TH2F.h> \r | |
19 | #include "AliAnalysisTaskSE.h"\r | |
20 | \r | |
21 | class AliAnalysisTaskSEBtoJPSItoEle : public AliAnalysisTaskSE\r | |
22 | {\r | |
23 | public:\r | |
24 | \r | |
25 | AliAnalysisTaskSEBtoJPSItoEle();\r | |
26 | AliAnalysisTaskSEBtoJPSItoEle(const char *name);\r | |
27 | virtual ~AliAnalysisTaskSEBtoJPSItoEle();\r | |
28 | \r | |
29 | // Implementation of interface methods\r | |
30 | virtual void UserCreateOutputObjects();\r | |
31 | virtual void Init();\r | |
32 | virtual void LocalInit() {Init();}\r | |
33 | virtual void UserExec(Option_t *option);\r | |
34 | virtual void Terminate(Option_t *option);\r | |
35 | \r | |
36 | void SetCutsD0(const Double_t cutsD0[9]);\r | |
37 | void SetPtCuts(const Double_t ptcuts[2]);\r | |
38 | void SetAODMCInfo(Bool_t OkMCInfo) { fOkAODMC = OkMCInfo;}\r | |
39 | void SetMinimize(Bool_t OkMinimize) { fOkMinimize = OkMinimize;}\r | |
f9fd1412 | 40 | void ReadAODMCInfo(AliAODEvent* aodEv, const TClonesArray* inArray);\r |
7b54a483 | 41 | void SetPathMCfile (TString mcfilename="CsiMCfromKine_10PtBins.root") {fNameMCfile = mcfilename;}\r |
42 | TH1F* OpenLocalMCFile(TString dataDir, Int_t nbin); \r | |
43 | \r | |
44 | private:\r | |
45 | \r | |
46 | AliAnalysisTaskSEBtoJPSItoEle(const AliAnalysisTaskSEBtoJPSItoEle &source);\r | |
47 | AliAnalysisTaskSEBtoJPSItoEle& operator=(const AliAnalysisTaskSEBtoJPSItoEle& source); \r | |
48 | //\r | |
49 | TList *fOutput; //! list send on output slot 0\r | |
144ffc26 | 50 | AliAnalysisBtoJPSItoEle *fCdfFit; // Unbinned log-likelihood minimizer \r |
9d6d35b0 | 51 | TNtuple *fNtupleJPSI; //! Ntuple of pseudo-proper decay time & invariant mass values\r |
52 | TH1F *fhDecayTimeMCjpsifromB; //! Pseudo-proper decay time distribution used as template for JPSIs from B\r | |
53 | TH1F *fhDecayTime; //! Pseudo-proper decay time distribution\r | |
54 | TH1F *fhInvMass; //! Invariant mass distribution\r | |
55 | TH1F *fhD0; //! Impact parameter distribution\r | |
56 | TH1F *fhD0D0; //! Product of impact parameters distributions\r | |
57 | TH1F *fhCosThetaStar; //! Cosine of decay angle distribution\r | |
58 | TH1F *fhCosThetaPointing; //! Cosine of pointing angle distribution\r | |
59 | TH2F *fhCtsVsD0D0; //! Cos theta star Vs. D0D0 distribution\r | |
7b54a483 | 60 | Bool_t fOkAODMC; // Flag to read AOD monte carlo information\r |
61 | TString fNameMCfile; // Name of the MC file with X template\r | |
62 | Bool_t fOkMinimize; // Flag to enable unbinned log-likelihood minimization\r | |
63 | \r | |
64 | Double_t fCuts[9]; // cuts for N-tuple values selection\r | |
65 | Double_t fPtCuts[2]; // Max and min pt of the candidates\r | |
66 | \r | |
f9fd1412 | 67 | ClassDef(AliAnalysisTaskSEBtoJPSItoEle,1); // AliAnalysisTaskSE for the reconstruction of heavy-flavour decay candidates\r |
7b54a483 | 68 | };\r |
69 | #endif\r |