Hi BRATs,
I've updated BRAT:
Version: 2.2.5
CVS tag: BRAT-2-2-5
This update introduces what I outlined the other day:
1) BrAppOption and subclasses automatically adds themselves to the
singleton BrAppOptionManager object - that is, no need to send the
message BrAppOptionManager::AddOption - in fact it will generate a
warning.
2) BrAppIntOption, BrAppFloatOption and BrAppStringOption can take
multiple values. That is, you can specify many runs as
bratmain <config> -r <run1> -r <run2> ...
and process these values like
for (Int_t i = 0; i < runOption->GetNValues(); i++) {
cout << runOption->GetValue(i) << endl;
3) Introducing the concept of file sets. This is a bit hairy, but I'll
try to outline it.
4) BrModule::Info(Int, const char*, const char*, ...)
BrModule::Debug(Int, const char*, const char*, ...) method for
pretty-printing verbosity and debug messages.
I've also updated 'The Guide' to reflect these changes.
Form the ChangeLog:
-------------------
2001-12-14 Christian Holm Christensen <cholm@rcas0014.rcf.bnl.gov>
* test/TestEventManager.cxx, modules/util/BrVertexFilter.cxx, modules/util/BrMainModule.cxx, modules/util/BrHeaderModule.cxx, modules/test/TestTrigger.cxx, modules/test/TestGeantIO.cxx, modules/rdo/BrTileRdoModule.cxx, modules/digitize/BrSiDigModule.cxx, doc/guide/.cvsignore, applications/dump/dumpgeantfile.cxx, applications/dump/dumpdigfile.cxx:
Updated for new BrModule::Info method
* modules/util/BrTriggerFilter.cxx, modules/util/BrTriggerFilter.h:
Added some statistics output to finish, and some extra doc.
* modules/raw/BrRawDataInput.cxx, modules/io/BrOutputTreeModule.h, modules/io/BrOutputTreeModule.cxx, modules/io/BrHistIOModule.h, modules/io/BrHistIOModule.cxx, modules/io/BrGeantInput.cxx, modules/io/BrEventIO.cxx:
Modified the classes to allow the concept of file set, introduced via
BrIOModule. Also use new Info method rather than explicit
if (Verbose() > 4)
cout << "Opening file ladida" << endl;
* modules/abc/BrIOModule.cxx, modules/abc/BrIOModule.h:
Introduced the concept of file sets. This allows a tighter coupling
between DAQ runs and sequences to Run and Job levels in BRAT. It's
documented in 'The Guide' ass well as in the class documentation.
Basically I added the methods
AddFileSet(const TObjArray*)
AddfileSet(const Char_t*, const Char_t*)
and redefined the methods
Init, Begin, Event, End, FInish, and AddFile.
* modules/abc/BrModuleContainer.cxx, modules/abc/BrModuleContainer.h:
Removed the method Info(void) due to the introduction of other methods in
BrModule.
* modules/abc/BrModule.cxx, modules/abc/BrModule.h:
Removed the Info(void) method, since it's been obsolted by Print(Option_t*)
for while now. Instead I've added the methods
Info(Int_t,const Char_t*, const Char_t*, ...)
Debug(Int_t,const Char_t*, const Char_t*, ...)
for printing information and debug messages to stderr.
* managers/BrAppOptionManager.h, managers/BrAppOptionManager.cxx, managers/BrAppOption.h, managers/BrAppOption.cxx:
BrAppOption sublcasses now adds them selves to BrAppOptionManager
automatically. Also, the int, float, and string option class can now
hold multiple values. It's all fairly well documented in 'The Guide'.
* help/brat-help.el, help/brat-help-elisp.html:
Updated brat-insert-option function for new BrAppOption stuff, and removed
HTML documetnation since it is in the BRAT guide now.
* doc/guide/iomodules.fig, doc/guide/bratguide.tex, doc/guide/Makefile.am:
Added an inheritance diagram for BrIOModule, and added some information on IO
modules. Also updated the documentation on BrAppOptionManager and
BrAppOption.
Yours,
Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
DK-2200 Copenhagen N Cell: (+45) 28 82 16 23
Denmark Office: (+45) 353 25 305
Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b30 : Fri Dec 14 2001 - 11:20:31 EST