1 #ifndef MODEL_INDEPENDENT_LINESHAPE_HH 2 #define MODEL_INDEPENDENT_LINESHAPE_HH 16 #include "Math/Interpolator.h" 17 #include "Math/InterpolationTypes.h" 26 virtual std::string
name()
const{
27 return "Model_independent("+_theDecay.oneLiner() +
")";
32 delete _interpolator_Re;
33 delete _interpolator_Im;
36 std::complex<double> getInterpolatedVal(
const double s_inGeV2);
45 std::vector<double> getBinCenterValues_Re();
46 std::vector<double> getBinCenterValues_Im();
55 if(i==0)
return mumsFittableProperties().fitModel_independent_Bin_1_Re();
56 if(i==1)
return mumsFittableProperties().fitModel_independent_Bin_2_Re();
57 if(i==2)
return mumsFittableProperties().fitModel_independent_Bin_3_Re();
58 if(i==3)
return mumsFittableProperties().fitModel_independent_Bin_4_Re();
59 if(i==4)
return mumsFittableProperties().fitModel_independent_Bin_5_Re();
60 if(i==5)
return mumsFittableProperties().fitModel_independent_Bin_6_Re();
61 if(i==6)
return mumsFittableProperties().fitModel_independent_Bin_7_Re();
62 if(i==7)
return mumsFittableProperties().fitModel_independent_Bin_8_Re();
63 if(i==8)
return mumsFittableProperties().fitModel_independent_Bin_9_Re();
64 if(i==9)
return mumsFittableProperties().fitModel_independent_Bin_10_Re();
69 if(i==0)
return mumsFittableProperties().fitModel_independent_Bin_1_Im();
70 if(i==1)
return mumsFittableProperties().fitModel_independent_Bin_2_Im();
71 if(i==2)
return mumsFittableProperties().fitModel_independent_Bin_3_Im();
72 if(i==3)
return mumsFittableProperties().fitModel_independent_Bin_4_Im();
73 if(i==4)
return mumsFittableProperties().fitModel_independent_Bin_5_Im();
74 if(i==5)
return mumsFittableProperties().fitModel_independent_Bin_6_Im();
75 if(i==6)
return mumsFittableProperties().fitModel_independent_Bin_7_Im();
76 if(i==7)
return mumsFittableProperties().fitModel_independent_Bin_8_Im();
77 if(i==8)
return mumsFittableProperties().fitModel_independent_Bin_9_Im();
78 if(i==9)
return mumsFittableProperties().fitModel_independent_Bin_10_Im();
83 return mumsFittableProperties().fitModel_independent_Bin_1_Re();
86 return mumsFittableProperties().fitModel_independent_Bin_1_Im();
89 return mumsFittableProperties().fitModel_independent_Bin_2_Re();
92 return mumsFittableProperties().fitModel_independent_Bin_2_Im();
95 return mumsFittableProperties().fitModel_independent_Bin_3_Re();
98 return mumsFittableProperties().fitModel_independent_Bin_3_Im();
101 return mumsFittableProperties().fitModel_independent_Bin_4_Re();
104 return mumsFittableProperties().fitModel_independent_Bin_4_Im();
107 return mumsFittableProperties().fitModel_independent_Bin_5_Re();
110 return mumsFittableProperties().fitModel_independent_Bin_5_Im();
113 return mumsFittableProperties().fitModel_independent_Bin_6_Re();
116 return mumsFittableProperties().fitModel_independent_Bin_6_Im();
119 return mumsFittableProperties().fitModel_independent_Bin_7_Re();
122 return mumsFittableProperties().fitModel_independent_Bin_7_Im();
125 return mumsFittableProperties().fitModel_independent_Bin_8_Re();
128 return mumsFittableProperties().fitModel_independent_Bin_8_Im();
131 return mumsFittableProperties().fitModel_independent_Bin_9_Re();
134 return mumsFittableProperties().fitModel_independent_Bin_9_Im();
137 return mumsFittableProperties().fitModel_independent_Bin_10_Re();
140 return mumsFittableProperties().fitModel_independent_Bin_10_Im();
NamedParameter< std::string > _interpolationTypeString
ROOT::Math::Interpolator * _interpolator_Re
double Re_Bin(int i) const
std::vector< double > _binCenterVector
NamedParameter< double > _binCenters
ROOT::Math::Interpolator * _interpolator_Im
virtual ~Model_independent()
virtual std::string name() const
double Im_Bin(int i) const
ROOT::Math::Interpolation::Type _interpolationType