From: Kris Hagel (hagel@comp.tamu.edu)
Date: Thu Oct 31 2002 - 10:54:14 EST
This has nothing to do with your problem (probably), but I am wondering why you (as well as a number of others) insist on doing d5->SetCurrent(run->GetD5Set(), run->GetD5Pol()); in your code. Those exact statements are done in BrMagnetVolume and doing them in your code adds extra room for bugs and confusion. The only requirement is that the proper run has been selected. If you do not do your above run and things don't work, then something else is wrong anyway. Kris David Sandberg wrote: >As far as I can see, the acc maps are correct. When creating the kumac >files you enter a run number to get the different settings. This all >comes from brahms_app/pc_app/brag/mrsgenerate.cxx. Here the values are >picked up in > > BrRunInfoManager* runMan = BrRunInfoManager::Instance(); > runMan->Register(runOption->GetValue()); > runMan->Init(); > runMan->Update(); > const BrRunInfo* run = runMan->GetCurrentRun(); > > BrGeometryDbManager *geometryManager = > BrGeometryDbManager::Instance(); > geometryManager->SetDbModeMySQL(); > > // > // magnet volumes and fields > // > BrMagnetVolume* d5 = (BrMagnetVolume*)geometryManager > ->GetDetectorVolume("BrMagnetVolume", "D5"); > d5->SetCurrent(run->GetD5Set(), run->GetD5Pol()); > const Float_t d5field = d5->GetField(); > >and so forth. So if I am not totally wrong the rundb should be correct. > >David. > >On Thu, 31 Oct 2002, Flemming Videbaek wrote: > > > >>re: >> >> >> >>>I have used run 5772 to create acc maps for 30 deg. These maps do not >>>agree with data from 30 deg. The bananas overlap, but do not match. By >>>doing a quick analysis I have found out that the maps are created for 30 >>>deg but the dsts have names from runs for 30 deg, but contains data that >>>seems to come from 35 deg. >>> >>>I suggest these dsts be removed and the correct ones to be created. >>>If I recall correctly, this has been a problem before. >>> >>> >>Is this a problem in the rundata base, in the geometry database or in the >>executions of the jobs? >> >>The action of correction depends on the answer >> >> >> >> >> >> >> > > >
This archive was generated by hypermail 2.1.5 : Thu Oct 31 2002 - 10:54:54 EST