Skip to content
Snippets Groups Projects
Commit 06dd23bf authored by Bertram Kopf's avatar Bertram Kopf
Browse files

small bug fix in omega pi fit: imag. part of SD matrix

parent 68bf55cf
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ spinDensity::~spinDensity()
complex<double> spinDensity::calcSpinDensityIncoherent(Spin M, Spin M_, OmegaPiData::OmPiEvtData* theData, const OmegaPiData::fitParamVal& theParamVal)
{
// double thephi=theData->omegaHeliCm4Vec.Phi();spindensity.cc
// double thephi=theData->omegaHeliCm4Vec.Phi();
// double thetheta=theData->omegaHeliCm4Vec.Theta();
std::map< boost::shared_ptr<const JPCLS>, pair<double, double>, pawian::Collection::SharedPtrLess > fitParmSinglet=theParamVal.omegaProdSinglet;
std::map< boost::shared_ptr<const JPCLS>, pair<double, double>, pawian::Collection::SharedPtrLess > fitParmTriplet0=theParamVal.omegaProdTriplet0;
......
......@@ -73,13 +73,13 @@ void SpinDensityHist::createHistogram(int M, int M_)
//Create spin density histogram with real part
strstreamName << "_" << strCohIncoh << "spinDensityDataHist_M1" << strPrefixM1 << Mn << "M2" << strPrefixM2 << Mn_;
TH1F* _spinDensityDataHist= new TH1F(strstreamName.str().c_str(),strstreamTitle.str().c_str(),101, -1.0, 1.0);
createSpinDensityHist(_spinDensityDataHist, M, M_);
createSpinDensityHist(_spinDensityDataHist, M, M_, true);
//Create spin density histogram with imaginary part
strstreamName.str("");
strstreamName << "_" << "Imag" << strCohIncoh << "spinDensityDataHist_M1" << strPrefixM1 << Mn << "M2" << strPrefixM2 << Mn_;
TH1F* _spinDensityDataHistImag= new TH1F(strstreamName.str().c_str(),strstreamTitle.str().c_str(),101, -1.0, 1.0);
createSpinDensityHist(_spinDensityDataHistImag, M, M_);
createSpinDensityHist(_spinDensityDataHistImag, M, M_, false);
_spinDensityDataHist->Divide(_cosOmegaHeliMcHist);
_spinDensityDataHistImag->Divide(_cosOmegaHeliMcHist);
......
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