RooBallack.hh

Go to the documentation of this file.
00001 /*****************************************************************************
00002 * Package: RooRarFit
00003  *    File: $Id: RooBallack.rdl,v 1.3 2011/06/16 13:18:48 fwilson Exp $     *
00004  * Authors:                                                                  *
00005  *    Karsten Koeneke, Massachusetts Institute of Technology, Cambridge, USA *
00006  *                                                                           *
00007  * Copyright (C) 2005-2012, Massachsetts Institute of Technology, Cambridge, USA  *
00008  *****************************************************************************/
00009 
00010 #ifndef ROO_BALLACK
00011 #define ROO_BALLACK
00012 
00013 #include "RooFitCore/RooAbsPdf.hh"
00014 #include "RooFitCore/RooRealProxy.hh"
00015 
00016 class RooRealVar;
00017 class RooAbsReal;
00018 
00019 class RooBallack : public RooAbsPdf {
00020 public:
00021   RooBallack(const char *name, const char *title, 
00022              RooAbsReal& _x,
00023              RooAbsReal& _mean,
00024              RooAbsReal& _width,
00025              RooAbsReal& _tail,
00026              RooAbsReal& _alpha,
00027              RooAbsReal& _n);
00028   
00029   RooBallack(const RooBallack& other, const char* name = 0);
00030 
00031   virtual TObject* clone(const char* newname) const { 
00032     return new RooBallack(*this,newname); }
00033 
00034   inline virtual ~RooBallack() { }
00035 
00036 protected:
00037   RooRealProxy x;
00038   RooRealProxy mean;
00039   RooRealProxy width;
00040   RooRealProxy tail;
00041   RooRealProxy alpha;
00042   RooRealProxy n;
00043 
00044   Double_t evaluate() const;
00045 
00046 private:
00047   ClassDef(RooBallack,0)
00048 };
00049 
00050 #endif

Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7