[Brahms-dev-l] brat version bump AGAIN

From: Kris Hagel <hagel@comp.tamu.edu>
Date: Tue Feb 10 2004 - 18:50:46 EST
Hello,
As per request of FV, I have added the new FS/MRS quality fields of  the 
run DB into the run db framework.  To use them, the average Joe Sixpack 
casual brat user would do (after all of the setup that everyone knows 
how to do) if he has a BrRunInfo* object called runInfo:
Char_t* mrsQuality = runInfo->GetMrsQuality();
Char_t* mrsQualityComment = runInfo->GetMrsQualityComment();
Char_t* fsQuality = runInfo->GetFsQuality();
Char_t* fsQualityComment = runInfo->GetFsQualityComment();

The more advanced user might access directly the db table (ie a BrDbRun 
object called runDb); in that case one would use:
Char_t *mrsQuality = runDb->GetMrsQuality();
etc (there is a symmetry here)

It should be noted that the qualityComment for both mrs and fs seem to 
be not often filled in.  In that case a NULL pointer is returned.  So 
the validity of that variable must be tested before using it.  It also 
appears that the quality field for earlier runs was set to Good.

I also cleaned up some remaining istream stuff according to our gcc3.2 
convention as well as making the cout<< operator work for BrRunInfo (was 
useful to test the new features)

The brat version was bumped to BRAT-2-14-4

Happy brat-ing

Kris

_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Tue Feb 10 18:51:03 2004

This archive was generated by hypermail 2.1.8 : Tue Feb 10 2004 - 18:53:59 EST