Changeset View
Changeset View
Standalone View
Standalone View
examples/GenFitBelleCPKpipi.cc
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | int main( int argc, char** argv ) | ||||
negSigModel->setIntFileName("integ_neg.dat"); | negSigModel->setIntFileName("integ_neg.dat"); | ||||
posSigModel->setIntFileName("integ_pos.dat"); | posSigModel->setIntFileName("integ_pos.dat"); | ||||
// Reset the maximum signal DP ASq value | // Reset the maximum signal DP ASq value | ||||
// This will be automatically adjusted to avoid bias or extreme | // This will be automatically adjusted to avoid bias or extreme | ||||
// inefficiency if you get the value wrong but best to set this by | // inefficiency if you get the value wrong but best to set this by | ||||
// hand once you've found the right value through some trial and | // hand once you've found the right value through some trial and | ||||
// error. | // error. | ||||
Double_t aSqMaxValue = 1.62; | //Double_t aSqMaxValue = 1.62; | ||||
negSigModel->setASqMaxValue(aSqMaxValue); | //negSigModel->setASqMaxValue(aSqMaxValue); | ||||
posSigModel->setASqMaxValue(aSqMaxValue); | //posSigModel->setASqMaxValue(aSqMaxValue); | ||||
negSigModel->autoSetASqMaxValue(); | |||||
posSigModel->autoSetASqMaxValue(); | |||||
// Create the fit model, giving it both isobar models | // Create the fit model, giving it both isobar models | ||||
LauCPFitModel* fitModel = new LauCPFitModel( negSigModel, posSigModel ); | LauCPFitModel* fitModel = new LauCPFitModel( negSigModel, posSigModel ); | ||||
// Create the complex coefficients for the isobar model | // Create the complex coefficients for the isobar model | ||||
// Here we're using the "Belle" form: | // Here we're using the "Belle" form: | ||||
// The amplitude has the form a * exp(i*delta) * ( 1 +/- b * exp(i*phi) ) where | // The amplitude has the form a * exp(i*delta) * ( 1 +/- b * exp(i*phi) ) where | ||||
// a is a CP conserving magnitude, | // a is a CP conserving magnitude, | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |