TT6 Module Test Analysis Graphical User Interface
The TT6 Module Test Software uses Root for the Graphical User Interface and for Histogramming. The analysis is performed using TT6 Test Beam software from "ApvAnalysis" package of ORCA .


Compilation and Making the Executable
  1. get the tar file tt6-client.tar and extract the sources using
    tar xvf tt6_client.tar


  2. the directory structure of tt6-client are the following
     
                                tt6-client
                                    |
      --------------------------------------------------------------
      |         |         |         |         |         |          |
     anal      gui      xmldb      bin       lib       doc       macro
      
    • anal : codes related to analysis are kept in include and src subdirectories respectively
    • gui : codes related to Graphical User Interface are kept in include and src subdirectories
    • xmldb : codes related to XML file parsing/writing are kept in include and src subdirectories
    • bin : the client executable will be placed here after compilation
    • lib : the shared library will be placed here after compilation
    • doc : the documentation files (in html and normal text format) are stored here
    • macro : the root macros for plotting/analysing histograms of "Root" format are stored here
  3. before starting compilation following variables should be set
    
            setenv DAQ_HOME  daq_path  (path should be the ..../DAQ/Acquisition of the Lyon software)
            setenv ROOTSYS   root_path  (should pint to ROOT version 3.2.7) 
            setenv QWTDIR    qwt_path
            setenv QTDIR     qt_path
            setenv ROOT_DIR ${ROOTSYS}
            setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${ROOTSYS}/lib
            setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
         
  4. after setting the above variables one needs just to do in the top directory tt6-client :
    gmake
    There are two Makefiles in gui and anal directories and a overall Makefile intt6-client directory.



Running the Server and Client and Taking Data
  1. start Servers as usual (following Lyon help)
  2. start the client from the tt6-client directory by typing
    bin/ModuleTestApp.exe
  3. In the client interface individual Tabs dedicated for initialization/data taking and analysis puposes.
    • TSC : initialization of the Tigger and Sequencer Card are done here.
    • FED-FEC-CCU : initialization of the FED, FEC and CCU channels are done here.
    • APV : initialization of APV chips and setting of their register values are done here.
    • HV Control: initialization of HV Channel settings and switching ON/OFF of the individual channels are done here.
    • Control : Data Acquisition parameters are set here and the control of Acquisition are done here.
    • Online : Histograms during Data Acquisition can be viewed in this Tab.
    • Analysis : Histograms already stored in a Root file can be viewed and analysed in this Tab.
    • XY-Control : the control of XY-moving plane is done here.
    • TRHX-Control : the initialization of TRHX chanels and their monitoring are done here.
    The Documentations are available ONLINE in the client itself. One needs to click Online Help button in the GUI.
  4. At the end Exit and Release Channels button is to be clicked to finish the application