BRAT Monitor Improvements

From: Kris Hagel (hagel@CyclotronMail.tamu.edu)
Date: Fri May 05 2000 - 16:18:03 EDT

  • Next message: videbaek: "TOFW geometry and Geant"

    Hello,
    We have done a lot of work in the last few days
    regarding the online monitor for BRAHMS.  This
    Message details some of the enhancements that were  
    made.
    
    1. Alv found two elusive bugs in the BrRawDataInput. 
       One is the one that caused the monitor to hang after
       a little while.  The other caused it to crash
    after      a semi-large number of events.  These are now
    fixed
       and have been shown to work for long periods of   
       time.
    
    2. BrBaseMonitor was split into a BrBaseMonitor and a
       BrDetectorMonitor.  The reason for this was that
       BrBaseMonitor and BrSuperMonitor had a large amount
       of redundant code which resulted in having to fix 
       bugs twice.  Once is more than enough for me.  So
       BrDetectorMonitor and BrSuperMonitor now inherit
       from BrBaseMonitor.  The upshot is that all detector
       monitors must now inherit from BrDetectorMonitor  
       instead of BrBaseMonitor.  Leaving them inheriting 
       from BrBaseMonitor will break the code.
    
    3. One can now use the command line in ROOT after
       launching a BrDetectorMonitor or a BrSuperMonitor.
    
    4. One can specify the event rate up to and including
       either the maximum that the event builder can 
       return or that the computer is capable of analyzing  
       for a given load.  This could be useful if we figure 
       out during data taking that we are saturating the 
       network reading events in at full titlt.  The 
       method implemented to accomplish
       this is BrBaseMonitor::SetTargetEventRate(rate)
    
    5. Alv implemented a title header in pictures in the
       monitor.  This labels the pictures and gives the
       time they were generated.
    
    6. Scatter plots have been improved, but still need more
       work.
    
    7. A scheme has been generated for saving the arrays in
       a root file in a way that they can be easily read 
       in a ROOT session without starting the monitor. 
    One     can pick and choose which arrays to be read to
    the  
       monitor.  The way to use this is:
       a) Put the statement OpenMonitorArrayFile() in 
          the beginning of Init() method in the   
          DetectorMonitor object.
       b) For the arrays you wish to have saved in this
          file, replace h = new TH1F(...) with 
          h = NewTH1F(...)
       c) Make sure you use the Exit Root button on the 
          monitor console to exit root or else the arrays 
          will not be saved.
    
    I have changed all of the detector monitors in the
    repository to reflect these changes.  If you have a
    monitor out which is not in the repository, you will
    need to make these changes.  Let me know if you have
    any problems with these changes.
    
        Regards
    
        Kris
    



    This archive was generated by hypermail 2b29 : Fri May 05 2000 - 16:21:21 EDT