IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Pranav Sampathkumar
corsika
Commits
b0d6e2db
Commit
b0d6e2db
authored
2 years ago
by
Maximilian Reininghaus
Committed by
Maximilian Reininghaus
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs
parent
635ee0b1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
corsika/detail/framework/utility/COMBoost.inl
+1
-1
1 addition, 1 deletion
corsika/detail/framework/utility/COMBoost.inl
corsika/framework/utility/COMBoost.hpp
+2
-2
2 additions, 2 deletions
corsika/framework/utility/COMBoost.hpp
with
3 additions
and
3 deletions
corsika/detail/framework/utility/COMBoost.inl
+
1
−
1
View file @
b0d6e2db
...
...
@@ -102,7 +102,7 @@ namespace corsika {
template
<
typename
FourVector
>
inline
FourVector
COMBoost
::
fromCoM
(
FourVector
const
&
p4
)
const
{
auto
const
pCM
=
p4
.
getSpaceLikeComponents
().
getComponents
(
rotatedCS_
);
auto
pCM
=
p4
.
getSpaceLikeComponents
().
getComponents
(
rotatedCS_
);
auto
const
Ecm
=
p4
.
getTimeLikeComponent
();
Eigen
::
Vector2d
com
;
...
...
This diff is collapsed.
Click to expand it.
corsika/framework/utility/COMBoost.hpp
+
2
−
2
View file @
b0d6e2db
...
...
@@ -56,14 +56,14 @@ namespace corsika {
COMBoost
(
FourMomentum
const
&
P4projectile
,
HEPEnergyType
const
massTarget
);
/**
* Construct a COMBoost to boost into the rest frame given
a
3-momentum and mass.
* Construct a COMBoost to boost into the rest frame
of a particle
given
its
3-momentum and mass.
*/
COMBoost
(
MomentumVector
const
&
momentum
,
HEPEnergyType
const
mass
);
/**
* Construct a COMBoost given two four-vectors of projectile target.
*
* The t
o
w FourMomentum can define an arbitrary system.
* The tw
o
FourMomentum can define an arbitrary system.
*/
COMBoost
(
FourMomentum
const
&
P4projectile
,
FourMomentum
const
&
P4target
);
...
...
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