Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geant4-projects
cosmic-rays
Commits
29c9a59f
Commit
29c9a59f
authored
Jul 30, 2019
by
MARCOS ANTONIO DE OLIVEIRA DEROS
Browse files
bug solved
parent
cc26d096
Changes
2
Hide whitespace changes
Inline
Side-by-side
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