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
6aa1b9c8
Commit
6aa1b9c8
authored
8 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
few modificatione in MatrixPiPiSWaveSimple4piPhp
parent
ce2b196c
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/Tutorial/LineShapes/Jamfile
+1
-1
1 addition, 1 deletion
Examples/Tutorial/LineShapes/Jamfile
Examples/Tutorial/LineShapes/TMatrixPiPiSWaveSimple4piPhp.cc
+11
-11
11 additions, 11 deletions
Examples/Tutorial/LineShapes/TMatrixPiPiSWaveSimple4piPhp.cc
with
12 additions
and
12 deletions
Examples/Tutorial/LineShapes/Jamfile
+
1
−
1
View file @
6aa1b9c8
alias install : install-bin install-lib ;
alias install : install-bin install-lib ;
explicit install ;
explicit install ;
install install-bin : BwShapeApp FlatteShapeApp TwoPolesApp TMatrixGeneralApp
install install-bin : BwShapeApp FlatteShapeApp TwoPolesApp TMatrixGeneralApp
TMatrixPiPiSWaveSimple4piPhpApp
: <location>$(TOP)/bin
: <location>$(TOP)/bin
<install-dependencies>on
<install-dependencies>on
<install-type>EXE
<install-type>EXE
...
...
This diff is collapsed.
Click to expand it.
Examples/Tutorial/LineShapes/TMatrixPiPiSWaveSimple4piPhp.cc
+
11
−
11
View file @
6aa1b9c8
...
@@ -134,28 +134,28 @@ MatrixPiPiSWaveSimple4piPhp::MatrixPiPiSWaveSimple4piPhp(int numStepsForSheetSca
...
@@ -134,28 +134,28 @@ MatrixPiPiSWaveSimple4piPhp::MatrixPiPiSWaveSimple4piPhp(int numStepsForSheetSca
<<
"
\n
energyPlaneBorders 2:"
<<
energyPlaneBorders
[
2
]
<<
"
\n
energyPlaneBorders 2:"
<<
energyPlaneBorders
[
2
]
<<
"
\n
energyPlaneBorders 3:"
<<
energyPlaneBorders
[
3
]
<<
"
\n
energyPlaneBorders 3:"
<<
energyPlaneBorders
[
3
]
<<
endmsg
;
<<
endmsg
;
std
::
vector
<
std
::
shared_ptr
<
AbsPhaseSpace
>
>
phpVecs
=
_tMatr
->
kMatrix
()
->
phaseSpaceVec
();
for
(
double
mass
=
_massMin
+
_stepSize
/
0.5
;
mass
<
_massMax
;
mass
+=
_stepSize
){
for
(
double
mass
=
_massMin
+
_stepSize
/
0.5
;
mass
<
_massMax
;
mass
+=
_stepSize
){
Vector4
<
double
>
mass4Vec
(
mass
,
0.
,
0.
,
0.
);
Vector4
<
double
>
mass4Vec
(
mass
,
0.
,
0.
,
0.
);
_tMatr
->
evalMatrix
(
mass
);
_tMatr
->
evalMatrix
(
mass
);
for
(
unsigned
int
i
=
0
;
i
<
_gFactorNames
.
size
();
++
i
){
for
(
unsigned
int
i
=
0
;
i
<
_gFactorNames
.
size
();
++
i
){
//
complex<double> currentRho=
_
phpVecs.at(i)->factor(mass);
complex
<
double
>
currentRho
=
phpVecs
.
at
(
i
)
->
factor
(
mass
);
//
_AmpRealH1Vec.at(i)->Fill(mass, sqrt(currentRho.real())*(*_tMatr)(i,i).real());
_AmpRealH1Vec
.
at
(
i
)
->
Fill
(
mass
,
sqrt
(
currentRho
.
real
())
*
(
*
_tMatr
)(
i
,
i
).
real
());
//
_AmpImagH1Vec.at(i)->Fill(mass, sqrt(currentRho.real())*(*_tMatr)(i,i).imag());
_AmpImagH1Vec
.
at
(
i
)
->
Fill
(
mass
,
sqrt
(
currentRho
.
real
())
*
(
*
_tMatr
)(
i
,
i
).
imag
());
//
_ArgandH2Vec.at(i)->Fill( currentRho.real()*(*_tMatr)(i,i).real(), currentRho.real()*(*_tMatr)(i,i).imag());
_ArgandH2Vec
.
at
(
i
)
->
Fill
(
currentRho
.
real
()
*
(
*
_tMatr
)(
i
,
i
).
real
(),
currentRho
.
real
()
*
(
*
_tMatr
)(
i
,
i
).
imag
());
double
currentphase
=
360.
*
atan2
((
*
_tMatr
)(
i
,
i
).
imag
(),(
*
_tMatr
)(
i
,
i
).
real
())
/
3.1415
;
double
currentphase
=
360.
*
atan2
((
*
_tMatr
)(
i
,
i
).
imag
(),(
*
_tMatr
)(
i
,
i
).
real
())
/
3.1415
;
_PhaseH2Vec
.
at
(
i
)
->
Fill
(
mass
,
currentphase
);
_PhaseH2Vec
.
at
(
i
)
->
Fill
(
mass
,
currentphase
);
//
double sqrtFactor=(*_tMatr)(i,i).real()*(*_tMatr)(i,i).real()+((*_tMatr)(i,i).imag()-0.5)*((*_tMatr)(i,i).imag()-0.5);
double
sqrtFactor
=
(
*
_tMatr
)(
i
,
i
).
real
()
*
(
*
_tMatr
)(
i
,
i
).
real
()
+
((
*
_tMatr
)(
i
,
i
).
imag
()
-
0.5
)
*
((
*
_tMatr
)(
i
,
i
).
imag
()
-
0.5
);
//
double currentElasticity=2.*sqrt(sqrtFactor);
double
currentElasticity
=
2.
*
sqrt
(
sqrtFactor
);
//
complex<double> S00_rel=complex<double>(1.,0.)+2.*complex<double>(0.,1.)*currentRho.real()*(*_tMatr)(i,i);
complex
<
double
>
S00_rel
=
complex
<
double
>
(
1.
,
0.
)
+
2.
*
complex
<
double
>
(
0.
,
1.
)
*
currentRho
.
real
()
*
(
*
_tMatr
)(
i
,
i
);
//
_ElasticityH1Vec.at(i)->Fill(mass, sqrt(norm(S00_rel)));
_ElasticityH1Vec
.
at
(
i
)
->
Fill
(
mass
,
sqrt
(
norm
(
S00_rel
)));
//
_SqrT11H1Vec.at(i)->Fill(mass,currentRho.real()*norm((*_tMatr)(i,i)));
_SqrT11H1Vec
.
at
(
i
)
->
Fill
(
mass
,
currentRho
.
real
()
*
norm
((
*
_tMatr
)(
i
,
i
)));
//
_phpH1Vec.at(i)->Fill(mass, sqrt(norm(currentRho)));
_phpH1Vec
.
at
(
i
)
->
Fill
(
mass
,
sqrt
(
norm
(
currentRho
)));
}
}
}
}
...
...
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