MINT2
ResonanceProperties.h
Go to the documentation of this file.
1 #ifndef RESONANCEPROPERTIES_HH
2 #define RESONANCEPROPERTIES_HH
3 // author: Philippe d'Argent (p.dargent@cern.ch)
4 
5 #include <string>
6 #include <iostream>
8 #include "Mint/FitParameter.h"
9 #include "Mint/NamedParameter.h"
10 #include "Mint/Utils.h"
12 
14 
17  protected:
18  static double massInit(int pdg_id);
19  static double widthInit(int pdg_id);
20  static double radiusInit(int pdg_id);
21 
22  std::string _prefix;
23 
24  int _pid;
51 
72 
82 
83  const std::string& prefix()const{return _prefix;}
84  std::string makeFitParName(const std::string& propertyName, int pdg_id) const;
85  public:
86  static std::string nameFromPid(int pdg_id);
87  static int pidFromName(const std::string& name);
88  static std::string nameFromName(const std::string& name);
89  ResonanceProperties(int pid, MINT::MinuitParameterSet* mps=0, const std::string& namePrefix="");
90  ResonanceProperties(const std::string& name, MINT::MinuitParameterSet* mps=0, const std::string& namePrefix="");
91  double mass() const{return _fitMass;}
92  double width() const{return _fitWidth;}
93  double radius() const{return _fitRadius;}
94  double alpha() const{return _fitAlpha;}
95  double c1() const{return _fitc1;}
96  double c2() const{return _fitc2;}
97  double c3() const{return _fitc3;}
98  double c4() const{return _fitc4;}
99  double c5() const{return _fitc5;}
100 
101  double fermiLambda() const{return _fitFermiLambda;}
102  double fermiS0() const{return _fitFermiS0;}
103  double fitFlatte_gPi() const{return _fitFlatte_gPi;}
104  double fitFlatte_gK_by_gPi() const{return _fitFlatte_gK_by_gPi;}
105  double fitBugg_M() const{return _fitBugg_M;}
106  double fitBugg_b1() const{return _fitBugg_b1;}
107  double fitBugg_b2() const{return _fitBugg_b2;}
108  double fitBugg_A() const{return _fitBugg_A;}
109  double fitBugg_g_4pi() const{return _fitBugg_g_4pi;}
110  double fitBugg_g_KK() const{return _fitBugg_g_KK;}
111  double fitBugg_g_etaeta() const{return _fitBugg_g_etaeta;}
112  double fitBugg_alpha() const{return _fitBugg_alpha;}
113  double fitBugg_sA() const{return _fitBugg_sA;}
114  double fitBugg_4pi_lambda() const{return _fitBugg_4pi_lambda;}
115  double fitBugg_4pi_s0() const{return _fitBugg_4pi_s0;}
136 
137  int pid() const{return _pid;}
138 
139  void changeMassForDebug(double newVal) const{
140  _fitMass = newVal;
141  }
142 
143 };
144 
145 #endif
146 //
MINT::FitParameter _fitFermiLambda
const std::string & prefix() const
MINT::FitParameter _fitModel_independent_Bin_10_Re
MINT::FitParameter _fitMass
double fitModel_independent_Bin_1_Re() const
static double widthInit(int pdg_id)
void changeMassForDebug(double newVal) const
MINT::FitParameter _fitModel_independent_Bin_2_Im
MINT::FitParameter _fitBugg_b1
MINT::FitParameter _fitWidth
MINT::FitParameter _fitModel_independent_Bin_7_Re
double fitBugg_4pi_lambda() const
MINT::FitParameter _fitRhoOmegaDelta_Re
MINT::FitParameter _fitBugg_g_KK
MINT::FitParameter _fitModel_independent_Bin_5_Im
MINT::FitParameter _fitBugg_4pi_lambda
MINT::FitParameter _fitBugg_alpha
MINT::FitParameter _fitRadius
double fitModel_independent_Bin_5_Re() const
MINT::FitParameter _fitModel_independent_Bin_1_Re
MINT::FitParameter _fitc5
MINT::FitParameter _fitBugg_g_etaeta
MINT::FitParameter _fitc1
double fitModel_independent_Bin_6_Re() const
double fitFlatte_gK_by_gPi() const
double fitModel_independent_Bin_3_Im() const
MINT::FitParameter _fitFermiS0
MINT::FitParameter _fitRhoOmegaDelta_Im
static double massInit(int pdg_id)
double fitModel_independent_Bin_3_Re() const
ResonanceProperties(int pid, MINT::MinuitParameterSet *mps=0, const std::string &namePrefix="")
MINT::FitParameter _fitGLASS_phiF
MINT::FitParameter _fitGLASS_alpha2
static std::string nameFromName(const std::string &name)
double fitBugg_alpha() const
MINT::FitParameter _fitModel_independent_Bin_8_Re
double fitBugg_4pi_s0() const
double fermiLambda() const
MINT::FitParameter _fitModel_independent_Bin_9_Re
MINT::FitParameter _fitc3
MINT::FitParameter _fitGLASS_alpha1
MINT::FitParameter _fitModel_independent_Bin_4_Im
MINT::FitParameter _fitBugg_b2
MINT::FitParameter _fitModel_independent_Bin_3_Im
double fitModel_independent_Bin_6_Im() const
MINT::FitParameter _fitModel_independent_Bin_6_Re
MINT::FitParameter _fitModel_independent_Bin_2_Re
MINT::FitParameter _fitBugg_A
MINT::FitParameter _fitModel_independent_Bin_4_Re
MINT::FitParameter _fitModel_independent_Bin_7_Im
MINT::FitParameter _fitFlatte_gPi
MINT::FitParameter _fitGLASS_phiR
double fitModel_independent_Bin_5_Im() const
MINT::FitParameter _fitBugg_4pi_s0
MINT::FitParameter _fitGLASS_a
MINT::FitParameter _fitc4
double fitModel_independent_Bin_10_Im() const
MINT::FitParameter _fitModel_independent_Bin_3_Re
double fitModel_independent_Bin_7_Re() const
double fitModel_independent_Bin_10_Re() const
MINT::FitParameter _fitBugg_g_4pi
MINT::FitParameter _fitModel_independent_Bin_1_Im
double fitModel_independent_Bin_1_Im() const
static double radiusInit(int pdg_id)
MINT::FitParameter _fitGLASS_R
MINT::FitParameter _fitModel_independent_Bin_8_Im
MINT::FitParameter _fitGLASS_r
double fitModel_independent_Bin_4_Im() const
MINT::FitParameter _fitBugg_sA
MINT::FitParameter _fitAlpha
double fitBugg_g_etaeta() const
double fitModel_independent_Bin_4_Re() const
double fitFlatte_gPi() const
std::string makeFitParName(const std::string &propertyName, int pdg_id) const
double fitModel_independent_Bin_8_Im() const
static std::string nameFromPid(int pdg_id)
MINT::FitParameter _fitc2
double fitModel_independent_Bin_2_Re() const
double fitModel_independent_Bin_2_Im() const
MINT::FitParameter _fitModel_independent_Bin_5_Re
MINT::FitParameter _fitModel_independent_Bin_9_Im
MINT::FitParameter _fitBugg_M
double fitBugg_g_4pi() const
double fitModel_independent_Bin_9_Re() const
double fitModel_independent_Bin_7_Im() const
MINT::FitParameter _fitGLASS_alpha3
double fitModel_independent_Bin_9_Im() const
double fitModel_independent_Bin_8_Re() const
MINT::FitParameter _fitGLASS_F
MINT::FitParameter _fitModel_independent_Bin_10_Im
MINT::FitParameter _fitFlatte_gK_by_gPi
static int pidFromName(const std::string &name)
MINT::FitParameter _fitModel_independent_Bin_6_Im
double fitBugg_g_KK() const