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
362776e8
Commit
362776e8
authored
12 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
added barrier factors for poles
parent
a90d72ca
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
PwaDynamics/KPoleBarrier.cc
+31
-0
31 additions, 0 deletions
PwaDynamics/KPoleBarrier.cc
PwaDynamics/KPoleBarrier.hh
+54
-0
54 additions, 0 deletions
PwaDynamics/KPoleBarrier.hh
with
85 additions
and
0 deletions
PwaDynamics/KPoleBarrier.cc
0 → 100644
+
31
−
0
View file @
362776e8
#include
"PwaDynamics/KPoleBarrier.hh"
#include
"PwaDynamics/AbsPhaseSpace.hh"
#include
"qft++/relativistic-quantum-mechanics/Utils.hh"
KPoleBarrier
::
KPoleBarrier
(
vector
<
double
>&
g_i
,
double
mass_0
,
vector
<
boost
::
shared_ptr
<
AbsPhaseSpace
>
>
phpVecs
,
int
orbMom
)
:
KPole
(
g_i
,
mass_0
)
,
_phpVecs
(
phpVecs
)
,
_orbMom
(
orbMom
)
{
}
KPoleBarrier
::~
KPoleBarrier
(){
}
void
KPoleBarrier
::
evalMatrix
(
const
double
mass
){
vector
<
complex
<
double
>
>
barrierFactor
;
for
(
int
i
=
0
;
i
<
int
(
_phpVecs
.
size
());
++
i
){
complex
<
double
>
breakUpM
=
_phpVecs
[
i
]
->
breakUpMom
(
mass
);
complex
<
double
>
breakUpM0
=
_phpVecs
[
i
]
->
breakUpMom
(
_poleMass
);
barrierFactor
.
push_back
(
breakUpM
/
breakUpM0
);
}
for
(
int
i
=
0
;
i
<
int
(
_g_i
.
size
());
++
i
){
for
(
int
j
=
0
;
j
<
int
(
_g_i
.
size
());
++
j
){
this
->
operator
()(
i
,
j
)
=
(
_g_i
[
i
]
*
barrierFactor
[
i
]
*
_g_i
[
j
]
*
barrierFactor
[
j
])
/
(
_poleMass
*
_poleMass
-
mass
*
mass
);
}
}
}
This diff is collapsed.
Click to expand it.
PwaDynamics/KPoleBarrier.hh
0 → 100644
+
54
−
0
View file @
362776e8
// KPoleBarrier class definition file. -*- C++ -*-
// Copyright 2012 Bertram Kopf
#pragma once
//_____________________________________________________________________________
// @file KPoleBarrier.h
//_____________________________________________________________________________
#include
"qft++/matrix/Matrix.hh"
#include
"PwaDynamics/KPole.hh"
#include
"PwaDynamics/AbsPhaseSpace.hh"
#include
<iostream>
#include
<vector>
#include
<complex>
#include
<boost/shared_ptr.hpp>
using
namespace
std
;
class
AbsPhaseSpace
;
//_____________________________________________________________________________
//_____________________________________________________________________________
class
KPoleBarrier
:
public
KPole
{
public:
// create/copy/destroy:
/// Default Constructor (rank 0)
// KPoleBarrier() : Matrix<double>::Matrix() {}
/// Constructor
KPoleBarrier
(
vector
<
double
>&
g_i
,
double
mass_0
,
vector
<
boost
::
shared_ptr
<
AbsPhaseSpace
>
>
phpVecs
,
int
orbMom
);
/// Copy Constructor
// KPoleBarrier(const KPoleBarrier &theCopy);
/// Destructor
virtual
~
KPoleBarrier
();
// operators:
// functions:
virtual
void
evalMatrix
(
const
double
mass
);
protected:
vector
<
boost
::
shared_ptr
<
AbsPhaseSpace
>
>
_phpVecs
;
int
_orbMom
;
};
//_____________________________________________________________________________
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