On Wed, 25 Sep 2002, David Sandberg wrote: > Tjena. > > When using Peters mrsgenerate to create kumac files I don't get the > correct values for the magnetic fields in D5. > > Djamel on the other hand does pick up the correct values. > We are both using the same brat version. > > And I don't understand why I should have any problem. The field is picked > up in pc_app/brag/mrsgenerate.cxx as > > BrMagnetVolume* d5 = (BrMagnetVolume*)geometryManager > ->GetDetectorVolume("BrMagnetVolume", "D5"); > d5->SetCurrent(run->GetD5Set(), run->GetD5Pol()); > const Float_t d5field = d5->GetField(); > > Any suggestions David. There is at least 2 differences between your stuff and mine, 1- I'm using root 3.03.09 2- My software is compiled with gcc 3.0.4 Now, it's true that other people (Peter, ...) don't have the same problem. You also used to run the stuff without problem in the past. My suggestion is to recompile your generate progs after having pointed your path and LD_LIBRARY_PATH to /afs/rhic/opt/brahms/new_gcc304/{bin,lib} : in a csh shell, setenv PATH and LD_LIBRARY_PATH to these directories. then go to you acceptance dir, make clean, then type : make CC=gcc3 CXX=g++3 LD=g++3 Try again to run mrsgenerate. Djam > > -- Djamel Ouerdane ------------------------------------------o | Niels Bohr Institute | Home: | | Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, | | Fax: +45 35 32 50 16 | DK-2200 Copenhagen N | | Tel: +45 35 32 52 69 | +45 35 86 19 74 | | http://www.nbi.dk/~ouerdane | | ouerdane@nbi.dk | o---------------------------------------------------------o
This archive was generated by hypermail 2b30 : Wed Sep 25 2002 - 15:12:54 EDT