Version 1.4
@ Updated DAQ simulation so that it now uses the database to set the relevant
control parameters (see DAQ.ratdb---documentation coming very soon!). So, for
example, if you would like to change the trigger threshold, you can add to your
macro
/rat/db/set DAQ nhit_thresh 100.0
which will set the threshold to 100 hits. Currently, we only have an `NHIT'
trigger, but a `charge sum' trigger is on its way...
(By the way, adding things to and using RATDB was amazingly easy).
date 2005.11.09.00.35.33; author jrk; state Exp;
Version 1.3
@Capture cout and cerr output by linking our own custom version of these
objects to the rat application and overriding the system library
versions. This redirects all C++ style output, via cout/cerr or
G4cout/G4cerr, in the entire application (including GEANT4 and GLG4sim
parts) through the RATLog system. Old C-style I/O through the
stdout/stderr file handles will go direct still, but no one should be
doing that. (Except RATLog itself, which uses stdio to avoid circularity.)
By default cout goes to the "info" stream and cerr goes to the "warn"
stream.
This all amazingly "just works" on Linux, but Solaris requires a few
extra linker flags in the Makefile.
date 2005.10.25.20.15.52; author volsung; state Exp;
Version 1.2
@Logging enabled in RAT now, though almost nearly nothing uses it yet. New
command line options to control the logging. Run rat -h to see what they
do. Default logfile is "rat.log".
date 2005.09.21.02.06.36; author volsung; state Exp;
Version 1.1
@Logging implementation to make it easy to output to screen and logfile
with varying detail at the same time. Makes use of STL+ multiio class
to output to two places at once.
Tested using unit tests, but not yet integrated into RAT. Need to add
command line options to select log file and verbosity levels.
date 2005.09.20.20.21.39; author volsung; state Exp;
Matthew Worcester Last modified: Tue Nov 8 18:36:00 CST 2005