GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » [Solved]Problem with PndEvtGenDirect
Re: Problem with PndEvtGenDirect [message #12217 is a reply to message #12216] Wed, 06 July 2011 10:35 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
Hi,
first of all, your macro is "very" old, muon and dirc detectors have changed the initialization. You could take a look into macro/run/tdrct macros.

  PndMdt *Muo = new PndMdt("MDT",kTRUE);
  Muo->SetBarrel("fast");
  Muo->SetEndcap("fast");
  Muo->SetMuonFilter("fast");
  Muo->SetMdtMagnet(kTRUE);
  Muo->SetMdtMFIron(kTRUE);
  fRun->AddModule(Muo);

  PndDrc *Drc = new PndDrc("DIRC", kTRUE);
  Drc->SetGeometryFileName("dirc_l0_p0.root");
  Drc->SetRunCherenkov(kFALSE); // for fast sim Cherenkov -> kFALSE
  fRun->AddModule(Drc);


Second. The problem is when you are storing the original EvtGen tree. Are you seeing many messages such as:
 -W FairPrimaryGenerator: PDG code 88888 not found in database. This warning can be savely ignored.


?
This means that the StoreTree is on, maybe because you are using an old version of the code as your run_sim shows.
The command:

EvtGen->SetStoreTree(kFALSE);


should prevent those entries.
However, those tracks are not reconstructed, you will see them in MCTrack but never in the detectors, they should be quite harmless.
 
Read Message
Read Message
Read Message
Previous Topic: Group velocity for Cherenkov photon propagation in G3/G4
Next Topic: dipole field in Geant4
Goto Forum:
  


Current Time: Thu Apr 18 11:36:57 CEST 2024

Total time taken to generate the page: 0.01032 seconds