17 #include "StHbtMaker/Base/StHbtThPair.hh"
18 #include "StHbtMaker/ThCorrFctn/StHbtFsiQuantStat.h"
19 #include "StarClassLibrary/PhysicalConstants.h"
20 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
25 double StHbtFsiQuantStat::GetWeight(
const StHbtThPair* aThPair){
27 if (aThPair->GetPid1()==aThPair->GetPid2()){
28 int tSpin=abs(aThPair->GetPid1())%10;
29 if (tSpin==0)
return 1;
30 double tSpinFactor=-::pow(-1.,tSpin)/tSpin;
32 *(aThPair->GetRealMomentum2());
34 *(aThPair->GetEmPoint2());
35 double wei=(1.+tSpinFactor*cos((
double)(q*r)*fermi/hbarc));