MINT2
RunningWidthCalculator.h
Go to the documentation of this file.
1 #ifndef RUNNINGWIDTHCALCULATOR_HH
2 #define RUNNINGWIDTHCALCULATOR_HH
3 // author: Philippe d'Argent (p.dargent@cern.ch)
4 // created: 21 Oct 2015
5 
8 #include "TH1D.h"
9 #include "TF1.h"
12 
14 
16  double _min_s_inGeV2;
17  void set_min_s_inGeV2();
18 
19 public:
20 
22 
23  TH1D* makeHisto_phaseSpace(int nBins,double max_m_inMeV,std::string OutputFileName = "");
24  TH1D* makeHisto_2body(int nBins,double max_m_inMeV, const DecayTree& thisDcy, std::string OutputFileName = "");
25  TH1D* makeHisto_3body(int nBins,double max_m_inMeV, const DecayTree& thisDcy, std::string OutputFileName = "");
26  TH1D* makeHisto_dalitz(int nBins,double max_m_inMeV,int nIntegrationEvents,IFastAmplitudeIntegrable* amps = 0,std::string OutputFileName = "");
27 
28  TF1* getRunningWidthFunction_phaseSpace(double max_s_inGeV2);
29  TF1* getRunningWidthFunction_2body(double max_s_inGeV2, const DecayTree& thisDcy);
30  TF1* getRunningWidthFunction_3body(double max_s_inGeV2, const DecayTree& thisDcy);
31  TF1* getRunningWidthFunction_Fermi(double max_s_inGeV2, double lambda, double s0);
32 
33  std::vector<double> getPartialWidthCouplingsFromBF(std::vector<double> BF , std::vector<TF1*> partialWidths, double m0, double gamma0);
34 
35  TH1D* makeRunningMassHisto_3body(int nBins, double max_s_inGeV2, std::vector<TF1*> gamma, std::vector<double> g, std::string OutputFileName = "");
36 
38 
39 };
40 
41 
42 #endif
43 //
TH1D * makeHisto_dalitz(int nBins, double max_m_inMeV, int nIntegrationEvents, IFastAmplitudeIntegrable *amps=0, std::string OutputFileName="")
TH1D * makeHisto_phaseSpace(int nBins, double max_m_inMeV, std::string OutputFileName="")
TF1 * getRunningWidthFunction_2body(double max_s_inGeV2, const DecayTree &thisDcy)
void setDalitzEventPattern(const DalitzEventPattern &pat)
TF1 * getRunningWidthFunction_3body(double max_s_inGeV2, const DecayTree &thisDcy)
TH1D * makeHisto_3body(int nBins, double max_m_inMeV, const DecayTree &thisDcy, std::string OutputFileName="")
std::vector< double > getPartialWidthCouplingsFromBF(std::vector< double > BF, std::vector< TF1 * > partialWidths, double m0, double gamma0)
TF1 * getRunningWidthFunction_phaseSpace(double max_s_inGeV2)
RunningWidthCalculator(const DalitzEventPattern &pat)
TH1D * makeHisto_2body(int nBins, double max_m_inMeV, const DecayTree &thisDcy, std::string OutputFileName="")
TF1 * getRunningWidthFunction_Fermi(double max_s_inGeV2, double lambda, double s0)
TH1D * makeRunningMassHisto_3body(int nBins, double max_s_inGeV2, std::vector< TF1 * > gamma, std::vector< double > g, std::string OutputFileName="")
static const double g
double lambda(double x, double y, double z)
Definition: lambda.h:8