Hi Flemming, Djamel and others, On Wed, 08 Aug 2001 20:40:19 -0400 Flemming Videbaek <videbaek@sgs1.hirg.bnl.gov> wrote concerning ": Re: brief brat calibration tutorial": > Hi let me add a few words, > > > a) Thesefirst two week period is a testing of the startup on > rcas0005; if there are problems the DB (i.e calib, main and > geometry) may be cleaned out and restrated. Hopefully this does > not become necessary. Lets' hope not. > b) In the list below I think that you also must use > > if (!mainDb->ConnectToCalib("query")) // connect to the calibration > > return; // database No you don't have to. In fact I would strongly discourage that, as I would also discourage you from explicitly stating the user name on RUNDB@pii3. Instead use ~/.bratdbrc (more details given in the class documentation of BrDb). If you really REALLY want to have an explicit user name in your script, I strongly encourage you to make an option BrAppStringOption* rundbuserOption = new BrAppStringOption('U', "rundb-user", "User name at the run db", "query"); optionManager->AddOption(maindbuserOption); [This was inserted in the mail by doing M-x brat-insert-option - yes, I'm using Emacs to read/write mails - ofcourse :-] and then have if (!mainDb->ConnectToRun(rundbuserOption->GetValue())) return; > Otherwise I trust the default is brahmlib (as least as of 10 days ago); Not as far as I remember. The default is to prompt the user if no appropiate user is found in the ~/.bratdbrc. > You should also have the .bratdbrc in $HOME set properly for query > as a local knowledgeable person what the password - otherwise the > description for Djam is a good intro (should be added to the Brat > guide - yes pelase) Exactly my thoughts. Djam could you please add this to The Guide (brat/doc/guide)? I trust you know how to write LaTeX (not Word, RTF, HTML, XML, SGML, PostMill, FrontPage or other wierd formats - only good old (ca. 1985) - but still far better than anythinge else - LaTeX!!!) In general, I'd like to encourage people to add such stuff to The Guide, tough I'd prefer if you'd be so kind as to send a draft (in LaTeX) to Kris, Flemming and me, so that we may catch misunderstandings and so on. If you're uncomfortable with LaTeX (uh?), then please send an ASCII (not Word, RTF, HTML, XML, SGML, PostMill, FrontPage or other wierd formats) text instead, and we'll include it at a later date. I (at least) will not read anything written in any other format than ASCII or LaTeX (Plain TeX included). Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b30 : Thu Aug 09 2001 - 04:17:58 EDT