general data analysis

From: Timothy Smith (tim_smith@mit.edu)
Date: Tue Jul 16 2002 - 23:51:38 EDT


Hello BLASTers,

        1) The data is being moved over to the spuds automatical
every 10 minutes or so.

        2) by adding the following lines to your .login

        setenv HOST2 "`hostname -s`"
        switch("`cat /etc/redhat-release`")
               case 'Red Hat Linux release 7.0 (Guinness)'
                echo "blast"
                setenv LD_LIBRARY_PATH .:$ROOTSYS/lib/:/home/blast/blast/lib/blast
                setenv DATADIR /scratch/${HOST2}/blast/data/commis/
                breaksw
               case 'Red Hat Linux release 7.3 (Valhalla)'
                echo "spud"
                setenv LD_LIBRARY_PATH .:$ROOTSYS/lib/:/home/blast/blast/lib/spud
                setenv DATADIR /net/data/1/Daq/commis/
           breaksw
        endsw

this

        Now in you macro

                gSystem.Load("libBlast.so");
                TString datadir(gSystem.Getenv("DATADIR"));
                TString data(datadir+"commis-");
         
will work. look in
                        ~blast/commis/phase1/template.C
                        ~blast/commis/phase1/plot_tdc.C
                        ~blast/commis/phase1/plot_adc.C

                                                Tim

-- 
____________________________________________________________________
 Timothy Paul Smith                               Research Scientist
 MIT Bates Lab                                     tim_smith@mit.edu
 21 Manning Rd.                                 tel:  (617) 253-9207
 Middleton, MA 01949                            fax:  (617) 253-9599



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST