Go to the source code of this file.
Definition at line 1 of file UserDecay.C.
References mode, and p.
2 cout <<
"Loading User Decay Config from macro"<< endl;
3 TDatabasePDG *db= TDatabasePDG::Instance();
8 Int_t AlphaPDG, He5PDG;
9 p= db->GetParticle(
"Alpha");
10 if(p) AlphaPDG=p->PdgCode();
11 p=db->GetParticle(
"He5");
13 if(p) He5PDG=p->PdgCode();
14 for (Int_t kz = 0; kz < 6; kz++) {
23 mode[0][1] =AlphaPDG ;
30 gMC->SetDecayMode(He5PDG,bratio,mode);