Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cosmic-rays
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geant4-projects
cosmic-rays
Commits
29c9a59f
Commit
29c9a59f
authored
Jul 30, 2019
by
MARCOS ANTONIO DE OLIVEIRA DEROS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug solved
parent
cc26d096
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
B1SD.hh
include/B1SD.hh
+2
-1
B1SD.cc
src/B1SD.cc
+4
-0
No files found.
include/B1SD.hh
View file @
29c9a59f
...
...
@@ -22,7 +22,8 @@ public:
G4bool
ProcessHits
(
G4Step
*
step
,
G4TouchableHistory
*
ROhist
);
void
Initialize
(
G4HCofThisEvent
*
HCE
);
//void EndOfEvent(G4HCofThisEvent* HCE);
void
EndOfEvent
(
G4HCofThisEvent
*
HCE
);
private:
B1HitsCollection
*
hitCollection
;
...
...
src/B1SD.cc
View file @
29c9a59f
...
...
@@ -54,3 +54,7 @@ void B1SD::Initialize(G4HCofThisEvent* HCE) {
if
(
HCID
<
0
)
HCID
=
GetCollectionID
(
0
);
HCE
->
AddHitsCollection
(
HCID
,
hitCollection
);
}
void
B1SD
::
EndOfEvent
(
G4HCofThisEvent
*
HCE
)
{
track_id
=
0
;
}
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