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
18185e43
Commit
18185e43
authored
7 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
added few things for gamgam
parent
0c537fb2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gamgamUtils/gamgamStates.cc
+30
-1
30 additions, 1 deletion
gamgamUtils/gamgamStates.cc
gamgamUtils/gamgamStates.hh
+4
-0
4 additions, 0 deletions
gamgamUtils/gamgamStates.hh
with
34 additions
and
1 deletion
gamgamUtils/gamgamStates.cc
+
30
−
1
View file @
18185e43
...
...
@@ -83,7 +83,11 @@ bool gamgamStates::calcStates(){
fillVec
(
currentIGJPCPtr
,
_allIGjpcRes
);
std
::
shared_ptr
<
const
JPClamlam
>
currentJPClamlamPtr
(
new
JPClamlam
(
jpcPtr
,
lam1
,
lam2
,
preFactorLamLam
));
fillVec
(
currentJPClamlamPtr
,
_JPClamlam_States
);
fillVec
(
jpcPtr
,
_alljpcRes
);
fillVec
(
jpcPtr
,
_alljpcRes
);
if
(
lam1
==-
1
&&
lam2
==-
1
)
fillVec
(
currentJPCLSPtr
,
_JPCLSLam1m1Lam2m1_States
);
else
if
(
lam1
==-
1
&&
lam2
==
1
)
fillVec
(
currentJPCLSPtr
,
_JPCLSLam1m1Lam2p1_States
);
else
if
(
lam1
==
1
&&
lam2
==-
1
)
fillVec
(
currentJPCLSPtr
,
_JPCLSLam1p1Lam2m1_States
);
else
if
(
lam1
==
1
&&
lam2
==
1
)
fillVec
(
currentJPCLSPtr
,
_JPCLSLam1p1Lam2p1_States
);
}
}
}
...
...
@@ -127,5 +131,30 @@ void gamgamStates::print(std::ostream& os) const{
(
*
itJPCLamLam
)
->
print
(
os
);
os
<<
std
::
endl
;
}
os
<<
"
\n
******** JPCLS states for lamGam1=-1 and lamGam2=-1************ "
<<
std
::
endl
;
for
(
itJPCLS
=
_JPCLSLam1m1Lam2m1_States
.
begin
();
itJPCLS
!=
_JPCLSLam1m1Lam2m1_States
.
end
();
++
itJPCLS
){
(
*
itJPCLS
)
->
print
(
os
);
os
<<
std
::
endl
;
}
os
<<
"
\n
******** JPCLS states for lamGam1=-1 and lamGam2=1************ "
<<
std
::
endl
;
for
(
itJPCLS
=
_JPCLSLam1m1Lam2p1_States
.
begin
();
itJPCLS
!=
_JPCLSLam1m1Lam2p1_States
.
end
();
++
itJPCLS
){
(
*
itJPCLS
)
->
print
(
os
);
os
<<
std
::
endl
;
}
os
<<
"
\n
******** JPCLS states for lamGam1=1 and lamGam2=-1************ "
<<
std
::
endl
;
for
(
itJPCLS
=
_JPCLSLam1p1Lam2m1_States
.
begin
();
itJPCLS
!=
_JPCLSLam1p1Lam2m1_States
.
end
();
++
itJPCLS
){
(
*
itJPCLS
)
->
print
(
os
);
os
<<
std
::
endl
;
}
os
<<
"
\n
******** JPCLS states for lamGam1=1 and lamGam2=1************ "
<<
std
::
endl
;
for
(
itJPCLS
=
_JPCLSLam1p1Lam2p1_States
.
begin
();
itJPCLS
!=
_JPCLSLam1p1Lam2p1_States
.
end
();
++
itJPCLS
){
(
*
itJPCLS
)
->
print
(
os
);
os
<<
std
::
endl
;
}
}
This diff is collapsed.
Click to expand it.
gamgamUtils/gamgamStates.hh
+
4
−
0
View file @
18185e43
...
...
@@ -73,5 +73,9 @@ public:
std
::
vector
<
std
::
shared_ptr
<
const
JPCLS
>
>
_JPCLS_States
;
//l;momentum between gamma and gamma
std
::
vector
<
std
::
shared_ptr
<
const
JPClamlam
>
>
_JPClamlam_States
;
std
::
vector
<
std
::
shared_ptr
<
const
JPCLS
>
>
_JPCLSLam1m1Lam2m1_States
;
std
::
vector
<
std
::
shared_ptr
<
const
JPCLS
>
>
_JPCLSLam1m1Lam2p1_States
;
std
::
vector
<
std
::
shared_ptr
<
const
JPCLS
>
>
_JPCLSLam1p1Lam2m1_States
;
std
::
vector
<
std
::
shared_ptr
<
const
JPCLS
>
>
_JPCLSLam1p1Lam2p1_States
;
};
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