Changeset View
Changeset View
Standalone View
Standalone View
examples/GenFit3KS.cc
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | int main( int argc, char** argv ) | ||||
// Create the isobar model | // Create the isobar model | ||||
LauIsobarDynamics* sigModel = new LauIsobarDynamics(daughters, effModel); | LauIsobarDynamics* sigModel = new LauIsobarDynamics(daughters, effModel); | ||||
//LauAbsResonance* reson(0); | //LauAbsResonance* reson(0); | ||||
/*reson =*/ sigModel->addResonance("f_0(980)", 3, LauAbsResonance::Flatte); | /*reson =*/ sigModel->addResonance("f_0(980)", 3, LauAbsResonance::Flatte); | ||||
/*reson =*/ sigModel->addResonance("f_0(1710)", 3, LauAbsResonance::RelBW); | /*reson =*/ sigModel->addResonance("f_0(1710)", 3, LauAbsResonance::RelBW); | ||||
/*reson =*/ sigModel->addResonance("f_2(2010)", 3, LauAbsResonance::RelBW); | /*reson =*/ sigModel->addResonance("f_2(2010)", 3, LauAbsResonance::RelBW); | ||||
/*reson =*/ sigModel->addResonance("chi_c0", 3, LauAbsResonance::RelBW); | /*reson =*/ sigModel->addResonance("chi_c0", 3, LauAbsResonance::RelBW); | ||||
// Reset the maximum signal DP ASq value | // Set the maximum signal DP ASq value | ||||
// This will be automatically adjusted to avoid bias or extreme | // If you do not provide a value, one will be determined automatically, | ||||
// inefficiency if you get the value wrong but best to set this by | // which should be close to the true maximum but is not guaranteed to | ||||
// hand once you've found the right value through some trial and error. | // be optimal. | ||||
// Any value, whether manually provided or automatically determined, | |||||
// will be automatically adjusted to avoid bias or extreme inefficiency | |||||
// but it is best to set this by hand once you've found the right value | |||||
// through some trial and error. | |||||
sigModel->setASqMaxValue(0.285); | sigModel->setASqMaxValue(0.285); | ||||
// Create the fit model | // Create the fit model | ||||
LauSimpleFitModel* fitModel = new LauSimpleFitModel(sigModel); | LauSimpleFitModel* fitModel = new LauSimpleFitModel(sigModel); | ||||
// Create the complex coefficients for the isobar model | // Create the complex coefficients for the isobar model | ||||
// Here we're using the magnitude and phase form: | // Here we're using the magnitude and phase form: | ||||
// c_j = a_j exp(i*delta_j) | // c_j = a_j exp(i*delta_j) | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |