Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
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
Container Registry
Model registry
Operate
Environments
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
np
nptool
Commits
194f6642
Commit
194f6642
authored
8 years ago
by
Munken
Browse files
Options
Downloads
Patches
Plain Diff
Added struct for scorer output
parent
c2470c61
No related branches found
No related tags found
1 merge request
!13
Struct for mapping silicon scorer output
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NPSimulation/Core/SiliconScorers.hh
+44
-2
44 additions, 2 deletions
NPSimulation/Core/SiliconScorers.hh
with
44 additions
and
2 deletions
NPSimulation/Core/SiliconScorers.hh
+
44
−
2
View file @
194f6642
...
...
@@ -32,13 +32,27 @@ using namespace std;
using
namespace
CLHEP
;
namespace
SILICONSCORERS
{
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
struct
RectangularOutput
{
double
totalEnergy
;
double
globalTime
;
double
x
;
double
y
;
double
z
;
double
theta
;
double
phi
;
double
detectorNumber
;
double
stripLengthNumber
;
double
stripWidthNumber
;
};
class
PS_Silicon_Rectangle
:
public
G4VPrimitiveScorer
{
public:
// with description
PS_Silicon_Rectangle
(
G4String
name
,
G4int
Level
,
G4double
StripPlaneLength
,
G4double
StripPlaneWidth
,
G4int
NumberOfStripLength
,
G4int
NumberOfStripWidth
,
G4int
depth
=
0
,
G4String
axis
=
"xy"
);
~
PS_Silicon_Rectangle
();
protected:
// with description
G4bool
ProcessHits
(
G4Step
*
,
G4TouchableHistory
*
);
...
...
@@ -74,6 +88,21 @@ namespace SILICONSCORERS {
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
struct
AnnularOutput
{
double
totalEnergy
;
double
globalTime
;
double
x
;
double
y
;
double
z
;
double
theta
;
double
phi
;
double
detectorNumber
;
double
stripRingNumber
;
double
stripSectorNumber
;
double
stripQuadrantNumber
;
};
class
PS_Silicon_Annular
:
public
G4VPrimitiveScorer
{
public:
// with description
...
...
@@ -120,6 +149,19 @@ namespace SILICONSCORERS {
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
struct
ResistiveOutput
{
double
upstreamEnergy
;
double
downstreamEnergy
;
double
globalTime
;
double
detectorNumber
;
double
stripWidthNumber
;
double
x
;
double
y
;
double
z
;
double
theta
;
double
phi
;
};
class
PS_Silicon_Resistive
:
public
G4VPrimitiveScorer
{
public:
// with description
...
...
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