GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Field maps in Macros
Re: Field maps in Macros [message #9963 is a reply to message #9952] Fri, 15 January 2010 14:34 Go to previous messageGo to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Dear collegues,

After the refresh the pandaroot v7467, /macro/run/sim_complete_tpc.C
and /macro/emc/sim_emc.C are tested, but they simply doesn't work due to magnet field.
The field definition have been already replaced as you recommended.

fRun->SetBeamMom(15);
PndMultiField *fField= new PndMultiField("FULL");
fRun->SetField(fField);

If I exclude magnet field in the script, everything looks fine.
Please check macro, specially the part of magnet accessing.

Thank you in advance.

Quote:


============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
-I- FairGeoMedia Read media
-I container name PndEmcDigiPar

*************************************************************
initialisation for run id 1890884962
*************************************************************
PndEmcDigiPar initialized from Ascii file
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/TransMap.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/DipoleMap1.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/DipoleMap2.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/SolenoidMap1.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/SolenoidMap2.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/SolenoidMap3.root
-I- PndFieldMap: Reading field map from ROOT file /home/donghee/GSI/pandaroot/input/SolenoidMap4.root
create PndFieldPar container PndMultiFieldPar
create PndFieldPar container PndTransPar
create PndFieldPar container PndDipole1Par
create PndFieldPar container PndDipole2Par
create PndFieldPar container PndSolenoid1Par
create PndFieldPar container PndSolenoid2Par
create PndFieldPar container PndSolenoid3Par
create PndFieldPar container PndSolenoid4Par

*** Break *** segmentation violation
Attaching to program: /proc/26895/exe, process 26895
[Thread debugging using libthread_db enabled]
[New Thread 0xb6bdc6c0 (LWP 26895)]
0xb7fac410 in __kernel_vsyscall ()
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/26895/exe, process 26895
Root > Function sim_complete_tpc() busy flag cleared







[Updated on: Fri, 15 January 2010 14:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pandaroot feb10 release
Next Topic: [FIXED] problem with GEANT4 materials
Goto Forum:
  


Current Time: Sun Apr 14 09:21:46 CEST 2024

Total time taken to generate the page: 0.00999 seconds