GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » GEANE: Propagate to Plane not implemented
Re: GEANE: Propagate to Plane not implemented [message #7422 is a reply to message #7418] Wed, 15 October 2008 19:00 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi Tobias,
I had a look at the code and here is what I found:

1) in the task the fPro->PropagateFromPlane(startU, startV) is missing;

2) GEANE does not see any magnetic field since in the simulation macro runSimMvd.C the lines to save the magnetic field to the parameter file are missing.

After getting the RuntimeDataBase:
CbmRuntimeDb *rtdb=fRun->GetRuntimeDb();
Bool_t kParameterMerged=kTRUE;
CbmParRootFileIo* output=new CbmParRootFileIo(kParameterMerged);
output->open(parOutput.Data(),"RECREATE");
rtdb->setOutput(output);


These lines should be added:
PndMultiFieldPar* fieldPar = (PndMultiFieldPar*) rtdb->getContainer("PndMultiFieldPar");
if ( fField ) { fieldPar->SetParameters(fField); }
fieldPar->setInputVersion(fRun->GetRunId(),1);
fieldPar->setChanged();


In this way GEANE can find the field.

I attach some results I got with this change:
res_withB and res_withoutB are the simple GEANE - MonteCarlo x coordinate; pull_withB and pull_withoutB are the pull distributions.

Ciao,
Lia.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Materials and radiation lengths in pandaroot
Next Topic: PndFlatParticleGenerator
Goto Forum:
  


Current Time: Mon Apr 29 10:58:11 CEST 2024

Total time taken to generate the page: 0.00904 seconds