#include <HZZ4LRooPdfs.h>
Public Member Functions | |
virtual TObject * | clone (const char *newname) const |
RooTwoETwoMuMassShapePdf2 () | |
RooTwoETwoMuMassShapePdf2 (const char *name, const char *title, RooAbsReal &_m4l, RooAbsReal &_mH) | |
RooTwoETwoMuMassShapePdf2 (const RooTwoETwoMuMassShapePdf2 &other, const char *name=0) | |
virtual | ~RooTwoETwoMuMassShapePdf2 () |
Protected Member Functions | |
Double_t | evaluate () const |
Protected Attributes | |
RooRealProxy | m4l |
RooRealProxy | mH |
Definition at line 402 of file HZZ4LRooPdfs.h.
RooTwoETwoMuMassShapePdf2::RooTwoETwoMuMassShapePdf2 | ( | ) | [inline] |
RooTwoETwoMuMassShapePdf2::RooTwoETwoMuMassShapePdf2 | ( | const char * | name, |
const char * | title, | ||
RooAbsReal & | _m4l, | ||
RooAbsReal & | _mH | ||
) |
RooTwoETwoMuMassShapePdf2::RooTwoETwoMuMassShapePdf2 | ( | const RooTwoETwoMuMassShapePdf2 & | other, |
const char * | name = 0 |
||
) |
virtual RooTwoETwoMuMassShapePdf2::~RooTwoETwoMuMassShapePdf2 | ( | ) | [inline, virtual] |
Definition at line 410 of file HZZ4LRooPdfs.h.
{ }
virtual TObject* RooTwoETwoMuMassShapePdf2::clone | ( | const char * | newname | ) | const [inline, virtual] |
Definition at line 409 of file HZZ4LRooPdfs.h.
References RooTwoETwoMuMassShapePdf2().
{ return new RooTwoETwoMuMassShapePdf2(*this,newname); }
Double_t RooTwoETwoMuMassShapePdf2::evaluate | ( | ) | const [protected] |
Definition at line 3031 of file HZZ4LRooPdfs.cc.
References RooFit::BR, RooFit::FracEventsNoBrem_2e2mu, RooFit::HiggsWidth(), m4l, max(), mH, min, RooFit::pdf1(), RooFit::readFile(), rho, and x.
{ using namespace RooFit; if( BR[0][0] == 0 ){ readFile(); } Double_t mHreq = mH; Double_t x = m4l; //min and max for integration //Start the tail at x/.998 to control area around ratio = 1 Double_t min = x/.998; Double_t max = 0; Double_t FracEventsNoBrem = FracEventsNoBrem_2e2mu; Double_t higgsTotWidth = HiggsWidth(0,mHreq); if( 1000 < (mH + 5*higgsTotWidth) ){ max = 1000;} else{ max = mH + 5*higgsTotWidth;} Double_t dmTil = (max-min)/1000; Double_t sum = 0; Double_t pdf_1_NoBrem = FracEventsNoBrem*pdf1(x,mHreq); for(Double_t mTil = min; mTil < max; mTil += dmTil) { Double_t TC = (dmTil/mTil) * rho(x/mTil,"2e2mu") * pdf1(mTil,mHreq); sum = sum + TC; } Double_t pdf_2 = sum + pdf_1_NoBrem; return pdf_2; }
RooRealProxy RooTwoETwoMuMassShapePdf2::m4l [protected] |
Definition at line 414 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooTwoETwoMuMassShapePdf2::mH [protected] |
Definition at line 415 of file HZZ4LRooPdfs.h.
Referenced by evaluate().