laura is hosted by Hepforge, IPPP Durham
Laura++  v1r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCruijffPdf.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2008 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
22 /*****************************************************************************
23  * Class based on RooFit/RooCruijff. *
24  * Original copyright given below. *
25  *****************************************************************************
26  * Authors: *
27  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
28  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
29  * *
30  * Copyright (c) 2000-2005, Regents of the University of California *
31  * and Stanford University. All rights reserved. *
32  * *
33  * Redistribution and use in source and binary forms, *
34  * with or without modification, are permitted according to the terms *
35  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
36  *****************************************************************************/
37 
38 #ifndef LAU_CRUIJFF_PDF
39 #define LAU_CRUIJFF_PDF
40 
41 #include "TString.h"
42 #include "TRandom.h"
43 #include "LauAbsPdf.hh"
44 #include "LauParameter.hh"
45 
46 #include <vector>
47 
48 using std::vector;
49 
50 class LauCruijffPdf : public LauAbsPdf {
51 
52  public:
54 
60  LauCruijffPdf(const TString& theVarName, const vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
61 
63  virtual ~LauCruijffPdf();
64 
66  LauCruijffPdf(const LauCruijffPdf& other);
67 
69 
72  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
73 
75 
77  virtual void checkPositiveness() {}; // Nothing to check here.
78 
80 
83  virtual void calcPDFHeight( const LauKinematics* kinematics );
84 
85  protected:
86 
87  private:
98 
99  ClassDef(LauCruijffPdf,0) // Define the Cruijff PDF
100 };
101 
102 #endif
LauParameter * mean_
Gaussian mean.
LauParameter * alphaL_
Alpha of left Gaussian.
LauParameter * sigmaR_
Sigma of right Gaussian.
LauParameter * sigmaL_
Sigma of left Gaussian.
LauParameter * alphaR_
Alpha of right Gaussian.
LauCruijffPdf(const TString &theVarName, const vector< LauParameter * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Class for defining a Cruijff PDF.
File containing declaration of LauParameter class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:31
File containing declaration of LauAbsPdf class.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0
Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ...
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:40
virtual ~LauCruijffPdf()
Destructor.
Class for calculating 3-body kinematic quantities.
virtual void checkPositiveness()
Check that PDF is positive.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44