Logo ROOT   6.14/05
Reference Guide
RooBreitWigner.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooBreitWigner.h,v 1.9 2007/07/12 20:30:49 wouter Exp $
5  * Authors: *
6  * AS, Abi Soffer, Colorado State University, abi@slac.stanford.edu *
7  * TS, Thomas Schietinger, SLAC, schieti@slac.stanford.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * Colorado State University *
11  * and Stanford University. All rights reserved. *
12  * *
13  * Redistribution and use in source and binary forms, *
14  * with or without modification, are permitted according to the terms *
15  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
16  *****************************************************************************/
17 #ifndef ROO_BREITWIGNER
18 #define ROO_BREITWIGNER
19 
20 #include "RooAbsPdf.h"
21 #include "RooRealProxy.h"
22 
23 class RooRealVar;
24 
25 class RooBreitWigner : public RooAbsPdf {
26 public:
28  RooBreitWigner(const char *name, const char *title,
29  RooAbsReal& _x, RooAbsReal& _mean, RooAbsReal& _width);
30  RooBreitWigner(const RooBreitWigner& other, const char* name=0) ;
31  virtual TObject* clone(const char* newname) const { return new RooBreitWigner(*this,newname); }
32  inline virtual ~RooBreitWigner() { }
33 
34  Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
35  Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
36 
37 protected:
38 
42 
43  Double_t evaluate() const ;
44 
45 // void initGenerator();
46 // Int_t generateDependents();
47 
48 private:
49 
50  ClassDef(RooBreitWigner,1) // Breit Wigner PDF
51 };
52 
53 #endif
Double_t evaluate() const
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...
virtual ~RooBreitWigner()
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:320
RooRealProxy mean
RooRealVar represents a fundamental (non-derived) real valued object.
Definition: RooRealVar.h:36
RooRealProxy width
Class RooBreitWigner is a RooAbsPdf implementation that models a non-relativistic Breit-Wigner shape...
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported...
virtual TObject * clone(const char *newname) const
Mother of all ROOT objects.
Definition: TObject.h:37
RooRealProxy x
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
char name[80]
Definition: TGX11.cxx:109