GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » Bremsstrahlung and geant
Re: Bremsstrahlung and geant [message #11070 is a reply to message #11066] Thu, 07 October 2010 11:37 Go to previous messageGo to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
So coming back to the issue of the
Bremsstrahlung processes by electrons.

If i have well understood, in geant4/3 electrons are treated as mother particle(primary or secondary) losing energy
according with the Bremsstrahlung process and emitting photons.

So the electron in MCtrack should remain as mother particle and the photons are treated as secondaries.


To check that,
use the following

for example the pdgcode of the mother and daughter particles
in geant4


From your MC information
PndEmcPoint * pop;

PndMCTrack* moc=(PndMCTrack*)fMcTr->At(pop->GetTrackID());

if(moc==0)continue;

MotherId= moc->GetMotherID();

if (MotherId==-1)Motherpdg = moc->GetPdgCode(); // case electron as primary mother
else {
PndMCTrack *mother =(PndMCTrack*)fMcTr->At(MotherId); // case electron as secondary mother

Motherpdg = mother->GetPdgCode();
}

See :
http://geant4.cern.ch/G4UsersDocuments/UsersGuides/PhysicsReferenceManua l/html/node42.html#SECTION04422000000000000000
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get step by step information with TGeant4.
Next Topic: values in gconfig
Goto Forum:
  


Current Time: Fri Mar 29 11:09:44 CET 2024

Total time taken to generate the page: 0.00857 seconds