JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
SpinPdfFactory.h
Go to the documentation of this file.
1 #ifndef SPIN_PDF_FACTORY
2 #define SPIN_PDF_FACTORY
3 
4 #include "RooSpin.h"
5 #include "RooFormulaVar.h"
6 #include "TString.h"
7 
8 
10 public:
13 
15  virtual ~SpinPdfFactory();
16 
17  virtual void getMVGamV(Double_t* mV=0, Double_t* gamV=0) const;
18  virtual void getMVprimeGamVprime(Double_t* mV=0, Double_t* gamV=0) const;
19 
20  virtual void makeParamsConst(bool yesNo);
21  virtual void makeCouplingsConst(bool yesNo)=0;
22  virtual void resetHypotheses()=0;
23  virtual void resetVdecay(RooSpin::VdecayType V1decay_, RooSpin::VdecayType V2decay_);
24  virtual void resetVdecayParams(Double_t mWval, Double_t gamWval, Double_t mZval, Double_t gamZval, Double_t Sin2ThetaWval, Double_t vevval);
25  virtual void resetVprimeffCouplings(Double_t gVprimeff_decay1[2], Double_t gVprimeff_decay2[2]); // 0 = left, 1 = right
26  virtual void resetVprimeMasses(Double_t mWval, Double_t gamWval, Double_t mZval, Double_t gamZval);
27  virtual void resetHiggsMassWidth(Double_t mXval, Double_t gamXval=0.);
28 
30  virtual void alwaysIntegrate(Int_t code=1){ PDF_base->alwaysIntegrate(code); }
31 
32  static void setVariableValue(RooRealVar* var, Double_t val);
33 
34  void setVerbosity(TVar::VerbosityLevel verbosity);
35 
36 protected:
37 
40 
41  Bool_t OnshellH;
42 
44 
45  virtual void initMeasurables(RooSpin::modelMeasurables const& measurables_);
46 
47  virtual void initMassPole();
48  virtual void initVdecayParams();
49 
50  virtual void destroyMassPole();
51  virtual void destroyVdecayParams();
52 
53  virtual void initGVals()=0;
54  virtual void destroyGVals()=0;
55  virtual void initPDF()=0;
56  virtual void destroyPDF()=0;
57 
58 };
59 
60 
61 
62 
63 #endif
64 
65 
66 
SpinPdfFactory::destroyGVals
virtual void destroyGVals()=0
SpinPdfFactory::getMVprimeGamVprime
virtual void getMVprimeGamVprime(Double_t *mV=0, Double_t *gamV=0) const
Definition: SpinPdfFactory.cc:100
SpinPdfFactory::setVerbosity
void setVerbosity(TVar::VerbosityLevel verbosity)
Definition: SpinPdfFactory.cc:173
RooSpin::kVdecayType_Zll
@ kVdecayType_Zll
Definition: RooSpin.h:31
SpinPdfFactory::setVariableValue
static void setVariableValue(RooRealVar *var, Double_t val)
Definition: SpinPdfFactory.cc:143
TVar::VerbosityLevel
VerbosityLevel
Definition: TVar.hh:47
SpinPdfFactory::PDF_base
RooSpin * PDF_base
Definition: SpinPdfFactory.h:43
SpinPdfFactory::resetVprimeMasses
virtual void resetVprimeMasses(Double_t mWval, Double_t gamWval, Double_t mZval, Double_t gamZval)
Definition: SpinPdfFactory.cc:80
SpinPdfFactory
Definition: SpinPdfFactory.h:9
SpinPdfFactory::~SpinPdfFactory
virtual ~SpinPdfFactory()
Definition: SpinPdfFactory.cc:18
SpinPdfFactory::V1decay
RooSpin::VdecayType V1decay
Definition: SpinPdfFactory.h:38
SpinPdfFactory::SpinPdfFactory
SpinPdfFactory(RooSpin::modelMeasurables const &measurables_, RooSpin::VdecayType V1decay_=RooSpin::kVdecayType_Zll, RooSpin::VdecayType V2decay_=RooSpin::kVdecayType_Zll, Bool_t OnshellH_=true)
Definition: SpinPdfFactory.cc:8
SpinPdfFactory::resetVprimeffCouplings
virtual void resetVprimeffCouplings(Double_t gVprimeff_decay1[2], Double_t gVprimeff_decay2[2])
Definition: SpinPdfFactory.cc:74
SpinPdfFactory::parameters
RooSpin::modelParameters parameters
Definition: SpinPdfFactory.h:12
SpinPdfFactory::V2decay
RooSpin::VdecayType V2decay
Definition: SpinPdfFactory.h:39
SpinPdfFactory::getMVGamV
virtual void getMVGamV(Double_t *mV=0, Double_t *gamV=0) const
Definition: SpinPdfFactory.cc:86
SpinPdfFactory::resetVdecayParams
virtual void resetVdecayParams(Double_t mWval, Double_t gamWval, Double_t mZval, Double_t gamZval, Double_t Sin2ThetaWval, Double_t vevval)
Definition: SpinPdfFactory.cc:66
SpinPdfFactory::initGVals
virtual void initGVals()=0
SpinPdfFactory::alwaysIntegrate
virtual void alwaysIntegrate(Int_t code=1)
Definition: SpinPdfFactory.h:30
RooSpin
Definition: RooSpin.h:25
SpinPdfFactory::OnshellH
Bool_t OnshellH
Definition: SpinPdfFactory.h:41
RooSpin.h
SpinPdfFactory::initPDF
virtual void initPDF()=0
SpinPdfFactory::defaultIntegration
virtual void defaultIntegration()
Definition: SpinPdfFactory.h:29
SpinPdfFactory::makeParamsConst
virtual void makeParamsConst(bool yesNo)
Definition: SpinPdfFactory.cc:154
SpinPdfFactory::destroyMassPole
virtual void destroyMassPole()
Definition: SpinPdfFactory.cc:122
SpinPdfFactory::initMassPole
virtual void initMassPole()
Definition: SpinPdfFactory.cc:33
SpinPdfFactory::initVdecayParams
virtual void initVdecayParams()
Definition: SpinPdfFactory.cc:45
SpinPdfFactory::resetVdecay
virtual void resetVdecay(RooSpin::VdecayType V1decay_, RooSpin::VdecayType V2decay_)
Definition: SpinPdfFactory.cc:114
SpinPdfFactory::makeCouplingsConst
virtual void makeCouplingsConst(bool yesNo)=0
SpinPdfFactory::resetHiggsMassWidth
virtual void resetHiggsMassWidth(Double_t mXval, Double_t gamXval=0.)
Definition: SpinPdfFactory.cc:38
RooSpin::alwaysIntegrate
virtual void alwaysIntegrate(Int_t code=1)
Definition: RooSpin.cc:120
SpinPdfFactory::destroyVdecayParams
virtual void destroyVdecayParams()
Definition: SpinPdfFactory.cc:126
RooSpin::modelMeasurables
Definition: RooSpin.h:50
SpinPdfFactory::measurables
RooSpin::modelMeasurables measurables
Definition: SpinPdfFactory.h:11
RooSpin::modelParameters
Definition: RooSpin.h:61
SpinPdfFactory::initMeasurables
virtual void initMeasurables(RooSpin::modelMeasurables const &measurables_)
Definition: SpinPdfFactory.cc:22
SpinPdfFactory::destroyPDF
virtual void destroyPDF()=0
SpinPdfFactory::resetHypotheses
virtual void resetHypotheses()=0
RooSpin::VdecayType
VdecayType
Definition: RooSpin.h:28
RooSpin::defaultIntegration
virtual void defaultIntegration()
Definition: RooSpin.h:102