IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Model registry
Operate
Environments
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
Air Shower Physics
corsika
Commits
0923a571
"examples/em_shower.cpp" did not exist on "0f5eb964c667c0807378398581c35909dd057334"
Commit
0923a571
authored
6 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
removed unused dir
parent
56859348
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/ParticleProperties/ParticleProperties.hpp
+0
-45
0 additions, 45 deletions
Framework/ParticleProperties/ParticleProperties.hpp
with
0 additions
and
45 deletions
Framework/ParticleProperties/ParticleProperties.hpp
deleted
100644 → 0
+
0
−
45
View file @
56859348
#ifndef PARTICLEPROPERTIES_HPP
#define PARTICLEPROPERTIES_HPP
#include
<array>
#include
<cstdint>
#include
<iostream>
namespace
ParticleProperties
{
typedef
int16_t
PDGCode
;
#include
"generated_particle_properties.inc"
auto
constexpr
getMass
(
InternalParticleCode
const
p
)
{
return
masses
[
static_cast
<
uint8_t
const
>
(
p
)];
}
auto
constexpr
getPDG
(
InternalParticleCode
const
p
)
{
return
pdg_codes
[
static_cast
<
uint8_t
const
>
(
p
)];
}
auto
constexpr
getElectricChargeQN
(
InternalParticleCode
const
p
)
{
return
electric_charge
[
static_cast
<
uint8_t
const
>
(
p
)];
}
auto
constexpr
getElectricCharge
(
InternalParticleCode
const
p
)
{
return
getElectricChargeQN
(
p
)
*
(
phys
::
units
::
e
/
3.
);
}
auto
const
getName
(
InternalParticleCode
const
p
)
{
return
names
[
static_cast
<
uint8_t
const
>
(
p
)];
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
InternalParticleCode
const
p
)
{
stream
<<
getName
(
p
);
return
stream
;
}
}
#endif
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