Message: Re: Energy Desposited Not scientifically Ok !!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Re: Energy Desposited Not scientifically Ok !!! 

Forum: Event and Track Management
Re: Sad Energy Desposited Not scientifically Ok !!! (Medoo Saudi)
Re: None Re: Energy Desposited Not scientifically Ok !!! (Artem Zontikov)
Re: None Re: Energy Desposited Not scientifically Ok !!! (Medoo Saudi)
Date: 15 Nov, 2015
From: Medoo Saudi <Medoo Saudi>

I have defined kinetic energy as following :

      G4Track* track         = step->GetTrack();
      G4double kinEnergy     = track->GetKineticEnergy();

and here how I define the effects , and at the moment I just consider compton effect in physicslist ..

void PhysicsList::ConstructEM()
{
  G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
  theParticleIterator->reset();
  while( (*theParticleIterator)() ){
    G4ParticleDefinition* particle = theParticleIterator->value();
    G4String particleName = particle->GetParticleName();

    if (particleName == "gamma") {

    //ph->RegisterProcess(new G4PhotoElectricEffect, particle);
        ph->RegisterProcess(new G4ComptonScattering,   particle);
    //ph->RegisterProcess(new G4GammaConversion,     particle);

    } 

but I still getting unexpected energies which make me really confusing and not know where the wrong comes from and how to fix this issue

any help is appreciated .

 Add Message Add Message
to: "Re: Energy Desposited Not scientifically Ok !!!"

 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 ]