GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] TransMap_Half.0406.root does not exist
[FIXED] TransMap_Half.0406.root does not exist [message #18345] Mon, 06 July 2015 14:09 Go to next message
Jennifer Pütz is currently offline  Jennifer Pütz
Messages: 47
Registered: April 2015
Location: FZ Juelich
continuous participant
From: *ikp.kfa-juelich.de
Hi everyone,

I tried to simulate 1000 events of pbar p -> Xi- + Xi+ with a beam momentum of 3 GeV/c using the standard sim_complete.C macro.
But the simulation breaks with the message

[INFO ] PndFieldMap: Reading field map from ROOT file /private/puetz/fairsoft_mar15/pandaroot.trunk/input/TransMap_Half.0406.r oot
Error in <TFile::TFile>: file /private/puetz/fairsoft_mar15/pandaroot.trunk/input/TransMap_Half.0406.r oot does not exist
[ERROR ] -E- PndFieldMap::ReadRootfile: Cannot read from file!
Fatal in <PndTransMap::ReadRootFile>: Cannot read from file

When I try to run the same number of events with a beam momentum of 2.99 GeV/c it works.
Is there a reason why the file does not exist?

I'm using:

FairSoft: Mar15
FairRoot: Master
PandaRoot: Trunk rev. 27984

Cheers

Jenny

[Updated on: Tue, 07 July 2015 12:37] by Moderator

Report message to a moderator

Re: TransMap_Half.0406.root does not exist [message #18347 is a reply to message #18345] Mon, 06 July 2015 14:16 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 91.253.38*
Are you using the option HALF? Half field is valid only for p<3GeV/c.
Re: TransMap_Half.0406.root does not exist [message #18349 is a reply to message #18345] Mon, 06 July 2015 14:24 Go to previous messageGo to next message
Jennifer Pütz is currently offline  Jennifer Pütz
Messages: 47
Registered: April 2015
Location: FZ Juelich
continuous participant
From: *ikp.kfa-juelich.de
Hi Stefano,

it seems that I'm not using the option HALF. I tried to run the macro with 3.01 GeV/c and 6.2 GeV/c and it works. I attached the sim_complete macro.
Re: TransMap_Half.0406.root does not exist [message #18350 is a reply to message #18349] Mon, 06 July 2015 14:32 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 91.253.38*
Most probably it is a problem of rounding. Try with FULL instead of AUTO. I cannot reproduce your problem now.
Re: TransMap_Half.0406.root does not exist [message #18352 is a reply to message #18350] Mon, 06 July 2015 15:00 Go to previous messageGo to next message
Jennifer Pütz is currently offline  Jennifer Pütz
Messages: 47
Registered: April 2015
Location: FZ Juelich
continuous participant
From: *ikp.kfa-juelich.de
This works. Thanks a lot!
Re: TransMap_Half.0406.root does not exist [message #18353 is a reply to message #18352] Mon, 06 July 2015 16:38 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
I found the inconsistency and fixed it.
If now you update your field folder and recompile, AUTO will work also for 3 GeV/c.
Previous Topic: [Fixed] PndMvdStripHitProducer undeclared function
Next Topic: [FIXED] cmake error while installing pandaroot latest trunk version.
Goto Forum:
  


Current Time: Fri Mar 29 08:57:48 CET 2024

Total time taken to generate the page: 0.00903 seconds