#ifndef ROO_DECAY
#define ROO_DECAY
#include "RooAbsAnaConvPdf.h"
#include "RooRealProxy.h"
class RooDecay : public RooAbsAnaConvPdf {
public:
  enum DecayType { SingleSided, DoubleSided, Flipped };
  
  inline RooDecay() { }
  RooDecay(const char *name, const char *title, RooRealVar& t, 
	   RooAbsReal& tau, const RooResolutionModel& model, DecayType type) ;
  RooDecay(const RooDecay& other, const char* name=0);
  virtual TObject* clone(const char* newname) const { return new RooDecay(*this,newname) ; }
  virtual ~RooDecay();
  virtual Double_t coefficient(Int_t basisIndex) const ;
  Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
  void generateEvent(Int_t code);
  
protected:
  
  RooRealProxy _t ;
  RooRealProxy _tau ;
  DecayType    _type ;
  Int_t        _basisExp ;
  ClassDef(RooDecay,1) 
};
#endif
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.