Revision: | 1.1 |
Committed: | Sat Jul 21 13:39:48 2012 UTC (12 years, 9 months ago) by sixie |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | HEAD |
Log Message: | add various functional models |
# | User | Rev | Content |
---|---|---|---|
1 | sixie | 1.1 | /* |
2 | * http://www.slac.stanford.edu/BFROOT/www/doc/workbook_backup_010108/examples/ex1/workdir/RELEASE/workdir/PARENT/shtmp/Linux24SL3_i386_gcc323/RooFitBabar/RooErf.hh | ||
3 | */ | ||
4 | #ifndef ROO_ERF | ||
5 | #define ROO_ERF | ||
6 | |||
7 | #include "RooAbsPdf.h" | ||
8 | #include "RooRealProxy.h" | ||
9 | |||
10 | class RooRealVar; | ||
11 | |||
12 | class RooErf : public RooAbsPdf { | ||
13 | public: | ||
14 | RooErf(){} | ||
15 | RooErf(const char *name, const char *title, | ||
16 | RooAbsReal& m, RooAbsReal& m0, RooAbsReal& width); | ||
17 | |||
18 | RooErf(const RooErf& other, const char *name=0) ; | ||
19 | virtual TObject *clone(const char *newname) const { | ||
20 | return new RooErf(*this,newname); } | ||
21 | inline virtual ~RooErf() { } | ||
22 | |||
23 | protected: | ||
24 | |||
25 | RooRealProxy _m ; | ||
26 | RooRealProxy _m0 ; | ||
27 | RooRealProxy _width; | ||
28 | |||
29 | Double_t evaluate() const; | ||
30 | |||
31 | private: | ||
32 | |||
33 | ClassDef(RooErf,1) // D*-D0 mass difference bg PDF | ||
34 | }; | ||
35 | |||
36 | #endif |