File indexing completed on 2024-04-06 12:13:29
0001
0002
0003
0004
0005 #ifndef TWOSPACE_HH
0006 #define TWOSPACE_HH
0007
0008 #include "GeneratorInterface/ExhumeInterface/interface/CrossSection.h"
0009 #include "GeneratorInterface/ExhumeInterface/interface/Weight.h"
0010
0011 namespace Exhume {
0012
0013 class TwoSpace : public CrossSection, Weight {
0014 public:
0015 TwoSpace(const edm::ParameterSet &);
0016 ~TwoSpace() override;
0017 double SubParameterRange() override;
0018 void MaximiseSubParameters() override;
0019 void SetSubParameters() override;
0020 void SetPartons() override;
0021 void SetMassAtThetaScan(double _M1) {
0022 MassAtThetaScan = _M1;
0023 return;
0024 }
0025 double SubProcess() override = 0;
0026 double SubParameterWeight() override;
0027 void SetThetaMin(const double &);
0028 int GetNumberOfSubParameters();
0029
0030
0031 virtual void Amp2LIPS() = 0;
0032 virtual void LIPS2Amp() = 0;
0033 double WeightFunc(const double &) override;
0034
0035 protected:
0036 double CosTheta, Phi;
0037 double ThetaMin, ThetaMax;
0038 double MaximumSubProcessValue, MaximumSubProcessCosTheta;
0039 double PhiMax, CosThetaMax, CosThetaMin;
0040 double PartonMass;
0041 bool dirty_weighting;
0042 double MassAtThetaScan;
0043 double Fudge;
0044 };
0045 }
0046
0047 #endif