#include <HZZ4LRooPdfs.h>
|
RooRealProxy | m4l |
|
RooRealProxy | mH |
|
Definition at line 426 of file HZZ4LRooPdfs.h.
RooFourMuMassRes::RooFourMuMassRes |
( |
| ) |
|
|
inline |
RooFourMuMassRes::RooFourMuMassRes |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
RooAbsReal & |
_m4l, |
|
|
RooAbsReal & |
_mH |
|
) |
| |
RooFourMuMassRes::RooFourMuMassRes |
( |
const RooFourMuMassRes & |
other, |
|
|
const char * |
name = 0 |
|
) |
| |
virtual RooFourMuMassRes::~RooFourMuMassRes |
( |
| ) |
|
|
inlinevirtual |
virtual TObject* RooFourMuMassRes::clone |
( |
const char * |
newname | ) |
const |
|
inlinevirtual |
Double_t RooFourMuMassRes::evaluate |
( |
| ) |
const |
|
protected |
Definition at line 3230 of file HZZ4LRooPdfs.cc.
References create_public_lumi_plots::exp, m4l, RooFit::mean(), mH, N, RooFit::N(), funct::pow(), RooFit::sigma_CB(), lumiQTWidget::t, and vdt::x.
3234 Double_t mHreq =
mH;
3236 Double_t alpha1 = -1.3;
3237 Double_t alpha2 = 1.3;
3243 Double_t
t = (x-mean_)/sigma_;
3244 if (alpha1 < 0) t = -
t;
3246 Double_t absAlpha = TMath::Abs(alpha1);
3247 Double_t absAlpha2 = TMath::Abs(alpha2);
3249 if (t >= alpha1 && t <= alpha2) {
3250 return N*
exp(-0.5*t*t);
3252 else if ( t > alpha2) {
3253 Double_t a1 =
pow(n2/absAlpha2,n2)*
exp(-0.5*absAlpha2*absAlpha2);
3254 Double_t b1 = n2/absAlpha2 - absAlpha2;
3256 return N*(a1/
pow(b1 + t, n2));
3260 Double_t a2 =
pow(n1/absAlpha,n1)*
exp(-0.5*absAlpha*absAlpha);
3261 Double_t b2 = n1/absAlpha - absAlpha;
3263 return N*(a2/
pow(b2 - t, n1));
Double_t N(Double_t mH, TString proc)
Double_t sigma_CB(Double_t mH, TString proc)
Double_t mean(Double_t mH, TString proc)
Power< A, B >::type pow(const A &a, const B &b)
RooRealProxy RooFourMuMassRes::m4l |
|
protected |
RooRealProxy RooFourMuMassRes::mH |
|
protected |