laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCruijffPdf.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2008 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
36 /*****************************************************************************
37  * Class based on RooFit/RooCruijff. *
38  * Original copyright given below. *
39  *****************************************************************************
40  * Authors: *
41  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
42  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
43  * *
44  * Copyright (c) 2000-2005, Regents of the University of California *
45  * and Stanford University. All rights reserved. *
46  * *
47  * Redistribution and use in source and binary forms, *
48  * with or without modification, are permitted according to the terms *
49  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
50  *****************************************************************************/
51 
52 #ifndef LAU_CRUIJFF_PDF
53 #define LAU_CRUIJFF_PDF
54 
55 #include "LauAbsPdf.hh"
56 #include "LauParameter.hh"
57 
58 #include "TRandom.h"
59 #include "TString.h"
60 
61 #include <vector>
62 
63 class LauCruijffPdf : public LauAbsPdf {
64 
65  public:
67 
73  LauCruijffPdf( const TString& theVarName,
74  const std::vector<LauAbsRValue*>& params,
75  Double_t minAbscissa,
76  Double_t maxAbscissa );
77 
79  virtual ~LauCruijffPdf();
80 
82 
85  virtual void calcLikelihoodInfo( const LauAbscissas& abscissas );
86 
88 
90 
93  virtual void calcPDFHeight( const LauKinematics* kinematics );
94 
95  protected:
96 
97  private:
99  LauCruijffPdf( const LauCruijffPdf& other );
100 
102  LauCruijffPdf& operator=( const LauCruijffPdf& other );
103 
114 
115  ClassDef( LauCruijffPdf, 0 ) // Define the Cruijff PDF
116 };
117 
118 #endif
File containing declaration of LauAbsPdf class.
virtual ~LauCruijffPdf()
Destructor.
LauAbsRValue * sigmaL_
Sigma of left Gaussian.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:58
File containing declaration of LauParameter class.
LauCruijffPdf & operator=(const LauCruijffPdf &other)
Copy assignment operator (not implemented)
LauCruijffPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
LauAbsRValue * mean_
Gaussian mean.
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:54
LauAbsRValue * alphaL_
Alpha of left Gaussian.
LauAbsRValue * alphaR_
Alpha of right Gaussian.
Pure abstract base class for defining a parameter containing an R value.
Definition: LauAbsRValue.hh:45
Class for defining a Cruijff PDF.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
Class for calculating 3-body kinematic quantities.
LauAbsRValue * sigmaR_
Sigma of right Gaussian.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.