Message: How can I extract "Stopping power" using SensitiveDetector? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How can I extract "Stopping power" using SensitiveDetector? 

Forum: Biasing and Scoring
Date: Nov 22, 23:15
From: Kyuwon Jung <Kyuwon Jung>

Dear All experts,

Hi experts. I succeeded to extract "Kinetic Energy" using the following code

> G4double KE = aStep->GetPostStepPoint()->GetKineticEnergy();
> G4cout << "KE:" << KE/MeV << G4endls;
>
> G4String ParName = aStep->GetTrack()
>                    ->GetParticleDefinition()->GetParticleName();
>
> if(ParName == "proton")
> {
>   ofs << KE/MeV << G4endl;
> }

and finished make "KE.out" file too.

Now, I would like to extract "Stopping power" and make it a file, but I have no idea how.

Could you help me to make "Stopping power" data?

Always thank experts,

Kyuwon Jung

 Add Message Add Message
to: "How can I extract "Stopping power" using SensitiveDetector?"

 Subscribe Subscribe

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