#include <HZZ4LRooPdfs.h>
Public Member Functions | |
virtual TObject * | clone (const char *newname) const |
RooqqZZPdf () | |
RooqqZZPdf (const char *name, const char *title, RooAbsReal &_m4l, RooAbsReal &_a1, RooAbsReal &_a2, RooAbsReal &_a3, RooAbsReal &_b1, RooAbsReal &_b2, RooAbsReal &_b3, RooAbsReal &_frac) | |
RooqqZZPdf (const RooqqZZPdf &other, const char *name=0) | |
virtual | ~RooqqZZPdf () |
Protected Member Functions | |
Double_t | evaluate () const |
Protected Attributes | |
RooRealProxy | a1 |
RooRealProxy | a2 |
RooRealProxy | a3 |
RooRealProxy | b1 |
RooRealProxy | b2 |
RooRealProxy | b3 |
RooRealProxy | frac |
RooRealProxy | m4l |
Definition at line 39 of file HZZ4LRooPdfs.h.
RooqqZZPdf::RooqqZZPdf | ( | ) | [inline] |
RooqqZZPdf::RooqqZZPdf | ( | const char * | name, |
const char * | title, | ||
RooAbsReal & | _m4l, | ||
RooAbsReal & | _a1, | ||
RooAbsReal & | _a2, | ||
RooAbsReal & | _a3, | ||
RooAbsReal & | _b1, | ||
RooAbsReal & | _b2, | ||
RooAbsReal & | _b3, | ||
RooAbsReal & | _frac | ||
) |
RooqqZZPdf::RooqqZZPdf | ( | const RooqqZZPdf & | other, |
const char * | name = 0 |
||
) |
virtual RooqqZZPdf::~RooqqZZPdf | ( | ) | [inline, virtual] |
Definition at line 53 of file HZZ4LRooPdfs.h.
{ }
virtual TObject* RooqqZZPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
Definition at line 52 of file HZZ4LRooPdfs.h.
References RooqqZZPdf().
{ return new RooqqZZPdf(*this,newname); }
Double_t RooqqZZPdf::evaluate | ( | ) | const [protected] |
Definition at line 1951 of file HZZ4LRooPdfs.cc.
References a1, a2, a3, b1, b2, b3, funct::exp(), frac, m4l, and pileupDistInMC::total.
{ //std::cout << "a1 = " << a1 << ", a2 = " << a2 << ", a3 = " << a3 << std::endl; //std::cout << "b1 = " << b1 << ", b2 = " << b2 << ", b3 = " << b3 << std::endl; double signa = 0.; if ((m4l-a1) > 0) { signa = 1.; } else if ((m4l-a1) < 0) { signa = -1.; } else { signa = 0.; } double signb = 0.; if ((m4l-b1) > 0) { signb = 1.; } else if ((m4l-b1) < 0) { signb = -1.; } else { signb = 0.; } double bkglo = (0.5 + 0.5*signa * TMath::Erf(TMath::Abs(m4l-a1)/a2)) * exp(-1.*m4l/a3); double bkghi = (0.5 + 0.5*signb * TMath::Erf(TMath::Abs(m4l-b1)/b2)) * exp(-1.*m4l/b3); double total = bkglo*frac + (1-frac)*bkghi; double dynamicKqq = 1. + m4l*0.001074 + m4l*m4l*-7.851e-07; double totalNLO = total*dynamicKqq; return totalNLO ; }
RooRealProxy RooqqZZPdf::a1 [protected] |
Definition at line 58 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::a2 [protected] |
Definition at line 59 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::a3 [protected] |
Definition at line 60 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::b1 [protected] |
Definition at line 61 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::b2 [protected] |
Definition at line 62 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::b3 [protected] |
Definition at line 63 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::frac [protected] |
Definition at line 64 of file HZZ4LRooPdfs.h.
Referenced by evaluate().
RooRealProxy RooqqZZPdf::m4l [protected] |
Definition at line 57 of file HZZ4LRooPdfs.h.
Referenced by evaluate().