JHUGen MELA  v2.4.1
Matrix element calculations as used in JHUGen. MELA is an important tool that was used for the Higgs boson discovery and for precise measurements of its structure and interactions. Please see the website https://spin.pha.jhu.edu/ and papers cited there for more details, and kindly cite those papers when using this code.
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MELAFuncPdf Class Reference

#include <MELAFuncPdf.h>

Inheritance diagram for MELAFuncPdf:
Inheritance graph
[legend]
Collaboration diagram for MELAFuncPdf:
Collaboration graph
[legend]

Public Member Functions

 MELAFuncPdf ()
 
 MELAFuncPdf (const char *name, const char *title)
 
 MELAFuncPdf (const char *name, const char *title, RooAbsReal &inFunc)
 
 MELAFuncPdf (const MELAFuncPdf &other, const char *name=0)
 
TObject * clone (const char *newname) const
 
virtual ~MELAFuncPdf ()
 
Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
 
Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
 
Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
 
Double_t analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
 

Protected Member Functions

Double_t evaluate () const
 

Protected Attributes

RooRealProxy theFunc
 

Detailed Description

Definition at line 7 of file MELAFuncPdf.h.

Constructor & Destructor Documentation

◆ MELAFuncPdf() [1/4]

MELAFuncPdf::MELAFuncPdf ( )
inline

Definition at line 12 of file MELAFuncPdf.h.

12 : RooAbsPdf(){}

◆ MELAFuncPdf() [2/4]

MELAFuncPdf::MELAFuncPdf ( const char *  name,
const char *  title 
)
inline

Definition at line 13 of file MELAFuncPdf.h.

16  : RooAbsPdf(name, title), theFunc("theFunc","theFunc",this){}

◆ MELAFuncPdf() [3/4]

MELAFuncPdf::MELAFuncPdf ( const char *  name,
const char *  title,
RooAbsReal &  inFunc 
)
inline

Definition at line 17 of file MELAFuncPdf.h.

21  : RooAbsPdf(name, title), theFunc("theFunc", "theFunc", this, inFunc){}

◆ MELAFuncPdf() [4/4]

MELAFuncPdf::MELAFuncPdf ( const MELAFuncPdf other,
const char *  name = 0 
)
inline

Definition at line 22 of file MELAFuncPdf.h.

22 : RooAbsPdf(other, name), theFunc("theFunc", this, other.theFunc){}

◆ ~MELAFuncPdf()

virtual MELAFuncPdf::~MELAFuncPdf ( )
inlinevirtual

Definition at line 24 of file MELAFuncPdf.h.

24 {}

Member Function Documentation

◆ analyticalIntegral()

Double_t MELAFuncPdf::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const
inline

Definition at line 27 of file MELAFuncPdf.h.

27 { return dynamic_cast<RooAbsReal*>(theFunc.absArg())->analyticalIntegral(code, rangeName); }

◆ analyticalIntegralWN()

Double_t MELAFuncPdf::analyticalIntegralWN ( Int_t  code,
const RooArgSet *  normSet,
const char *  rangeName = 0 
) const
inline

Definition at line 30 of file MELAFuncPdf.h.

30  {
31  RooAbsPdf* pdfcast = dynamic_cast<RooAbsPdf*>(theFunc.absArg());
32  if (pdfcast!=0) return pdfcast->analyticalIntegralWN(code, normSet, rangeName);
33  else return RooAbsPdf::analyticalIntegralWN(code, normSet, rangeName);
34  }

◆ clone()

TObject* MELAFuncPdf::clone ( const char *  newname) const
inline

Definition at line 23 of file MELAFuncPdf.h.

23 { return new MELAFuncPdf(*this, newname); }

◆ evaluate()

Double_t MELAFuncPdf::evaluate ( ) const
inlineprotected

Definition at line 37 of file MELAFuncPdf.h.

37 { return theFunc; }

◆ getAnalyticalIntegral()

Int_t MELAFuncPdf::getAnalyticalIntegral ( RooArgSet &  allVars,
RooArgSet &  analVars,
const char *  rangeName = 0 
) const
inline

Definition at line 26 of file MELAFuncPdf.h.

26 { return dynamic_cast<RooAbsReal*>(theFunc.absArg())->getAnalyticalIntegral(allVars, analVars, rangeName); }

◆ getAnalyticalIntegralWN()

Int_t MELAFuncPdf::getAnalyticalIntegralWN ( RooArgSet &  allVars,
RooArgSet &  analVars,
const RooArgSet *  normSet,
const char *  rangeName = 0 
) const
inline

Definition at line 29 of file MELAFuncPdf.h.

29 { return dynamic_cast<RooAbsReal*>(theFunc.absArg())->getAnalyticalIntegralWN(allVars, analVars, normSet, rangeName); }

Member Data Documentation

◆ theFunc

RooRealProxy MELAFuncPdf::theFunc
protected

Definition at line 9 of file MELAFuncPdf.h.


The documentation for this class was generated from the following file:
MELAFuncPdf::getAnalyticalIntegral
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Definition: MELAFuncPdf.h:26
MELAFuncPdf::MELAFuncPdf
MELAFuncPdf()
Definition: MELAFuncPdf.h:12
MELAFuncPdf::theFunc
RooRealProxy theFunc
Definition: MELAFuncPdf.h:9
MELAFuncPdf::getAnalyticalIntegralWN
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
Definition: MELAFuncPdf.h:29
MELAFuncPdf::analyticalIntegral
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Definition: MELAFuncPdf.h:27