Skip to content
GitLab
Explore
Sign in
Register
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
5ffe84c0
Commit
5ffe84c0
authored
8 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
minor changes in resBaseLh
parent
cd845c97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resUtils/resBaseLh.cc
+3
-2
3 additions, 2 deletions
resUtils/resBaseLh.cc
with
3 additions
and
2 deletions
resUtils/resBaseLh.cc
+
3
−
2
View file @
5ffe84c0
...
...
@@ -153,14 +153,15 @@ void resBaseLh::initialize(){
_withPolarization
=
resEnv
->
polarizedMother
();
int
noOfHelStates
(
2.
*
_Jmother
+
1
);
for
(
Spin
itLam
=-
_Jmother
;
itLam
<=
_Jmother
;
++
itLam
){
std
::
string
currentName
=
resEnv
->
motherParticle
()
->
name
();
std
::
stringstream
tmpStrStreamlamJ
;
tmpStrStreamlamJ
<<
itLam
;
currentName
+=
tmpStrStreamlamJ
.
str
();
_polParamNames
[
itLam
]
=
currentName
;
_currentPolVec
[
itLam
]
=
1.
;
if
(
_withPolarization
)
_currentPolVec
[
itLam
]
=
1.
/
noOfHelStates
;
else
_currentPolVec
[
itLam
]
=
1.
;
}
}
...
...
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