JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
VectorPdfFactory Class Reference

#include <VectorPdfFactory.h>

Collaboration diagram for VectorPdfFactory:

Public Member Functions

 VectorPdfFactory ()
 
 VectorPdfFactory (RooRealVar *m1, RooRealVar *m2, RooRealVar *hs, RooRealVar *h1, RooRealVar *h2, RooRealVar *Phi, RooRealVar *Phi1, RooRealVar *mZZ)
 
 ~VectorPdfFactory ()
 
int configure (TVar::Process model_)
 
void makePseudoZprime ()
 
void makeZprime ()
 
void makeParamsConst (bool yesNo=true)
 
void setZZ4fOrdering (bool flag=true)
 

Public Attributes

RooRealVar * mZ
 
RooRealVar * gamZ
 
RooRealVar * R1Val
 
RooRealVar * R2Val
 
RooSpinOne_7DPDF
 
RooRealVar * g1Val
 
RooRealVar * g2Val
 
RooRealVar * aParam
 

Detailed Description

Definition at line 12 of file VectorPdfFactory.h.

Constructor & Destructor Documentation

◆ VectorPdfFactory() [1/2]

VectorPdfFactory::VectorPdfFactory ( )
inline

Definition at line 29 of file VectorPdfFactory.h.

29 {};

◆ VectorPdfFactory() [2/2]

VectorPdfFactory::VectorPdfFactory ( RooRealVar *  m1,
RooRealVar *  m2,
RooRealVar *  hs,
RooRealVar *  h1,
RooRealVar *  h2,
RooRealVar *  Phi,
RooRealVar *  Phi1,
RooRealVar *  mZZ 
)
inline

Definition at line 31 of file VectorPdfFactory.h.

31  {
32 
33  // Parameters
34  mZ = new RooRealVar("mZ","mZ",91.188);
35  gamZ = new RooRealVar("gamZ","gamZ",2.5);
36 
37  // related to tensor structure of V decays
38  R1Val = new RooRealVar("R1Val","R1Val",0.15);
39  R2Val = new RooRealVar("R2Val","R2Val",0.15);
40 
41  // dimensionless couplings
42  g1Val = new RooRealVar("g1Val", "g1Val", 0.0);
43  g2Val = new RooRealVar("g2Val", "g2Val", 0.0);
44 
45  // random paramter (?)
46  aParam = new RooRealVar("aParam","aParam",0.0);
47 
48  PDF = new RooSpinOne_7D("PDF","PDF", *mZZ, *m1, *m2, *h1, *h2,*hs, *Phi, *Phi1,
49  *g1Val, *g2Val, *R1Val, *R2Val, *aParam, *mZ, *gamZ);
50 
51  };

◆ ~VectorPdfFactory()

VectorPdfFactory::~VectorPdfFactory ( )
inline

Definition at line 53 of file VectorPdfFactory.h.

53  {
54 
55  delete g1Val;
56  delete g2Val;
57 
58  delete aParam;
59 
60  delete mZ;
61  delete gamZ;
62 
63  delete R1Val;
64  delete R2Val;
65 
66  delete PDF;
67 
68  };

Member Function Documentation

◆ configure()

int VectorPdfFactory::configure ( TVar::Process  model_)
inline

Definition at line 70 of file VectorPdfFactory.h.

70  {
71 
72  switch (model_){
73  case TVar::H1plus: makePseudoZprime(); return 0; break;
74  case TVar::H1minus: makeZprime(); return 0; break;
75  case TVar::SelfDefine_spin1 : return 0; break;
76  default: makeZprime(); return 1; break;
77  }
78 
79  };

◆ makeParamsConst()

void VectorPdfFactory::makeParamsConst ( bool  yesNo = true)
inline

Definition at line 96 of file VectorPdfFactory.h.

96  {
97  if(yesNo){
98 
99  g1Val->setConstant(kTRUE);
100  g2Val->setConstant(kTRUE);
101 
102  gamZ->setConstant(kTRUE);
103  mZ->setConstant(kTRUE);
104  R1Val->setConstant(kTRUE);
105  R2Val->setConstant(kTRUE);
106 
107  }else{
108 
109  g1Val->setConstant(kFALSE);
110  g2Val->setConstant(kFALSE);
111 
112  gamZ->setConstant(kFALSE);
113  mZ->setConstant(kFALSE);
114  R1Val->setConstant(kFALSE);
115  R2Val->setConstant(kFALSE);
116  }
117  };

◆ makePseudoZprime()

void VectorPdfFactory::makePseudoZprime ( )
inline

Definition at line 82 of file VectorPdfFactory.h.

82  { // NEED TO CALCULATE NORMALIZATIONS
83 
84  g1Val->setVal(0.0);
85  g2Val->setVal(1.0);
86 
87  };

◆ makeZprime()

void VectorPdfFactory::makeZprime ( )
inline

Definition at line 89 of file VectorPdfFactory.h.

89  { // NEED TO CALCULATE NORMALIZATIONS
90 
91  g1Val->setVal(1.0);
92  g2Val->setVal(0.0);
93 
94  };

◆ setZZ4fOrdering()

void VectorPdfFactory::setZZ4fOrdering ( bool  flag = true)
inline

Definition at line 119 of file VectorPdfFactory.h.

119 { PDF->setZZ4fOrdering(flag); }

Member Data Documentation

◆ aParam

RooRealVar* VectorPdfFactory::aParam

Definition at line 27 of file VectorPdfFactory.h.

◆ g1Val

RooRealVar* VectorPdfFactory::g1Val

Definition at line 24 of file VectorPdfFactory.h.

◆ g2Val

RooRealVar* VectorPdfFactory::g2Val

Definition at line 25 of file VectorPdfFactory.h.

◆ gamZ

RooRealVar* VectorPdfFactory::gamZ

Definition at line 17 of file VectorPdfFactory.h.

◆ mZ

RooRealVar* VectorPdfFactory::mZ

Definition at line 16 of file VectorPdfFactory.h.

◆ PDF

RooSpinOne_7D* VectorPdfFactory::PDF

Definition at line 22 of file VectorPdfFactory.h.

◆ R1Val

RooRealVar* VectorPdfFactory::R1Val

Definition at line 19 of file VectorPdfFactory.h.

◆ R2Val

RooRealVar* VectorPdfFactory::R2Val

Definition at line 20 of file VectorPdfFactory.h.


The documentation for this class was generated from the following file:
TVar::H1plus
@ H1plus
Definition: TVar.hh:148
VectorPdfFactory::R1Val
RooRealVar * R1Val
Definition: VectorPdfFactory.h:19
VectorPdfFactory::g1Val
RooRealVar * g1Val
Definition: VectorPdfFactory.h:24
VectorPdfFactory::makePseudoZprime
void makePseudoZprime()
Definition: VectorPdfFactory.h:82
RooSpinOne_7D::setZZ4fOrdering
void setZZ4fOrdering(Bool_t flag=true)
Definition: RooSpinOne_7D.cc:460
TVar::H1minus
@ H1minus
Definition: TVar.hh:147
VectorPdfFactory::gamZ
RooRealVar * gamZ
Definition: VectorPdfFactory.h:17
VectorPdfFactory::aParam
RooRealVar * aParam
Definition: VectorPdfFactory.h:27
RooSpinOne_7D
Definition: RooSpinOne_7D.h:18
VectorPdfFactory::makeZprime
void makeZprime()
Definition: VectorPdfFactory.h:89
VectorPdfFactory::PDF
RooSpinOne_7D * PDF
Definition: VectorPdfFactory.h:22
VectorPdfFactory::g2Val
RooRealVar * g2Val
Definition: VectorPdfFactory.h:25
VectorPdfFactory::R2Val
RooRealVar * R2Val
Definition: VectorPdfFactory.h:20
VectorPdfFactory::mZ
RooRealVar * mZ
Definition: VectorPdfFactory.h:16
TVar::SelfDefine_spin1
@ SelfDefine_spin1
Definition: TVar.hh:180