Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pawian
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PWA
Pawian
Commits
06dd23bf
Commit
06dd23bf
authored
14 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Examples/pbarpToOmegaPi/spindensity.cc
+1
-1
1 addition, 1 deletion
Examples/pbarpToOmegaPi/spindensity.cc
Examples/pbarpToOmegaPi/spindensityhist.cc
+2
-2
2 additions, 2 deletions
Examples/pbarpToOmegaPi/spindensityhist.cc
with
3 additions
and
3 deletions
Examples/pbarpToOmegaPi/spindensity.cc
+
1
−
1
View file @
06dd23bf
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Examples/pbarpToOmegaPi/spindensityhist.cc
+
2
−
2
View file @
06dd23bf
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment