Skip to content
Snippets Groups Projects
Commit c0bf4d88 authored by Matthias Steinke's avatar Matthias Steinke
Browse files

Merge matthias@tau.ep1.rub.de:/home/tau/www/git/Pawian

parents 19bd5fb7 5a9d2df5
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,10 @@
# The amount of random number producer threads
#nProducerThreads = 8
nProducerThreads = 2
nProducerThreads = 4
# The amount of threads processing individuals simultaneously
#nEvaluationThreads = 16
nEvaluationThreads = 4
nEvaluationThreads = 8
# The size of the population
populationSize = 100
# The number of parents in the population
......
......@@ -90,12 +90,11 @@ complex<double> OmegaPiLh::calcCoherentAmp(Spin lamgamma, Spin Minit, std::map<
for ( it=fitParm.begin(); it!=fitParm.end(); ++it){
boost::shared_ptr<const JPCLS> theJPCLS=it->first;
if (fabs(lamomega)>theJPCLS->J) continue;
complex<double> omegaDecAmp=Clebsch(1,0,1,lamgamma,1, lamgamma)*Clebsch(1,lamgamma,0,0,1, lamgamma)*theData.Dfp[1][lamomega][lamgamma];
complex<double> omegaDecAmp=Clebsch(1,0,1,lamgamma,1, lamgamma)*conj(theData.Dfd[1][lamomega][lamgamma]);// Clebsch(1,lamgamma,0,0,1, lamgamma)=1
double theMag=it->second.first;
double thePhi=it->second.second;
complex<double> expiphi(cos(thePhi), sin(thePhi));
result+=theMag*expiphi*Clebsch(theJPCLS->L,0,1, lamomega,theJPCLS->J, lamomega)*Clebsch(1,lamomega,0,0,1,lamomega)*theData.Dfp[theJPCLS->J][Minit][lamomega];
result*=omegaDecAmp;
result+=theMag*expiphi*omegaDecAmp*Clebsch(theJPCLS->L,0,1, lamomega,theJPCLS->J, lamomega)*conj(theData.Dfp[theJPCLS->J][Minit][lamomega]); //Clebsch(1,lamomega,0,0,1,lamomega)=1
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment