GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Running Pythia input on Geant4 not working
Re: Running Pythia input on Geant4 not working [message #13759 is a reply to message #13726] Mon, 16 July 2012 12:27 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo Raghav,

In your Pythia reader you have to select only stable particles to be transported i.e.:

             ncols = fscanf(fInputFile,"%d %d %d %d %d %f %f %f %f %f %f %f", &nLev, &pdgID, &nM1, &nDF, &nDL, &fPx, &fPy, &fPz, &fE, &fVx, &fVy, &fVz);
             if(nLev==1)  primGen->AddTrack(pdgID, fPx, fPy, fPz, fVx, fVy, fVz);



otherwise you can have the case that Geant4 does not know your intermediate particle and thus cannot transport it. In case you need to have the intermediate particles in your stack without transporting them, this is possible but this is another topic now. (In Panda they use this option)


regards,

Mohammad
 
Read Message
Read Message
Read Message
Previous Topic: Units for geometry in .geo files and in root. And FairDetectorPoint questions
Next Topic: Looking at all the events simultaneously in Event display
Goto Forum:
  


Current Time: Thu Apr 25 11:28:55 CEST 2024

Total time taken to generate the page: 0.01012 seconds