JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
ScalarPdfFactory_VH.cc
Go to the documentation of this file.
1 #include "ScalarPdfFactory_VH.h"
2 
3 
4 ScalarPdfFactory_VH::ScalarPdfFactory_VH(RooSpinZero::modelMeasurables const& measurables_, double sqrts_, RooSpin::VdecayType VHmode1_, RooSpin::VdecayType VHmode2_, Bool_t OnshellH_) :
5 ScalarPdfFactory(measurables_, false, VHmode1_, VHmode2_, OnshellH_),
6 sqrts(sqrts_)
7 {
9  else PDFType = 2;
10  if (PDFType==2) measurables.Y=0;
11 
12  makeParamsConst(true);
13  initPDF();
14 }
16  RooSpinZero::modelMeasurables const& measurables_,
17  double gRatio_[4][8], double gZGsRatio_[4][1], double gGsGsRatio_[3][1], double gVVpRatio_[1][1], double gVpVpRatio_[1][1],
18  double sqrts_, bool pmf_applied_, RooSpin::VdecayType VHmode1_, RooSpin::VdecayType VHmode2_, Bool_t OnshellH_
19 ) : ScalarPdfFactory(measurables_, gRatio_, gZGsRatio_, gGsGsRatio_, gVVpRatio_, gVpVpRatio_, pmf_applied_, false, VHmode1_, VHmode2_, OnshellH_),
20 sqrts(sqrts_)
21 {
23  else PDFType = 2;
24  if (PDFType==2) measurables.Y=0;
25 
26  makeParamsConst(true);
27  initPDF();
28 }
30  destroyPDF();
31 }
32 
34  PDF_ILC_5D=0;
35  PDF_LHC_3D=0;
36  if (PDFType==2){
38  "PDF", "PDF",
40  parameters,
41  couplings,
43  );
45  }
46  else if (PDFType==1){
48  "PDF", "PDF",
50  parameters,
51  couplings,
52  sqrts,
54  );
56  }
57 }
58 
60  if (PDFType==2) return (RooSpinZero*)PDF_ILC_5D;
61  else if (PDFType==1) return (RooSpinZero*)PDF_LHC_3D;
62  else return 0;
63 }
64 
66  if (PDF_ILC_5D!=0) delete PDF_ILC_5D;
67  if (PDF_LHC_3D!=0) delete PDF_LHC_3D;
69 }
70 
71 
ScalarPdfFactory_VH::PDF_LHC_3D
RooSpinZero_3D_pp_VH * PDF_LHC_3D
Definition: ScalarPdfFactory_VH.h:24
ScalarPdfFactory_VH::PDF_ILC_5D
RooSpinZero_5D_VH * PDF_ILC_5D
Definition: ScalarPdfFactory_VH.h:23
RooSpin::modelMeasurables::Y
RooAbsReal * Y
Definition: RooSpin.h:59
ScalarPdfFactory_VH::ScalarPdfFactory_VH
ScalarPdfFactory_VH(RooSpin::modelMeasurables const &measurables_, double sqrts_, RooSpin::VdecayType VHmode1_=RooSpin::kVdecayType_Zud, RooSpin::VdecayType VHmode2_=RooSpin::kVdecayType_Zud, Bool_t OnshellH_=true)
Definition: ScalarPdfFactory_VH.cc:4
SpinPdfFactory::PDF_base
RooSpin * PDF_base
Definition: SpinPdfFactory.h:43
RooSpin::kVdecayType_Zdd
@ kVdecayType_Zdd
Definition: RooSpin.h:34
SpinPdfFactory::V1decay
RooSpin::VdecayType V1decay
Definition: SpinPdfFactory.h:38
RooSpin::kVdecayType_Zuu
@ kVdecayType_Zuu
Definition: RooSpin.h:33
ScalarPdfFactory_VH.h
ScalarPdfFactory_VH::initPDF
virtual void initPDF()
Definition: ScalarPdfFactory_VH.cc:33
ScalarPdfFactory_VH::PDFType
int PDFType
Definition: ScalarPdfFactory_VH.h:26
SpinPdfFactory::parameters
RooSpin::modelParameters parameters
Definition: SpinPdfFactory.h:12
RooSpinZero
Definition: RooSpinZero.h:7
SpinPdfFactory::V2decay
RooSpin::VdecayType V2decay
Definition: SpinPdfFactory.h:39
RooSpinZero_3D_pp_VH
Definition: RooSpinZero_3D_pp_VH.h:9
ScalarPdfFactory_VH::sqrts
double sqrts
Definition: ScalarPdfFactory_VH.h:25
ScalarPdfFactory_VH::destroyPDF
virtual void destroyPDF()
Definition: ScalarPdfFactory_VH.cc:65
RooSpin
Definition: RooSpin.h:25
SpinPdfFactory::makeParamsConst
virtual void makeParamsConst(bool yesNo)
Definition: SpinPdfFactory.cc:154
ScalarPdfFactory_VH::getPDF
RooSpinZero * getPDF()
Definition: ScalarPdfFactory_VH.cc:59
RooSpin::kVdecayType_Zud
@ kVdecayType_Zud
Definition: RooSpin.h:35
RooSpinZero_5D_VH
Definition: RooSpinZero_5D_VH.h:7
ScalarPdfFactory_VH::~ScalarPdfFactory_VH
~ScalarPdfFactory_VH()
Definition: ScalarPdfFactory_VH.cc:29
ScalarPdfFactory::couplings
RooSpinZero::modelCouplings couplings
Definition: ScalarPdfFactory.h:12
RooSpin::kVdecayType_Wany
@ kVdecayType_Wany
Definition: RooSpin.h:29
RooSpin::modelMeasurables
Definition: RooSpin.h:50
sqrts
double sqrts
Definition: TMCFM.hh:290
SpinPdfFactory::measurables
RooSpin::modelMeasurables measurables
Definition: SpinPdfFactory.h:11
RooSpin::VdecayType
VdecayType
Definition: RooSpin.h:28
ScalarPdfFactory
Definition: ScalarPdfFactory.h:10