GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Cherenkov photons generation (FairBoxGenerator) updated!
Re: Cherenkov photons generation (FairBoxGenerator) [message #10943 is a reply to message #10941] Sat, 21 August 2010 12:35 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *236-95-r.retail.telecomitalia.it
Hi,
to have cherenkov photons you should use pid code "50000050", and not "22". But I suppose you could have interaction to materials (i.e. air), if you shoot it from 0,0,0.
Your crash could be due to the fact that cherenkov propagation maybe is switched off by deafult. Please check your gconfig/g3Config.C and be sure that geant3->SetCKOV(1) is ON.

To change the particle vertex, you can just check wiki, on event generators -> uniform generator:

boxGen->SetXYZ(0., 0., 0.);       // vertex coordinates [cm]


If you have still problem, maybe it is better to tell exactly which macro are you using, your changes, so that it is possible to crosscheck your crashes.

Bye
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: daily doxygen - genfit missing
Next Topic: Setting detector component colors in Geant (4)
Goto Forum:
  


Current Time: Sun Apr 28 23:11:30 CEST 2024

Total time taken to generate the page: 0.00782 seconds