Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Proyecto de Maestria Yessica
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Yessica Dominguez
Proyecto de Maestria Yessica
Commits
bced06ac
Commit
bced06ac
authored
2 years ago
by
Yessica Dominguez
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
923a6492
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
CODE/PrimarySpectrum.hh
+67
-0
67 additions, 0 deletions
CODE/PrimarySpectrum.hh
with
67 additions
and
0 deletions
CODE/PrimarySpectrum.hh
0 → 100644
+
67
−
0
View file @
bced06ac
#ifndef PrimarySpectrum_h
#define PrimarySpectrum_h 1
//Geant libraries
//
#include
"globals.hh"
#include
"G4ThreeVector.hh"
// c++ libraries
//
#include
<math.h>
#include
<iostream>
#include
<fstream>
#include
<vector>
#include
<stdlib.h>
#include
<string>
#include
<iomanip>
class
PrimarySpectrum
{
public:
PrimarySpectrum
();
~
PrimarySpectrum
();
void
primaryPosition
();
G4ThreeVector
particlePosition
;
G4ThreeVector
particleDirection
;
G4String
parId
;
void
primaryMomento
();
private:
G4double
pi
;
G4double
Ro
;
G4double
initx
;
G4double
inity
;
G4double
initz
;
G4double
r
;
G4double
phi
;
G4double
rphi
;
G4int
signo1
;
G4int
signo2
;
G4int
crkId
;
G4double
px
;
G4double
py
;
G4double
pz
;
G4double
x
;
G4double
y
;
G4double
z
;
G4int
shwId
;
G4int
prmId
;
G4double
prmEner
;
G4double
prmThe
;
G4double
prmPhi
;
G4double
condicion
;
//std::ifstream inputFile;
int
openFile
(
char
*
);
FILE
*
inFile
=
NULL
;
};
#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