changed

parent af13ef22
...@@ -25,6 +25,7 @@ B1TrackingAction::~B1TrackingAction() { ...@@ -25,6 +25,7 @@ B1TrackingAction::~B1TrackingAction() {
void B1TrackingAction::PreUserTrackingAction(const G4Track* track) { void B1TrackingAction::PreUserTrackingAction(const G4Track* track) {
//pega o nome da partícula relacionado ao seu TrackID. //pega o nome da partícula relacionado ao seu TrackID.
particle_def = track->GetParticleDefinition(); particle_def = track->GetParticleDefinition();
G4int particle_track = track->GetTrackID();
//const G4String& particle_name = particle_def->GetParticleName(); //const G4String& particle_name = particle_def->GetParticleName();
//se a variável fworldRegio não possui a regiao do mundo, fazer isso //se a variável fworldRegio não possui a regiao do mundo, fazer isso
if(fworldRegion == 0) { if(fworldRegion == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment