Go to the source code of this file.
Definition at line 1 of file gconfig/DecayConfig.C.
References TString.
8 TPythia6Decayer* decayer = TPythia6Decayer::Instance();
12 decayer->SetForceDecay(TPythia6Decayer::kAll);
38 gMC->SetExternalDecayer(decayer);
40 TPythia6& pythia6 = *(TPythia6::Instance());
46 const Int_t npartnf = 9;
48 Int_t pdgnf[npartnf] = {13,-13,211,-211,321,-321,130, 3312, 443};
49 for ( Int_t ipartnf = 0; ipartnf < npartnf; ipartnf++ ) {
50 Int_t ipdg = pdgnf[ipartnf];
52 if (
TString(gMC->GetName()) ==
"TGeant3") gMC->SetUserDecay(ipdg);
54 pythia6.SetMDCY(pythia6.Pycomp(ipdg),1,1);
65 const Int_t nparthq = 3;
68 Int_t pdghq[nparthq] = {421,3122,-3122};
69 for ( Int_t iparthq = 0; iparthq < nparthq; iparthq++ ) {
70 Int_t ipdg = pdghq[iparthq];
71 if (
TString(gMC->GetName()) ==
"TGeant3") gMC->SetUserDecay(ipdg);
72 pythia6.SetMDCY(pythia6.Pycomp(ipdg),1,1);