GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Geantino?
Re: Geantino? [message #5845 is a reply to message #5831] Mon, 11 February 2008 11:11 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hi Tobias,

The geantino (actually we use the rootino) can be accessed via the PDG number 0. in the simualtion.
  //ROOTino
  CbmBoxGenerator *fBox1 = new CbmBoxGenerator(0, 1);

To give you the right feeling try to check inside root:
root [0] TDatabasePDG* pdgBase = TDatabasePDG::Instance()
root [1] TParticlePDG *particle = pdgBase->GetParticle(0)
root [2] particle->GetName()
(const char* 0x8466b18)"Rootino"
root [3] particle->Charm()
(const Int_t)(0)
root [4] particle->Charge()
(const Double_t)0.00000000000000000e+00
root [5] particle->Lifetime()
(const Double_t)0.00000000000000000e+00
root [6] particle->Mass()
(const Double_t)0.00000000000000000e+00
root [7] particle->Width()
(const Double_t)0.00000000000000000e+00
root [8] particle->Stable()
(const Int_t)(1)
root [9] particle->ParticleClass()
(const char* 0x84652c8)"Unknown"
root [10] particle->Spin()
(const Double_t)0.00000000000000000e+00
root [11] particle->Parity()
(const Int_t)(0)

...


Greetings from Dresden,
Ralf.

[Updated on: Mon, 11 February 2008 11:16]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: svn and our policies
Next Topic: PdgCode > 1000000000 ?
Goto Forum:
  


Current Time: Mon Apr 29 01:50:42 CEST 2024

Total time taken to generate the page: 0.00958 seconds