GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Crash in PndDpmDirect
items: Re: Crash in PndDpmDirect

Crash in PndDpmDirect
type: item
description: Hi, while playing around with PndDpmDirect I encountered a crash when using mode 1 or 2 (i.e. elastic scattering). The (to a minimum reduced) code I used was run_test() { gROOT->LoadMacro("$VMCWORKDIR/gconfig/rootlogon.C"); rootlogon(); FairRunSim *fRun = new FairRunSim(); FairPrimaryGenerator* primGen = new FairPrimaryGenerator(); fRun->SetGenerator(primGen); PndDpmDirect *dpmGen=new PndDpmDirect(10.0,1); primGen->AddGenerator(dpmGen); } leading to a segmentation violation. This example works w/o crash with mode=0, but under particular conditions I also found it crashing in that case. Does somebody have an idea what's going wrong? Thanks, Klaus
creator: Klaus Götzen
date: 2010-02-18T14:58:47-00:00

Re: Crash in PndDpmDirect
type: item
description: Maybe you should set thetamin. This is not propagated in the PndDpmDirect class, but you could try to create your own dpm root file, and then to load it with PndDpmEvtGenerator. If it works, then it is a matter of this missing thetamin.
creator: StefanoSpataro
date: 2010-02-18T15:05:13-00:00