#ifndef ROO_VOIGTIAN
#define ROO_VOIGTIAN
#include "RooAbsPdf.h"
#include "RooRealProxy.h"
class RooRealVar;
class RooVoigtian : public RooAbsPdf {
public:
RooVoigtian() {} ;
RooVoigtian(const char *name, const char *title,
RooAbsReal& _x, RooAbsReal& _mean,
RooAbsReal& _width, RooAbsReal& _sigma,
Bool_t doFast = kFALSE);
RooVoigtian(const RooVoigtian& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooVoigtian(*this,newname); }
inline virtual ~RooVoigtian() { }
inline void selectFastAlgorithm() { _doFast = kTRUE; }
inline void selectDefaultAlgorithm() { _doFast = kFALSE; }
protected:
RooRealProxy x ;
RooRealProxy mean ;
RooRealProxy width ;
RooRealProxy sigma ;
Double_t evaluate() const ;
private:
Double_t _invRootPi;
Bool_t _doFast;
ClassDef(RooVoigtian,1)
};
#endif
Last change: Wed Jun 25 08:34:32 2008
Last generated: 2008-06-25 08:34
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.