Advanced Computing Platform for Theoretical Physics
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yu-Chen Ding
crmc
Commits
dcd8eae9
Commit
dcd8eae9
authored
Sep 15, 2021
by
Yu-Chen Ding
Browse files
Access CRMCOptions
parent
9ae779b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
dcd8eae9
...
...
@@ -11,6 +11,7 @@
/*.out
/*.dat
/Testing
.*
# /src/lzma-read/
/src/lzma-read/read
...
...
src/CRMCoptions.h
View file @
dcd8eae9
...
...
@@ -46,6 +46,11 @@ class CRMCoptions {
int
GetProjectileId
()
const
{
return
fProjectileId
;
}
int
GetTargetId
()
const
{
return
fTargetId
;
}
int
GetSeed
(
void
)
const
{
return
fSeed
;
}
double
GetProjectileMomentum
(
void
)
const
{
return
fProjectileMomentum
;
}
double
GetTargetMomentum
(
void
)
const
{
return
fTargetMomentum
;
}
double
GetSqrts
(
void
)
const
{
return
fSqrts
;
}
protected:
bool
fError
;
...
...
src/OutputPolicyPythia8Event.h
View file @
dcd8eae9
#include <CRMC.h>
#include <Pythia8/Pythia.h>
extern
"C"
{
struct
{
extern
"C"
struct
{
int
nevhep
;
int
nhep
;
int
isthep
[
HepMC_HEPEVT_SIZE
];
...
...
@@ -12,7 +11,6 @@ struct {
double
phep
[
HepMC_HEPEVT_SIZE
][
5
];
double
vhep
[
HepMC_HEPEVT_SIZE
][
4
];
}
hepevt_
;
}
class
OutputPolicyPythia8Event
:
public
OutputPolicyAfterburner
{
protected:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment