Message: Re: where is the particle table? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: where is the particle table? 

Forum: Particles
Re: Sad where is the particle table? (yicong liu)
Date: 30 May, 2016
From: Gumplinger Peter <Gumplinger Peter>

#include "G4ParticleTable.hh"
#include "G4ParticleDefinition.hh"

G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* particle
  = particleTable->FindParticle(particleName="gamma");

http://www-geant4.kek.jp/lxr/source/examples/basic/B1/src/B1PrimaryGeneratorAction.cc#L54

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: where is the particle table?   (yicong liu - 30 May, 2016)
1 Feedback: Re: where is the particle table?   (Gumplinger Peter - 31 May, 2016)
2 More: Re: where is the particle table?   (Michael H. Kelsey - 31 May, 2016)
 Add Message Add Message
to: "Re: where is the particle table?"

 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 ]