GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » charged geantino
charged geantino [message #11091] Wed, 13 October 2010 10:07 Go to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Dear collegues,

Does anyone know how charged geantino with positive and negative charge can be introduced serarately in the simulation?

The CbmParticle doesn't exist and is replaced with FairParticle.
How can I put this FairParticle into Boxgenerator?

Someone suggests that I can use TParticlePDG via...
Quote:


Int_t pdg;
TDatabasePDG *db= TDatabasePDG::Instance();
TParticlePDG *p=0;
p=db->GetParticle("chargedGeant");
if(p) pdg = p->PdgCode();



But pdg is always equal to zero 0, and just points to rootino.
and doesn't contain any charge info with this method.

Do you have some experience for usage of charged/neutral geantino in pandaroot and can surely distinguish from rootino with certain method?

Have a nice day!

Best regards,
Donghee




 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dlopen error
Next Topic: New external packages (jan12)
Goto Forum:
  


Current Time: Sun Apr 21 13:31:23 CEST 2024

Total time taken to generate the page: 0.01191 seconds