Message: Primary particle-ion Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Primary particle-ion 

Forum: Particles
Date: 03 Oct, 2016
From: Raushan Kabytayeva <Raushan Kabytayeva>

Hello everybody!
I'm a beginner. 
I'm having problems with the incident particle argon ion(PrimaryGeneratorAction.cc). Could you help me and point my mistakes? Also, is the following  correct(SteppingAction.cc)?
if (       ((aStep->GetPreStepPoint()->GetTouchableHandle()->GetVolume()->GetLogicalVolume() == fDetector->GetLogicalPlate())
        &&  (aStep->GetPostStepPoint()->GetTouchableHandle()->GetVolume()->GetLogicalVolume() == fDetector->GetLogicalGap2())
        &&  (aStep->GetTrack()->GetDynamicParticle()->GetDefinition()->GetParticleName()== "G4_Ar"))  

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/10/03/02.52-76747-PrimaryGeneratorAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/10/03/02.52-58643-SteppingAction.cc

 Add Message Add Message
to: "Primary particle-ion"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]