]>
Commit | Line | Data |
---|---|---|
7b54a483 | 1 | #ifndef ALIANALYSISBTOJPSITOELE_H\r |
2 | #define ALIANALYSISBTOJPSITOELE_H\r | |
3 | /* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *\r | |
4 | * See cxx source for full Copyright notice */\r | |
5 | \r | |
6 | //-------------------------------------------------------------------------\r | |
7 | // Class AliAnalysisBtoJPSItoEle\r | |
8 | // Unbinned log-likelihood fit analysis class\r | |
9 | //\r | |
10 | // Origin: C.Di Giglio\r | |
11 | // Contact: Carmelo.Digiglio@ba.infn.it , giuseppe.bruno@ba.infn.it\r | |
12 | //-------------------------------------------------------------------------\r | |
13 | class TNtuple ;\r | |
f9fd1412 | 14 | //class AliBtoJPSItoEleCDFfitFCN ;\r |
15 | //class AliBtoJPSItoEleCDFfitHandler ; \r | |
7b54a483 | 16 | #include "TH1F.h"\r |
f9fd1412 | 17 | #include "AliBtoJPSItoEleCDFfitHandler.h"\r |
18 | #include "AliBtoJPSItoEleCDFfitFCN.h"\r | |
7b54a483 | 19 | \r |
20 | //_________________________________________________________________________ \r | |
21 | class AliAnalysisBtoJPSItoEle : public TNamed {\r | |
22 | public:\r | |
23 | //\r | |
24 | AliAnalysisBtoJPSItoEle();\r | |
25 | AliAnalysisBtoJPSItoEle(const AliAnalysisBtoJPSItoEle& source);\r | |
26 | AliAnalysisBtoJPSItoEle& operator=(const AliAnalysisBtoJPSItoEle& source);\r | |
27 | virtual ~AliAnalysisBtoJPSItoEle();\r | |
28 | \r | |
f9fd1412 | 29 | Int_t DoMinimization();\r |
7b54a483 | 30 | void ReadCandidates(TNtuple* nt, Double_t* &x, Double_t* &m, Int_t& n); // primary JPSI + secondary JPSI + bkg couples\r |
31 | \r | |
32 | void SetPtBin(Int_t BinNum) { fPtBin = BinNum ; }\r | |
f9fd1412 | 33 | void SetCsiMC();\r |
34 | //void SetResolutionConstants(Int_t BinNum);\r | |
35 | void SetFitHandler(Double_t* /*pseudoproper*/, Double_t* /*inv mass*/, Int_t /*candidates*/); \r | |
7b54a483 | 36 | void CloneMCtemplate(const TH1F* MCtemplate) {fMCtemplate = (TH1F*)MCtemplate->Clone("fMCtemplate");}\r |
37 | Double_t* GetResolutionConstants(Double_t* resolutionConst);\r | |
f9fd1412 | 38 | AliBtoJPSItoEleCDFfitHandler* GetCDFFitHandler() const { return fFCNfunction ; }\r |
7b54a483 | 39 | Int_t GetPtBin() const { return fPtBin ; }\r |
40 | \r | |
41 | private:\r | |
42 | //\r | |
43 | AliBtoJPSItoEleCDFfitHandler* fFCNfunction; //! pointer to the interface class\r | |
44 | Int_t fPtBin; // number of pt bin in which the analysis is performes\r | |
45 | TH1F* fMCtemplate; //! template of the MC distribution for the x distribution of the secondary J/psi\r | |
46 | \r | |
f9fd1412 | 47 | ClassDef(AliAnalysisBtoJPSItoEle,1); // AliAnalysisBtoJPSItoEle class\r |
7b54a483 | 48 | };\r |
49 | \r | |
50 | #endif\r |