/***************************************************************************** * Project: RooFit * * * * Copyright (c) 2000-2005, Regents of the University of California * * and Stanford University. All rights reserved. * * * * Redistribution and use in source and binary forms, * * with or without modification, are permitted according to the terms * * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * *****************************************************************************/ #ifndef ACCEPTANCE #define ACCEPTANCE #include "RooAbsReal.h" #include "RooRealProxy.h" #include "RooAbsReal.h" class Acceptance : public RooAbsReal { public: Acceptance(const char *name, const char *title, RooAbsReal& _tom, RooAbsReal& _alpha, RooAbsReal& _mass); Acceptance(const Acceptance& other, const char* name=0) ; virtual TObject* clone(const char* newname) const { return new Acceptance(*this,newname); } inline virtual ~Acceptance() { } protected: RooRealProxy tom ; RooRealProxy alpha ; RooRealProxy mass ; Double_t evaluate() const ; private: ClassDef(Acceptance,0) // Your description goes here... }; #endif