-#ifndef ALIDIELECTRONBTOJPSITOELE_H\r
-#define ALIDIELECTRONBTOJPSITOELE_H\r
-/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *\r
- * See cxx source for full Copyright notice */\r
-\r
-//-------------------------------------------------------------------------\r
-// Class AliDielectronBtoJPSItoEle\r
-// Unbinned log-likelihood fit analysis class\r
-//\r
-// Origin: C.Di Giglio\r
-// Contact: Carmelo.Digiglio@ba.infn.it , giuseppe.bruno@ba.infn.it\r
-//-------------------------------------------------------------------------\r
-\r
-#include "TH1F.h"\r
-\r
-class TNtuple ;\r
-class AliDielectronBtoJPSItoEleCDFfitHandler ; \r
-class AliDielectronBtoJPSItoEleCDFfitFCN ; \r
-\r
-class AliDielectronBtoJPSItoEle : public TNamed {\r
- public:\r
- //\r
- AliDielectronBtoJPSItoEle();\r
- AliDielectronBtoJPSItoEle(const AliDielectronBtoJPSItoEle& source);\r
- AliDielectronBtoJPSItoEle& operator=(const AliDielectronBtoJPSItoEle& source);\r
- virtual ~AliDielectronBtoJPSItoEle();\r
-\r
- Int_t DoMinimization(Int_t step = 0);\r
- void ReadCandidates(TNtuple* nt, Double_t* &x, Double_t* &m, Double_t* &pt, Int_t * &typeCand, Int_t& n,Double_t massLow = -1., Double_t massUp = -1., Double_t ptLow = -1., Double_t ptUp = -1.); // primary JPSI + secondary JPSI + bkg couples\r
-\r
- void SetCsiMC();\r
- void SetFitHandler(Double_t* x /*pseudoproper*/, Double_t* m /*inv mass*/, Double_t *pt /*transverse momentum */, Int_t *type /*type*/, Int_t ncand /*candidates*/); \r
- void CloneMCtemplate(const TH1F* MCtemplate) {fMCtemplate = (TH1F*)MCtemplate->Clone("fMCtemplate");}\r
- void SetResTypeAnalysis(TString resType){fResType = resType;}\r
- Double_t* GetResolutionConstants(Double_t* resolutionConst);\r
- AliDielectronBtoJPSItoEleCDFfitHandler* GetCDFFitHandler() const { return fFCNfunction ; }\r
-\r
- private:\r
- //\r
- AliDielectronBtoJPSItoEleCDFfitHandler* fFCNfunction; //! pointer to the interface class\r
- TH1F* fMCtemplate; //! template of the MC distribution for the x distribution of the secondary J/psi\r
- TString fResType; // string with candidate's types considered\r
-\r
- ClassDef(AliDielectronBtoJPSItoEle,1); // AliDielectronBtoJPSItoEle class\r
-};\r
-\r
-#endif\r
+#ifndef ALIDIELECTRONBTOJPSITOELE_H
+#define ALIDIELECTRONBTOJPSITOELE_H
+/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+//-------------------------------------------------------------------------
+// Class AliDielectronBtoJPSItoEle
+// Unbinned log-likelihood fit analysis class
+//
+// Origin: C.Di Giglio
+// Contact: Carmelo.Digiglio@ba.infn.it , giuseppe.bruno@ba.infn.it
+//-------------------------------------------------------------------------
+
+#include "TH1F.h"
+
+class TNtuple ;
+class AliDielectronBtoJPSItoEleCDFfitHandler ;
+class AliDielectronBtoJPSItoEleCDFfitFCN ;
+
+class AliDielectronBtoJPSItoEle : public TNamed {
+ public:
+ //
+ AliDielectronBtoJPSItoEle();
+ AliDielectronBtoJPSItoEle(const AliDielectronBtoJPSItoEle& source);
+ AliDielectronBtoJPSItoEle& operator=(const AliDielectronBtoJPSItoEle& source);
+ virtual ~AliDielectronBtoJPSItoEle();
+
+ Int_t DoMinimization(Int_t step = 0);
+ void ReadCandidates(TNtuple* nt, Double_t* &x, Double_t* &m, Double_t* &pt, Int_t * &typeCand, Int_t& n,Double_t massLow = -1., Double_t massUp = -1., Double_t ptLow = -1., Double_t ptUp = -1.); // primary JPSI + secondary JPSI + bkg couples
+
+ void SetCsiMC();
+ void SetFitHandler(Double_t* x /*pseudoproper*/, Double_t* m /*inv mass*/, Double_t *pt /*transverse momentum */, Int_t *type /*type*/, Int_t ncand /*candidates*/);
+ void CloneMCtemplate(const TH1F* MCtemplate) {fMCtemplate = (TH1F*)MCtemplate->Clone("fMCtemplate");}
+ void SetResTypeAnalysis(TString resType){fResType = resType;}
+ Double_t* GetResolutionConstants(Double_t* resolutionConst);
+ AliDielectronBtoJPSItoEleCDFfitHandler* GetCDFFitHandler() const { return fFCNfunction ; }
+
+ private:
+ //
+ AliDielectronBtoJPSItoEleCDFfitHandler* fFCNfunction; //! pointer to the interface class
+ TH1F* fMCtemplate; //! template of the MC distribution for the x distribution of the secondary J/psi
+ TString fResType; // string with candidate's types considered
+
+ ClassDef(AliDielectronBtoJPSItoEle,1); // AliDielectronBtoJPSItoEle class
+};
+
+#endif