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
b7c7dfca
Commit
b7c7dfca
authored
1 year ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
switched more classes to template classes II
parent
0bcbec48
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PwaUtils/AbsXdecAmp.hh
+3
-15
3 additions, 15 deletions
PwaUtils/AbsXdecAmp.hh
with
3 additions
and
15 deletions
PwaUtils/AbsXdecAmp.hh
+
3
−
15
View file @
b7c7dfca
...
...
@@ -44,9 +44,6 @@
class
AbsDecay
;
class
FsParticleProjections
;
class
AbsDynamics
;
//typedef CacheVector<std::map<unsigned short, std::map<Id2StringType, complex<float> > > > intUShortId2StringComplFloatMap;
typedef
CacheVector
<
std
::
map
<
unsigned
short
,
std
::
map
<
short
,
complex
<
float
>
>
>
>
intUShortShortComplFloatMap
;
template
<
typename
T
>
class
AbsXdecAmp
:
public
AbsParamHandler
{
...
...
@@ -67,7 +64,6 @@ public:
const
std
::
string
jpcDecsName
()
const
{
return
_jpcDecsName
;}
const
std
::
string
isoKey
()
const
{
return
_isoKey
;}
const
std
::
string
wignerDKey
()
const
{
return
_wignerDKey
;}
// const std::string refKey() const {return _refKey;}
virtual
void
cacheAmplitudes
();
virtual
bool
checkRecalculation
(
std
::
shared_ptr
<
AbsPawianParameters
>
fitParNew
,
std
::
shared_ptr
<
AbsPawianParameters
>
fitParOld
);
virtual
void
calcDynamics
(
EvtData
*
theData
,
AbsXdecAmp
*
grandmaAmp
=
0
);
...
...
@@ -75,7 +71,6 @@ public:
std
::
shared_ptr
<
AbsDynamics
>
getDyn
();
std
::
shared_ptr
<
AbsXdecAmp
>
absXDecAmpDaughter1
()
{
return
_decAmpDaughter1
;}
std
::
shared_ptr
<
AbsXdecAmp
>
absXDecAmpDaughter2
()
{
return
_decAmpDaughter2
;}
// virtual void retrieveWignerDs(EvtData* theData) { return;}
protected
:
...
...
@@ -96,11 +91,6 @@ protected:
std
::
string
_daughter2Name
;
unsigned
int
_daughter1ProjId
;
unsigned
int
_daughter2ProjId
;
// std::map<std::thread::id, unsigned short> _projIdThreadMap;
// std::map<std::thread::id, Spin> _lam1MinThreadMap;
// std::map<std::thread::id, Spin> _lam1MaxThreadMap;
// std::map<std::thread::id, Spin> _lam2MinThreadMap;
// std::map<std::thread::id, Spin> _lam2MaxThreadMap;
unsigned
short
_projId
;
Spin
_lam1MinProj
;
...
...
@@ -113,7 +103,6 @@ protected:
const
double
_preFactor
;
std
::
string
_key
;
const
std
::
string
_wignerDKey
;
// std::string _refKey;
bool
_daughter1IsStable
;
bool
_daughter2IsStable
;
...
...
@@ -128,10 +117,9 @@ protected:
bool
_isFormationAmp
;
// intUShortId2StringComplFloatMap _cachedAmpIdMap;
intUShortShortComplFloatMap
_cachedAmpIdMap
;
// std::map<std::thread::id, std::map<unsigned short, complex<float> > > _cachedDynIdMap;
std
::
map
<
unsigned
short
,
complex
<
float
>
>
_cachedDynIdMap
;
CacheVector
<
std
::
map
<
unsigned
short
,
std
::
map
<
short
,
complex
<
T
>
>
>
>
_cachedAmpIdMap
;
std
::
map
<
unsigned
short
,
complex
<
T
>
>
_cachedDynIdMap
;
virtual
void
initialize
();
};
...
...
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