#include <HZZ4LRooPdfs.h>
Public Member Functions | |
virtual TObject * | clone (const char *newname) const |
RooFourMuMassShapePdf2 () | |
RooFourMuMassShapePdf2 (const char *name, const char *title, RooAbsReal &_m4l, RooAbsReal &_mH) | |
RooFourMuMassShapePdf2 (const RooFourMuMassShapePdf2 &other, const char *name=0) | |
virtual | ~RooFourMuMassShapePdf2 () |
Protected Member Functions | |
Double_t | evaluate () const |
Protected Attributes | |
RooRealProxy | m4l |
RooRealProxy | mH |
Definition at line 353 of file HZZ4LRooPdfs.h.
RooFourMuMassShapePdf2::RooFourMuMassShapePdf2 | ( | ) | [inline] |
RooFourMuMassShapePdf2::RooFourMuMassShapePdf2 | ( | const char * | name, |
const char * | title, | ||
RooAbsReal & | _m4l, | ||
RooAbsReal & | _mH | ||
) |
RooFourMuMassShapePdf2::RooFourMuMassShapePdf2 | ( | const RooFourMuMassShapePdf2 & | other, |
const char * | name = 0 |
||
) |
virtual RooFourMuMassShapePdf2::~RooFourMuMassShapePdf2 | ( | ) | [inline, virtual] |
Definition at line 361 of file HZZ4LRooPdfs.h.
{ }
virtual TObject* RooFourMuMassShapePdf2::clone | ( | const char * | newname | ) | const [inline, virtual] |
Definition at line 360 of file HZZ4LRooPdfs.h.
References RooFourMuMassShapePdf2().
{ return new RooFourMuMassShapePdf2(*this,newname); }
Double_t RooFourMuMassShapePdf2::evaluate | ( | ) | const [protected] |
Definition at line 2864 of file HZZ4LRooPdfs.cc.
References RooFit::BR, RooFit::FracEventsNoBrem_4mu, 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_4mu; Double_t higgsTotWidth = HiggsWidth(0,mHreq); //std::cout << "higgsTotWidth: " << higgsTotWidth << std::endl; 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,"4mu") * pdf1(mTil,mHreq); sum = sum + TC; } Double_t pdf_2 = sum + pdf_1_NoBrem; return pdf_2; }
RooRealProxy RooFourMuMassShapePdf2::m4l [protected] |
Definition at line 365 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooFourMuMassShapePdf2::mH [protected] |
Definition at line 366 of file HZZ4LRooPdfs.h.
Referenced by evaluate().