charged geantino [message #11091] |
Wed, 13 October 2010 10:07 |
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
|
|
|