JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
RooSpinTwo.h
Go to the documentation of this file.
1 #ifndef ROOSPINTWO
2 #define ROOSPINTWO
3 
4 #include "RooSpin.h"
5 
6 
7 class RooSpinTwo : public RooSpin{
8 public:
9 
11  RooAbsReal* bList[SIZE_GVV][2];
12  RooRealVar* Lambda;
13  RooRealVar* f_spinz1; // Set to 1 for qqb production
14  RooRealVar* f_spinz2; // Set to 0 for qqb production
15  // There is no equivalent to graviton_qq_left/right yet!
16  };
17 
18  RooSpinTwo();
19  RooSpinTwo(
20  const char* name, const char* title,
21  modelMeasurables const& _measurables,
22  modelParameters const& _parameters,
23  modelCouplings const& _couplings,
26  );
27 
28  RooSpinTwo(const RooSpinTwo& other, const char* name=0);
29  virtual TObject* clone(const char* newname) const = 0;
30  inline virtual ~RooSpinTwo(){}
31 
32  virtual Double_t evaluate() const = 0;
33  virtual Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const = 0;
34  virtual Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const = 0;
35  virtual void printParameters() const;
36 
37 protected:
38 
39  RooRealProxy b1Val;
40  RooRealProxy b2Val;
41  RooRealProxy b3Val;
42  RooRealProxy b4Val;
43  RooRealProxy b5Val;
44  RooRealProxy b6Val;
45  RooRealProxy b7Val;
46  RooRealProxy b8Val;
47  RooRealProxy b9Val;
48  RooRealProxy b10Val;
49 
50  RooRealProxy b1ValIm;
51  RooRealProxy b2ValIm;
52  RooRealProxy b3ValIm;
53  RooRealProxy b4ValIm;
54  RooRealProxy b5ValIm;
55  RooRealProxy b6ValIm;
56  RooRealProxy b7ValIm;
57  RooRealProxy b8ValIm;
58  RooRealProxy b9ValIm;
59  RooRealProxy b10ValIm;
60 
61  RooRealProxy Lambda;
62 
63  RooRealProxy f_spinz1;
64  RooRealProxy f_spinz2;
65 
66  virtual void evaluatePolarizationTerms(std::vector<Double_t>& Axxyyterm, const Int_t code, bool isGammaV1=false, bool isGammaV2=false) const = 0;
67 
68  virtual void calculateCi(std::vector<Double_t>& ciRe, std::vector<Double_t>& ciIm, bool isGammaV1=false, bool isGammaV2=false) const;
69  virtual void calculateAmplitudes(
70  Double_t& A00Re, Double_t& A00Im,
71  Double_t& AppRe, Double_t& AppIm, Double_t& A0pRe, Double_t& A0pIm, Double_t& Ap0Re, Double_t& Ap0Im,
72  Double_t& AmmRe, Double_t& AmmIm, Double_t& A0mRe, Double_t& A0mIm, Double_t& Am0Re, Double_t& Am0Im,
73  Double_t& ApmRe, Double_t& ApmIm, Double_t& AmpRe, Double_t& AmpIm,
74  bool isGammaV1=false, bool isGammaV2=false
75  ) const;
76 
77 };
78 
79 #endif
TVar::ERROR
@ ERROR
Definition: TVar.hh:49
RooSpinTwo::modelCouplings::Lambda
RooRealVar * Lambda
Definition: RooSpinTwo.h:12
SIZE_GVV
@ SIZE_GVV
Definition: raw_couplings.txt:158
RooSpinTwo::~RooSpinTwo
virtual ~RooSpinTwo()
Definition: RooSpinTwo.h:30
RooSpin::kVdecayType_Zll
@ kVdecayType_Zll
Definition: RooSpin.h:31
RooSpinTwo::b5ValIm
RooRealProxy b5ValIm
Definition: RooSpinTwo.h:54
TVar::VerbosityLevel
VerbosityLevel
Definition: TVar.hh:47
RooSpinTwo::analyticalIntegral
virtual Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const =0
RooSpinTwo::f_spinz1
RooRealProxy f_spinz1
Definition: RooSpinTwo.h:63
RooSpinTwo::modelCouplings::f_spinz1
RooRealVar * f_spinz1
Definition: RooSpinTwo.h:13
RooSpinTwo::modelCouplings::f_spinz2
RooRealVar * f_spinz2
Definition: RooSpinTwo.h:14
RooSpinTwo::f_spinz2
RooRealProxy f_spinz2
Definition: RooSpinTwo.h:64
RooSpinTwo::b7Val
RooRealProxy b7Val
Definition: RooSpinTwo.h:45
RooSpinTwo::b2ValIm
RooRealProxy b2ValIm
Definition: RooSpinTwo.h:51
RooSpinTwo::b4ValIm
RooRealProxy b4ValIm
Definition: RooSpinTwo.h:53
RooSpinTwo::calculateAmplitudes
virtual void calculateAmplitudes(Double_t &A00Re, Double_t &A00Im, Double_t &AppRe, Double_t &AppIm, Double_t &A0pRe, Double_t &A0pIm, Double_t &Ap0Re, Double_t &Ap0Im, Double_t &AmmRe, Double_t &AmmIm, Double_t &A0mRe, Double_t &A0mIm, Double_t &Am0Re, Double_t &Am0Im, Double_t &ApmRe, Double_t &ApmIm, Double_t &AmpRe, Double_t &AmpIm, bool isGammaV1=false, bool isGammaV2=false) const
Definition: RooSpinTwo.cc:139
RooSpinTwo::evaluate
virtual Double_t evaluate() const =0
RooSpinTwo::b2Val
RooRealProxy b2Val
Definition: RooSpinTwo.h:40
RooSpinTwo::calculateCi
virtual void calculateCi(std::vector< Double_t > &ciRe, std::vector< Double_t > &ciIm, bool isGammaV1=false, bool isGammaV2=false) const
Definition: RooSpinTwo.cc:81
RooSpinTwo::b10ValIm
RooRealProxy b10ValIm
Definition: RooSpinTwo.h:59
RooSpinTwo::b4Val
RooRealProxy b4Val
Definition: RooSpinTwo.h:42
RooSpinTwo::b7ValIm
RooRealProxy b7ValIm
Definition: RooSpinTwo.h:56
RooSpinTwo::b8ValIm
RooRealProxy b8ValIm
Definition: RooSpinTwo.h:57
RooSpinTwo::b5Val
RooRealProxy b5Val
Definition: RooSpinTwo.h:43
RooSpinTwo::b9ValIm
RooRealProxy b9ValIm
Definition: RooSpinTwo.h:58
RooSpinTwo::b6Val
RooRealProxy b6Val
Definition: RooSpinTwo.h:44
RooSpin
Definition: RooSpin.h:25
RooSpinTwo::modelCouplings
Definition: RooSpinTwo.h:10
RooSpinTwo::b3Val
RooRealProxy b3Val
Definition: RooSpinTwo.h:41
RooSpinTwo::b10Val
RooRealProxy b10Val
Definition: RooSpinTwo.h:48
RooSpin.h
RooSpinTwo::b1ValIm
RooRealProxy b1ValIm
Definition: RooSpinTwo.h:50
RooSpinTwo::Lambda
RooRealProxy Lambda
Definition: RooSpinTwo.h:61
RooSpinTwo::b8Val
RooRealProxy b8Val
Definition: RooSpinTwo.h:46
RooSpinTwo::b3ValIm
RooRealProxy b3ValIm
Definition: RooSpinTwo.h:52
RooSpinTwo::clone
virtual TObject * clone(const char *newname) const =0
RooSpinTwo::printParameters
virtual void printParameters() const
Definition: RooSpinTwo.cc:502
RooSpinTwo::getAnalyticalIntegral
virtual Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const =0
RooSpinTwo::b9Val
RooRealProxy b9Val
Definition: RooSpinTwo.h:47
RooSpinTwo::evaluatePolarizationTerms
virtual void evaluatePolarizationTerms(std::vector< Double_t > &Axxyyterm, const Int_t code, bool isGammaV1=false, bool isGammaV2=false) const =0
RooSpin::modelMeasurables
Definition: RooSpin.h:50
RooSpin::modelParameters
Definition: RooSpin.h:61
RooSpinTwo::RooSpinTwo
RooSpinTwo()
Definition: RooSpinTwo.cc:7
RooSpinTwo::b6ValIm
RooRealProxy b6ValIm
Definition: RooSpinTwo.h:55
RooSpinTwo::modelCouplings::bList
RooAbsReal * bList[SIZE_GVV][2]
Definition: RooSpinTwo.h:11
RooSpin::VdecayType
VdecayType
Definition: RooSpin.h:28
RooSpinTwo::b1Val
RooRealProxy b1Val
Definition: RooSpinTwo.h:39
RooSpinTwo
Definition: RooSpinTwo.h:7