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
e45b5513
Commit
e45b5513
authored
11 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
reduced memory after initialization for the fit procedure
parent
12efe226
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 @
e45b5513
...
...
@@ -332,3 +332,25 @@ void AbsDecay::print(std::ostream& os) const{
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 @
e45b5513
...
...
@@ -97,6 +97,9 @@ public:
virtual
std
::
string
pathToConfigParser
()
{
return
_pathParserFile
;}
void
setProductionAmp
()
{
_isProdAmp
=
true
;}
bool
isProductionAmp
()
{
return
_isProdAmp
;}
void
resetFilledMap
();
protected
:
ChannelID
_channelId
;
...
...
This diff is collapsed.
Click to expand it.
PwaUtils/EvtDataBaseList.cc
+
5
−
0
View file @
e45b5513
...
...
@@ -145,6 +145,11 @@ EvtData* EvtDataBaseList::convertEvent(Event* theEvent, int evtNo){
(
*
itDyn
)
->
fillMasses
(
evtData
);
};
//reset filled map
for
(
itIso
=
theDecays
.
begin
();
itIso
!=
theDecays
.
end
();
++
itIso
){
(
*
itIso
)
->
resetFilledMap
();
}
return
evtData
;
}
...
...
This diff is collapsed.
Click to expand it.
PwaUtils/LSDecAmps.hh
+
1
−
1
View file @
e45b5513
...
...
@@ -71,7 +71,7 @@ protected:
std
::
vector
<
std
::
shared_ptr
<
const
LScomb
>
>
_LSs
;
double
_factorMag
;
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
>
_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