GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » MC true match with geant4
Re: MC true match with geant4 [message #15711 is a reply to message #15632] Tue, 12 November 2013 18:27 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Please try the following:

in your sim macro add the following lines after FairRunSim:

FairParticle *pbarp = new FairParticle(88888,"pbarpSystem",kPTUndefined,1.9,0,0);
fRun->AddNewParticle(pbarp);


You should see some warnings with G4, but the simulation does not crash. Most probably you need to do the same with your analysis macro.
Please tell me if it works and if the results are reasonable.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reco error at Geant4 simulation
Next Topic: Difference of neutral candidate between Geant4 and Geant3
Goto Forum:
  


Current Time: Fri Oct 04 20:58:23 CEST 2024

Total time taken to generate the page: 0.00700 seconds