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
d6931277
Commit
d6931277
authored
11 years ago
by
Matthias Steinke
Browse files
Options
Downloads
Plain Diff
Merge branch 'newpwa' of tau.ep1.rub.de:/var/www/git/Pawian into newpwa
parents
a2dc198e
e45b5513
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
PwaUtils/AbsDecay.cc
+22
-0
22 additions, 0 deletions
PwaUtils/AbsDecay.cc
PwaUtils/AbsDecay.hh
+3
-0
3 additions, 0 deletions
PwaUtils/AbsDecay.hh
PwaUtils/EvtDataBaseList.cc
+5
-0
5 additions, 0 deletions
PwaUtils/EvtDataBaseList.cc
PwaUtils/LSDecAmps.hh
+1
-1
1 addition, 1 deletion
PwaUtils/LSDecAmps.hh
with
31 additions
and
1 deletion
PwaUtils/AbsDecay.cc
+
22
−
0
View file @
d6931277
...
@@ -332,3 +332,25 @@ void AbsDecay::print(std::ostream& os) const{
...
@@ -332,3 +332,25 @@ void AbsDecay::print(std::ostream& os) const{
os
<<
"
\n
"
;
os
<<
"
\n
"
;
}
}
void
AbsDecay
::
resetFilledMap
()
{
_alreadyFilledMap
.
clear
();
if
(
_isProdAmp
){
if
(
!
_daughter1IsStable
){
_absDecDaughter1
->
resetFilledMap
();
}
if
(
!
_daughter2IsStable
){
_absDecDaughter2
->
resetFilledMap
();
}
}
else
{
if
(
!
_daughter1IsStable
){
_absDecDaughter1
->
resetFilledMap
();
}
if
(
!
_daughter2IsStable
){
_absDecDaughter2
->
resetFilledMap
();
}
}
}
This diff is collapsed.
Click to expand it.
PwaUtils/AbsDecay.hh
+
3
−
0
View file @
d6931277
...
@@ -97,6 +97,9 @@ public:
...
@@ -97,6 +97,9 @@ public:
virtual
std
::
string
pathToConfigParser
()
{
return
_pathParserFile
;}
virtual
std
::
string
pathToConfigParser
()
{
return
_pathParserFile
;}
void
setProductionAmp
()
{
_isProdAmp
=
true
;}
void
setProductionAmp
()
{
_isProdAmp
=
true
;}
bool
isProductionAmp
()
{
return
_isProdAmp
;}
bool
isProductionAmp
()
{
return
_isProdAmp
;}
void
resetFilledMap
();
protected
:
protected
:
ChannelID
_channelId
;
ChannelID
_channelId
;
...
...
This diff is collapsed.
Click to expand it.
PwaUtils/EvtDataBaseList.cc
+
5
−
0
View file @
d6931277
...
@@ -145,6 +145,11 @@ EvtData* EvtDataBaseList::convertEvent(Event* theEvent, int evtNo){
...
@@ -145,6 +145,11 @@ EvtData* EvtDataBaseList::convertEvent(Event* theEvent, int evtNo){
(
*
itDyn
)
->
fillMasses
(
evtData
);
(
*
itDyn
)
->
fillMasses
(
evtData
);
};
};
//reset filled map
for
(
itIso
=
theDecays
.
begin
();
itIso
!=
theDecays
.
end
();
++
itIso
){
(
*
itIso
)
->
resetFilledMap
();
}
return
evtData
;
return
evtData
;
}
}
...
...
This diff is collapsed.
Click to expand it.
PwaUtils/LSDecAmps.hh
+
1
−
1
View file @
d6931277
...
@@ -71,7 +71,7 @@ protected:
...
@@ -71,7 +71,7 @@ protected:
std
::
vector
<
std
::
shared_ptr
<
const
LScomb
>
>
_LSs
;
std
::
vector
<
std
::
shared_ptr
<
const
LScomb
>
>
_LSs
;
double
_factorMag
;
double
_factorMag
;
double
_parityFactor
;
double
_parityFactor
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
map
<
Spin
,
map
<
Spin
,
double
>
>
>
_cgPreFactor
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
map
<
Spin
,
map
<
Spin
,
double
>
>
,
pawian
::
Collection
::
SharedPtrLess
>
_cgPreFactor
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
double
,
pawian
::
Collection
::
SharedPtrLess
>
_currentParamMags
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
double
,
pawian
::
Collection
::
SharedPtrLess
>
_currentParamMags
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
double
,
pawian
::
Collection
::
SharedPtrLess
>
_currentParamPhis
;
std
::
map
<
std
::
shared_ptr
<
const
LScomb
>
,
double
,
pawian
::
Collection
::
SharedPtrLess
>
_currentParamPhis
;
...
...
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